From mboxrd@z Thu Jan 1 00:00:00 1970 From: sourav Subject: Re: [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys. Date: Mon, 13 Jan 2014 22:13:13 +0530 Message-ID: <52D417A1.9060007@ti.com> References: <1387456421-21379-1-git-send-email-sourav.poddar@ti.com> <1387456421-21379-10-git-send-email-sourav.poddar@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from bear.ext.ti.com ([192.94.94.41]:44565 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754351AbaAMQng (ORCPT ); Mon, 13 Jan 2014 11:43:36 -0500 In-Reply-To: <1387456421-21379-10-git-send-email-sourav.poddar@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Sourav Poddar , bcousson@baylibre.com Cc: balbi@ti.com, devicetree@vger.kernel.org, tony@atomide.com, linux-omap@vger.kernel.org, mark.rutland@arm.com, lokeshvutla@ti.com Benoit, On Thursday 19 December 2013 06:03 PM, Sourav Poddar wrote: > Add gpio keys node for am43x gp evm. > > Signed-off-by: Sourav Poddar > --- > arch/arm/boot/dts/am437x-gp-evm.dts | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts > index 0dc248d..4eb72b8 100644 > --- a/arch/arm/boot/dts/am437x-gp-evm.dts > +++ b/arch/arm/boot/dts/am437x-gp-evm.dts > @@ -13,6 +13,7 @@ > #include "am4372.dtsi" > #include > #include > +#include > > / { > model = "TI AM437x GP EVM"; > @@ -24,6 +25,26 @@ > brightness-levels =<0 51 53 56 62 75 101 152 255>; > default-brightness-level =<8>; > }; > + > + matrix_keypad: matrix_keypad@0 { > + compatible = "gpio-matrix-keypad"; > + debounce-delay-ms =<5>; > + col-scan-delay-us =<2>; > + > + row-gpios =<&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */ > + &gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */ > + &gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */ > + > + col-gpios =<&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */ > + &gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */ > + > + linux,keymap =<0x00000201 /* P1 */ > + 0x00010202 /* P2 */ > + 0x01000067 /* UP */ > + 0x0101006a /* RIGHT */ > + 0x02000069 /* LEFT */ > + 0x0201006c>; /* DOWN */ > + }; > }; > > &am43xx_pinmux { ping on this series, this series is lying for a while. This series is based on your for_3.14 branch.