[Bugfix][ZK-84] remove 113 from kpd_gpios & makesure mode is right when suspend
Only Configure: No
Affected branch: MR3.0-Merge-v2.0-ZK
Affected module: kernel
Is it affected on both ZXIC and MTK: only MTK
Self-test: Yes
Doc Update: No
Change-Id: I11490aed4c376ddddd4dbb79c6c7f6126bd12d43
diff --git a/src/kernel/linux/v4.19/arch/arm64/boot/dts/mediatek/auto2735evb.dts b/src/kernel/linux/v4.19/arch/arm64/boot/dts/mediatek/auto2735evb.dts
index b392b15..f407b32 100755
--- a/src/kernel/linux/v4.19/arch/arm64/boot/dts/mediatek/auto2735evb.dts
+++ b/src/kernel/linux/v4.19/arch/arm64/boot/dts/mediatek/auto2735evb.dts
@@ -1341,8 +1341,8 @@
<PINMUX_GPIO115__FUNC_KPROW1>,
<PINMUX_GPIO116__FUNC_KPROW2>,/*zhengzhou 0316 ++++*/
<PINMUX_GPIO111__FUNC_KPCOL0>,
- <PINMUX_GPIO112__FUNC_KPCOL1>,
- <PINMUX_GPIO113__FUNC_KPCOL2>;/*zhengzhou 0316 ----*/
+ <PINMUX_GPIO112__FUNC_KPCOL1>;
+ //<PINMUX_GPIO113__FUNC_KPCOL2>;/*zhengzhou 0316 ----*/
mediatek,pull-down-adv = <MTK_PUPD_SET_R1R0_01>;
output-low;
input-schmitt-enable;
@@ -1574,12 +1574,16 @@
codec_pa_113: gpio@113 {
gpio_num = <113>;
actions_suspend_113: suspend@113{
+ gpio_mode = <0>;
+ gpio_dir = <1>;
gpio_value = <0>;
};
};
gnss_power_178: gpio@178 {
gpio_num = <178>;
actions_suspend_178: suspend@178{
+ gpio_mode = <0>;
+ gpio_dir = <1>;
gpio_value = <0>;
};
actions_resume_178: resume@178 {
@@ -1589,6 +1593,8 @@
codec_avdd_200: gpio@200 {
gpio_num = <200>;
actions_suspend_200: suspend@200{
+ gpio_mode = <0>;
+ gpio_dir = <1>;
gpio_value = <0>;
};
actions_resume_200: resume@200 {