mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
dts: add google key configuration for cypfr
Adding google key configurations for product cypfr. Change-Id: I6b429275c778815704de814c9dc713737aef4263 Reviewed-on: https://gerrit.mot.com/2067354 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
0c237dff9a
commit
c20bb702d3
1 changed files with 24 additions and 1 deletions
|
|
@ -50,6 +50,19 @@
|
|||
};
|
||||
};
|
||||
|
||||
google_key_default: google_key_default {
|
||||
mux {
|
||||
pins = "gpio11";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio11";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
nfc {
|
||||
nfc_int_active: nfc_int_active {
|
||||
/* active state */
|
||||
|
|
@ -310,7 +323,7 @@
|
|||
label = "gpio-keys";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&key_vol_up_default>;
|
||||
pinctrl-0 = <&key_vol_up_default &google_key_default>;
|
||||
|
||||
vol_up {
|
||||
label = "volume_up";
|
||||
|
|
@ -321,6 +334,16 @@
|
|||
debounce-interval = <15>;
|
||||
linux,can-disable;
|
||||
};
|
||||
|
||||
google_key {
|
||||
label = "google_key";
|
||||
gpios = <&tlmm 11 GPIO_ACTIVE_LOW>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <KEY_SEARCH>;
|
||||
gpio-key,wakeup;
|
||||
debounce-interval = <15>;
|
||||
linux,can-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue