Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18501ee5 authored by Shantanu Jain's avatar Shantanu Jain
Browse files

ARM: dts: msm: enable gpio keys for SDM439 QRD devices



Enable gpio based keys DT node for SDM439 QRD device.
The supported keys is VOLUME UP.

Change-Id: I87c02f31934339d2ba772db2ed59e9284084356e
Signed-off-by: default avatarShantanu Jain <shjain@codeaurora.org>
parent 20f19243
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -63,3 +63,22 @@

	status = "ok";
};

&soc {
	gpio_keys {
		compatible = "gpio-keys";
		input-name = "gpio-keys";
		pinctrl-names = "default";
		pinctrl-0 = <&gpio_key_active>;

		vol_up {
			label = "volume_up";
			gpios = <&tlmm 91 0x1>;
			linux,input-type = <1>;
			linux,code = <115>;
			debounce-interval = <15>;
			linux,can-disable;
			gpio-key,wakeup;
		};
	};
};