From patchwork Mon Oct 9 18:40:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 9994055 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 48EB260223 for ; Mon, 9 Oct 2017 18:41:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D7BE2871A for ; Mon, 9 Oct 2017 18:41:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 322642880A; Mon, 9 Oct 2017 18:41:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, URIBL_BLACK autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9E6062871A for ; Mon, 9 Oct 2017 18:41:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=3o8sAZUKSBYBHyPPrw7T6rRKjwnO70zLl7biJFRRI1U=; b=DwD hvxD8z1LIzkot5vuIrhCRvt41W9g9DhdLAIcctNNpgXi1u6U2Mfk/LSqtgWU/qxs3/QM5ufwWFZBh /jvvcX+OqY36WWbcA3LhW4jNneMMfj421FmCAjNZGSDSxAG2bGSmokQTd/OqQJl7nZkyrCgxhrmlo IdRd2GsLqrHuPWdAIb50h1FN6myumjZu+dMSuh4771d2+r2OPp4JxlHbHGy+NT5rV7MERW+Nc0uF7 6RE3pP8Rasc0Rw2FqqQgHLk5geko5zqCPpnpwb58ZP/wKtJ5VNf8V6sAejXWwsnIc76m89mCnXNYs jl3vRIJujEQ8knSiOQavT+iUx0t+P7Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e1cza-0008Rk-R3; Mon, 09 Oct 2017 18:41:30 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e1czT-0008Jk-En; Mon, 09 Oct 2017 18:41:25 +0000 Received: by mail-wm0-x244.google.com with SMTP id u138so21434539wmu.0; Mon, 09 Oct 2017 11:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=gKtvoic5CF0Z8Ipn8mAw+JzPKFyNYkqRfiScSefHtgo=; b=l9tSyapGvVsPSPLgwUW28eHbQN3D5FsvPhAePBxf91MqyjXEKet/Kwjl+fE+VR87UZ kTgeqnkmS9szGp8V3+1t3Vq7S28Xig+cQZDlIYirAwshKTiUrkv0biLn8NGxzTVurVkL qk4e9mNdB0V8LpMHLw8Gn6MBMZ69p9hR0ToeQV9bq7cm4k7oV25I2hTMhmnP7BbD22d5 So+T/Y2NWxHDU0aufTKqJ+aMZcbbohoIHU0/lPzIzPDZM85elYeQom+xKnr9yaGN0ABY tUGPpZbM8KLA7Sc9xheZi+mT94OaGVoxM+57SQvCjGszPhYR2iXhXkrZPYkoEfQ8ydji RhJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=gKtvoic5CF0Z8Ipn8mAw+JzPKFyNYkqRfiScSefHtgo=; b=j2MxOojBYkw3+TV03NsuE/rp6UtMrP/USmbFHiPQji/IsFs8Z9urKHqHTRma4YwTYZ lqtQu6GlQy5YKoJecHzAI8vkVme90VaT17tbF7YbuAZlf3McFoLrj5VnVQdQedm5oPt9 5AMAGKWXRxjTC8sd1LhVSqdfUDmV7mJQvWj1gJyg40riX4XG7GddHk+qqzi9euwJCNap zl1T1b3S2BakGrnwZHYohkTYQyakf/EzFcjYFDfbwTd8vvuiyZa+hz34+3N4qm0u5Hs6 A771VyUDEUBTPT30t5OOyV0LB0bWtXEGbMiORIJyzTaVV/saZMLqy+64RXIAKPWXjrPg ACNg== X-Gm-Message-State: AMCzsaXIRzJIdUKLLsLApP3sp2ljrkloiltWqbE1YJrq9fbhGp8Yvcqn oTTC/AUbshkBjhzPdyNKRgE= X-Google-Smtp-Source: AOwi7QAM225fsqNGYv0XQVnpJKYMzadai+DdNx5JWjnx1unIkXlzObBp78G1h56Q8qTtSkQ0oP10LQ== X-Received: by 10.80.186.78 with SMTP id 14mr8159825eds.132.1507574461414; Mon, 09 Oct 2017 11:41:01 -0700 (PDT) Received: from localhost.localdomain (2a02-0980-1d22-3001-b978-6461-09ee-70b1.v6.fullrate.ninja. [2a02:980:1d22:3001:b978:6461:9ee:70b1]) by smtp.gmail.com with ESMTPSA id o55sm7727508edc.90.2017.10.09.11.40.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 11:41:00 -0700 (PDT) From: Emil Renner Berthing To: Rob Herring , Mark Rutland Subject: [PATCH] arm64: dts: rockchip: enable touchpad button for rk3399-gru-kevin Date: Mon, 9 Oct 2017 20:40:28 +0200 Message-Id: <20171009184028.11829-1-kernel@esmil.dk> X-Mailer: git-send-email 2.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171009_114123_670140_0FF5A4BB X-CRM114-Status: UNSURE ( 7.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Heiko Stuebner , Brian Norris , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Emil Renner Berthing MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Dmitry Torokhov --- 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 = ; wakeup-source; }; };