diff options
author | Emil Renner Berthing <kernel@esmil.dk> | 2017-10-09 14:40:28 -0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2017-10-14 15:13:17 -0400 |
commit | aef56580e3c5fb389390b47d731d16f9ca32d80c (patch) | |
tree | f3ad39ebbccab1dfdf6586cb1c4070ec7a884a11 | |
parent | 48f192cf84a09cbf38bbb85f3a85494f005ffa55 (diff) |
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: Emil Renner Berthing <kernel@esmil.dk>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts index a3d3cea7dc4f..0384e3121f18 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | |||
@@ -249,6 +249,10 @@ ap_i2c_dig: &i2c2 { | |||
249 | pinctrl-0 = <&trackpad_int_l>; | 249 | pinctrl-0 = <&trackpad_int_l>; |
250 | interrupt-parent = <&gpio1>; | 250 | interrupt-parent = <&gpio1>; |
251 | interrupts = <4 IRQ_TYPE_LEVEL_LOW>; | 251 | interrupts = <4 IRQ_TYPE_LEVEL_LOW>; |
252 | linux,gpio-keymap = <KEY_RESERVED | ||
253 | KEY_RESERVED | ||
254 | KEY_RESERVED | ||
255 | BTN_LEFT>; | ||
252 | wakeup-source; | 256 | wakeup-source; |
253 | }; | 257 | }; |
254 | }; | 258 | }; |