mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
arm64/dt: corfuq: bringup volumeup and google key
for corfuq: add volume up key and google key Change-Id: I85de6412540ba68711a4567ff530d32dac7b8b23 Signed-off-by: louhs1 <louhs1@motorola.com> Reviewed-on: https://gerrit.mot.com/2002220 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiaojun Ji <jixj@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
b73054f482
commit
a9b53806c4
1 changed files with 14 additions and 1 deletions
|
|
@ -144,10 +144,23 @@
|
|||
|
||||
|
||||
&soc {
|
||||
gpio_keys {
|
||||
gpio_keys: gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
label = "gpio-keys";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&key_vol_up_default &google_key_default>;
|
||||
|
||||
vol_up {
|
||||
label = "volume_up";
|
||||
gpios = <&pmr735a_gpios 1 GPIO_ACTIVE_LOW>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <KEY_VOLUMEUP>;
|
||||
gpio-key,wakeup;
|
||||
debounce-interval = <15>;
|
||||
linux,can-disable;
|
||||
};
|
||||
|
||||
google_key {
|
||||
label = "google_key";
|
||||
gpios = <&tlmm 11 GPIO_ACTIVE_LOW>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue