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

Commit aef56580 authored by Emil Renner Berthing's avatar Emil Renner Berthing Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: enable touchpad button for rk3399-gru-kevin



Adding the linux,gpio-keymap entry also has
the side-effect of making the driver register
the touchpad as a touchpad rather than another
touchscreen.

The index for BTN_LEFT was found by trial and error.

Signed-off-by: default avatarEmil Renner Berthing <kernel@esmil.dk>
Acked-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 48f192cf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -249,6 +249,10 @@ ap_i2c_dig: &i2c2 {
		pinctrl-0 = <&trackpad_int_l>;
		interrupt-parent = <&gpio1>;
		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
		linux,gpio-keymap = <KEY_RESERVED
				     KEY_RESERVED
				     KEY_RESERVED
				     BTN_LEFT>;
		wakeup-source;
	};
};