summaryrefslogtreecommitdiff
path: root/qcom/lito-atp.dtsi
diff options
context:
space:
mode:
authorUmang Agrawal <uagrawal@qti.qualcomm.com>2019-05-29 12:16:01 +0530
committerUmang Agrawal <uagrawal@qti.qualcomm.com>2019-05-29 18:31:38 +0530
commit327678ddbd3975c2cf9273700f0b5a68dd5fd318 (patch)
tree3eb83f8e31c8cced381620814d7a18cd94bf31d9 /qcom/lito-atp.dtsi
parentba3f0df023b5f73b1a14934075d4f25cb8521e27 (diff)
downloaddevicetree-327678ddbd3975c2cf9273700f0b5a68dd5fd318.tar.gz
ARM: dts: qcom: Add volume up key config for lito
Configure the volume up key GPIO and add the support of volume up funcionality to lito target. Change-Id: I072bf5ed35dcd6bc75ecdc20fcef50b36f4967cd
Diffstat (limited to 'qcom/lito-atp.dtsi')
-rw-r--r--qcom/lito-atp.dtsi19
1 files changed, 18 insertions, 1 deletions
diff --git a/qcom/lito-atp.dtsi b/qcom/lito-atp.dtsi
index 784b0b0e..2b222a49 100644
--- a/qcom/lito-atp.dtsi
+++ b/qcom/lito-atp.dtsi
@@ -1,9 +1,26 @@
+#include <dt-bindings/gpio/gpio.h>
#include "lito-audio-overlay.dtsi"
#include "lito-pmic-overlay.dtsi"
#include "lito-sde-display.dtsi"
&soc {
-
+ gpio_keys {
+ compatible = "gpio-keys";
+ label = "gpio-keys";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&key_vol_up_default>;
+
+ vol_up {
+ label = "volume_up";
+ gpios = <&pm8150l_gpios 5 GPIO_ACTIVE_LOW>;
+ linux,input-type = <1>;
+ linux,code = <KEY_VOLUMEUP>;
+ gpio-key,wakeup;
+ debounce-interval = <15>;
+ linux,can-disable;
+ };
+ };
};
&pm8150a_amoled {