Merge "ARM: dts: msm: add new GPIO key configuration"

This commit is contained in:
qctecmdr
2022-08-21 21:42:01 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 46 additions and 2 deletions

View File

@@ -9,7 +9,29 @@
label = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&key_vol_up_default>;
pinctrl-0 = <&key_vol_up_default
&key_confirm_default
&key_back_default>;
confirm_key {
label = "confirm_key";
gpios = <&pm8550b_gpios 2 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <KEY_OK>;
gpio-key,wakeup;
debounce-interval = <15>;
linux,can-disable;
};
back_key {
label = "back_key";
gpios = <&pm8550b_gpios 6 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <KEY_BACK>;
gpio-key,wakeup;
debounce-interval = <15>;
linux,can-disable;
};
vol_up {
label = "volume_up";

View File

@@ -55,7 +55,29 @@
label = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&key_vol_up_default>;
pinctrl-0 = <&key_vol_up_default
&key_confirm_default
&key_back_default>;
confirm_key {
label = "confirm_key";
gpios = <&pm8550b_gpios 2 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <KEY_OK>;
gpio-key,wakeup;
debounce-interval = <15>;
linux,can-disable;
};
back_key {
label = "back_key";
gpios = <&pm8550b_gpios 6 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <KEY_BACK>;
gpio-key,wakeup;
debounce-interval = <15>;
linux,can-disable;
};
vol_up {
label = "volume_up";