summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/treeya/board.c5
-rw-r--r--board/treeya/board.h14
2 files changed, 19 insertions, 0 deletions
diff --git a/board/treeya/board.c b/board/treeya/board.c
index eb6985b7e0..58ae880a89 100644
--- a/board/treeya/board.c
+++ b/board/treeya/board.c
@@ -197,3 +197,8 @@ void board_bmi160_lsm6dsm_interrupt(enum gpio_signal signal)
}
#endif
+
+void board_hibernate_late(void)
+{
+ NPCX_KBSINPU = 0x0A;
+}
diff --git a/board/treeya/board.h b/board/treeya/board.h
index 4bda4cb64c..d3809b3fda 100644
--- a/board/treeya/board.h
+++ b/board/treeya/board.h
@@ -12,6 +12,20 @@
#include "baseboard.h"
+/* b/203442963
+ * It's workaround to reduce keyboard's "Silver Migration".
+ * From keyboard vendor's feedback, there are two factors to cause
+ * "Silver Migration".
+ * 1. A voltage potential between trace.
+ * 2. The presence of an electrolyte , such as moisture.
+ * The reason cause voltage potential between KSIxx trace is EC enter ec
+ * hibernate PSL and turn EC's VCC1 power off. Besides KSI2, the other
+ * KSIxx will be turn off. KSI2 is powered by H1.
+ * To avoid voltage potential is keep KSIxx on. That means not to enter
+ * ec hibernate PSL.
+ */
+#undef CONFIG_HIBERNATE_PSL
+
/*
* By default, enable all console messages excepted HC, ACPI and event:
* The sensor stack is generating a lot of activity.