lpi4a add wakeup gpio key and usb resume fix

Change-Id: I0479ed6cd676af7ad087968e1bb22f2b04e89337
This commit is contained in:
huaming.jiang
2024-01-02 19:45:37 +08:00
committed by Han Gao/Revy/Rabenda
parent a546653719
commit 1d7ed6a0c6
2 changed files with 44 additions and 5 deletions

View File

@@ -247,7 +247,7 @@
regulator-max-microvolt = <1200000>;
gpio = <&pcal6408ahk_d 2 1>;
enable-active-high;
regulator-always-on;
};
reg_usb_hub_vcc5v: regulator-hub-vcc5v-en {
@@ -257,7 +257,7 @@
regulator-max-microvolt = <5000000>;
gpio = <&pcal6408ahk_d 3 1>;
enable-active-high;
regulator-always-on;
};
wcn_wifi: wireless-wlan {
@@ -282,7 +282,7 @@
gpio-keys {
compatible = "gpio-keys";
pinctrl-0 = <&pinctrl_volume>;
pinctrl-0 = <&pinctrl_volume &pinctrl_sleep>;
pinctrl-names = "default";
key-volumedown {
label = "Volume Down Key";
@@ -296,6 +296,13 @@
debounce-interval = <1>;
gpios = <&gpio2_porta 25 0x1>;
};
key-sleep {
label = "Sleep Wake Key";
wakeup-source;
linux,code = <KEY_SLEEP>;
debounce-interval = <1>;
gpios = <&ao_gpio_porta 2 0x1>;
};
};
aon: aon {
@@ -382,7 +389,7 @@
regulator-max-microvolt = <3300000>;
gpio = <&gpio1_porta 22 1>;
enable-active-high;
regulator-always-on;
};
@@ -1182,6 +1189,11 @@
pinctrl_audiopa30: audiopa30 {
thead,pins = < FM_AUDIO_PA30 LIGHT_PIN_FUNC_0 0x000 >;
};
pinctrl_sleep: sleep_grp {
thead,pins = <
FM_CPU_JTG_TCLK 0x3 0x238
>;
};
};
};