summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepti Deshatty <deepti.deshatty@intel.corp-partner.google.com>2022-11-10 16:07:10 +0530
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-15 06:33:34 +0000
commit63ec16038cd533f3d7cb8d889a50bd47a682bf55 (patch)
treee7a7abab168e6e5a91b24376600d3b8d4a9a84a1
parentdee200cbf6ec74e3723aca93816b0f82147d50fd (diff)
downloadchrome-ec-63ec16038cd533f3d7cb8d889a50bd47a682bf55.tar.gz
craask: resolve power leakage following nivviks.
Resolve power leakage following nivviks. CL : 3788018 BUG=b:258613461 TEST=zmake build craask BRANCH=none Change-Id: I41bef1259990985820db6543fa342144f912d174 Signed-off-by: Deepti Deshatty <deepti.deshatty@intel.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4020016 Reviewed-by: Andrew McRae <amcrae@google.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Reviewed-by: Poornima Tom <poornima.tom@intel.corp-partner.google.com>
-rw-r--r--zephyr/program/nissa/craask/overlay.dtsi35
1 files changed, 35 insertions, 0 deletions
diff --git a/zephyr/program/nissa/craask/overlay.dtsi b/zephyr/program/nissa/craask/overlay.dtsi
index 3aa95ea7fc..cbfda0263e 100644
--- a/zephyr/program/nissa/craask/overlay.dtsi
+++ b/zephyr/program/nissa/craask/overlay.dtsi
@@ -251,6 +251,31 @@
compatible = "cros-ec,kblight-pwm";
pwms = <&pwm6 6 PWM_HZ(2400) PWM_POLARITY_NORMAL>;
};
+
+ /*
+ * Declare unused GPIOs so that they are shut down
+ * and use minimal power
+ */
+ unused-pins {
+ compatible = "unused-gpios";
+ unused-gpios =
+ <&gpio3 2 0>,
+ <&gpio3 3 0>,
+ <&gpio3 5 0>,
+ <&gpio3 6 0>,
+ <&gpio5 7 0>,
+ <&gpio6 0 0>,
+ <&gpio6 3 0>,
+ <&gpio6 6 0>,
+ <&gpio7 3 0>,
+ <&gpio8 3 0>,
+ <&gpio8 6 0>,
+ <&gpiob 1 0>,
+ <&gpiob 7 0>,
+ <&gpioc 7 0>,
+ <&gpiof 2 0>,
+ <&gpiof 3 0>;
+ };
};
&thermistor_3V3_51K1_47K_4050B {
@@ -352,3 +377,13 @@
pinctrl-0 = <&espi_lpc_gp46_47_51_52_53_54_55_57>;
pinctrl-names = "default";
};
+
+/*
+ * Declare GPIOs that have leakage current caused by board issues here. NPCX ec
+ * will disable their input buffers before entering deep sleep and restore them
+ * after waking up automatically for better power consumption.
+ */
+&power_leakage_io {
+ leak-gpios = <&gpioa 4 0
+ &gpiof 1 0>;
+};