mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 03:43:03 +00:00
Merge "ARM: dts: msm: enable GPIO buttons for MSM8992 CDP and MTP"
This commit is contained in:
commit
d9068dbf4a
|
@ -87,6 +87,30 @@
|
|||
};
|
||||
|
||||
&pm8994_gpios {
|
||||
gpio@c200 { /* GPIO 3 */
|
||||
qcom,mode = <0>; /* Digital in */
|
||||
qcom,pull = <0>; /* PULL up 30uA */
|
||||
qcom,vin-sel = <2>; /* Logical 1 voltage value 1.8v */
|
||||
qcom,src-sel = <0>; /* Constant */
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio@c300 { /* GPIO 4 */
|
||||
qcom,mode = <0>; /* Digital in */
|
||||
qcom,pull = <0>; /* PULL up 30uA */
|
||||
qcom,vin-sel = <2>; /* Logical 1 voltage value 1.8v */
|
||||
qcom,src-sel = <0>; /* Constant */
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio@c400 { /* GPIO 5 */
|
||||
qcom,mode = <0>; /* Digital in */
|
||||
qcom,pull = <0>; /* PULL up 30uA */
|
||||
qcom,vin-sel = <2>; /* Logical 1 voltage value 1.8v */
|
||||
qcom,src-sel = <0>; /* Constant */
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio@c700 { /* GPIO 8 */
|
||||
qcom,mode = <0>; /* Digital in */
|
||||
qcom,pull = <0>; /* PULL up 30uA */
|
||||
|
@ -140,4 +164,36 @@
|
|||
qcom,panel-maxy = <2703>;
|
||||
qcom,key-codes = <158 139 102 217>;
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
input-name = "gpio-keys";
|
||||
|
||||
vol_up {
|
||||
label = "volume_up";
|
||||
gpios = <&pm8994_gpios 3 0x1>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <115>;
|
||||
gpio-key,wakeup;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
|
||||
cam_snapshot {
|
||||
label = "cam_snapshot";
|
||||
gpios = <&pm8994_gpios 4 0x1>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <766>;
|
||||
gpio-key,wakeup;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
|
||||
cam_focus {
|
||||
label = "cam_focus";
|
||||
gpios = <&pm8994_gpios 5 0x1>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <528>;
|
||||
gpio-key,wakeup;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -96,6 +96,30 @@
|
|||
};
|
||||
|
||||
&pm8994_gpios {
|
||||
gpio@c200 { /* GPIO 3 */
|
||||
qcom,mode = <0>; /* Digital in */
|
||||
qcom,pull = <0>; /* PULL up 30uA */
|
||||
qcom,vin-sel = <2>; /* Logical 1 voltage value 1.8v */
|
||||
qcom,src-sel = <0>; /* Constant */
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio@c300 { /* GPIO 4 */
|
||||
qcom,mode = <0>; /* Digital in */
|
||||
qcom,pull = <0>; /* PULL up 30uA */
|
||||
qcom,vin-sel = <2>; /* Logical 1 voltage value 1.8v */
|
||||
qcom,src-sel = <0>; /* Constant */
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio@c400 { /* GPIO 5 */
|
||||
qcom,mode = <0>; /* Digital in */
|
||||
qcom,pull = <0>; /* PULL up 30uA */
|
||||
qcom,vin-sel = <2>; /* Logical 1 voltage value 1.8v */
|
||||
qcom,src-sel = <0>; /* Constant */
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio@c700 { /* GPIO 8 */
|
||||
qcom,mode = <0>; /* Digital in */
|
||||
qcom,pull = <0>; /* PULL up 30uA */
|
||||
|
@ -149,4 +173,36 @@
|
|||
qcom,panel-maxy = <2703>;
|
||||
qcom,key-codes = <158 139 102 217>;
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
input-name = "gpio-keys";
|
||||
|
||||
vol_up {
|
||||
label = "volume_up";
|
||||
gpios = <&pm8994_gpios 3 0x1>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <115>;
|
||||
gpio-key,wakeup;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
|
||||
cam_snapshot {
|
||||
label = "cam_snapshot";
|
||||
gpios = <&pm8994_gpios 4 0x1>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <766>;
|
||||
gpio-key,wakeup;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
|
||||
cam_focus {
|
||||
label = "cam_focus";
|
||||
gpios = <&pm8994_gpios 5 0x1>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <528>;
|
||||
gpio-key,wakeup;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue