ARM: dts: msm: add camera focus and snapshot device nodes for SDM630
MSM GPIO 64 is connected to camera focus button and MSM GPIO 113 is connected to camera snapshot button. Add the device nodes for these buttons for SDM630 devices. Change-Id: I7f58f3ed6e7cfa49f03ebea23cff4eae417a071b Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
This commit is contained in:
parent
2aa89ab3ff
commit
b9c5295a4d
1 changed files with 27 additions and 0 deletions
|
@ -1882,3 +1882,30 @@
|
|||
&blsp2_uart1_hs {
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
&soc {
|
||||
gpio_keys {
|
||||
status = "okay";
|
||||
compatible = "gpio-keys";
|
||||
input-name = "gpio-keys";
|
||||
pinctrl-names = "tlmm_gpio_key_active","tlmm_gpio_key_suspend";
|
||||
pinctrl-0 = <&gpio_key_active>;
|
||||
pinctrl-1 = <&gpio_key_suspend>;
|
||||
|
||||
camera_focus {
|
||||
label = "camera_focus";
|
||||
gpios = <&tlmm 64 0x1>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <0x210>;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
|
||||
camera_snapshot {
|
||||
label = "camera_snapshot";
|
||||
gpios = <&tlmm 113 0x1>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <0x2fe>;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue