From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756384AbdJJJeB (ORCPT ); Tue, 10 Oct 2017 05:34:01 -0400 Received: from gloria.sntech.de ([95.129.55.99]:45880 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756210AbdJJJdz (ORCPT ); Tue, 10 Oct 2017 05:33:55 -0400 From: Heiko Stuebner To: Emil Renner Berthing , Doug Anderson Cc: Rob Herring , Mark Rutland , Brian Norris , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: rockchip: enable touchpad button for rk3399-gru-kevin Date: Tue, 10 Oct 2017 11:33:49 +0200 Message-ID: <4174027.Z5MyPRUDcj@phil> User-Agent: KMail/5.2.3 (Linux/4.11.0-1-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: <20171009184028.11829-1-kernel@esmil.dk> References: <20171009184028.11829-1-kernel@esmil.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Emil, Am Montag, 9. Oktober 2017, 20:40:28 CEST schrieb Emil Renner Berthing: > 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 looks good to me. I'll just give the ChromeOS people a chance to respond before applying [maybe they can even tell what the other keys are :-) ] Heiko > --- > arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts > index 5c8621766908..1c58d12551f5 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts > @@ -278,6 +278,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 > + BTN_LEFT>; > wakeup-source; > }; > }; >