commit | 1cc73074d0540caa8dd7ea9501afefea2e410791 | [log] [tgz] |
---|---|---|
author | Mulin Chao <mlchao@nuvoton.com> | Thu Apr 22 01:45:23 2021 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Apr 28 07:06:41 2021 -0400 |
tree | 90aebeb9f8da374062f2d1df9ee34b476ba3065f | |
parent | 4e6cb116f87bb2ff0ece7d8f968adac4dd2c9b3d [diff] |
driver: gpio: npcx: fixed leakage current in npcx7 series. It was found that npcx7 series' GPIOs which support low-voltage power supply, there is an excessive power consumption if they are selected to low-voltage mode and their input voltage is 1.8V. To avoid this excessive power consumption, this CL suspends the connection between IO pads and hardware instances before ec enters deep sleep mode. Then restore them after waking up. Signed-off-by: Mulin Chao <mlchao@nuvoton.com>