mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
dts: add google key function at gpio11
For CPYFG's designation, google key is defined at gpio11. So we wil add it as gpio-key. Change-Id: I7b84423c6a4ab0b1611ad2e6adb2cbb2dd4d7007 Reviewed-on: https://gerrit.mot.com/1951662 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiaofeng Wang <wangxf14@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
40a6f7a579
commit
caf13c9afa
1 changed files with 27 additions and 0 deletions
|
|
@ -25,6 +25,19 @@
|
|||
};
|
||||
|
||||
&tlmm {
|
||||
google_key_default: google_key_default {
|
||||
mux {
|
||||
pins = "gpio11";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio11";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
cam_pmic_en_default: cam_pmic_en_default {
|
||||
mux {
|
||||
pins = "gpio38";
|
||||
|
|
@ -67,6 +80,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
&gpio_keys {
|
||||
pinctrl-0 = <&key_vol_up_default &google_key_default>;
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
&qupv3_se10_i2c {
|
||||
status = "ok"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue