mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Merge "ARM: dts: msm: add new GPIO key configuration"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
c010155c9b
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user