SUPERH platform development
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 2/2] ARM: shmobile: kzm9g-reference: Add GPIO keys to DT
Date: Thu, 28 Nov 2013 07:52:36 +0000	[thread overview]
Message-ID: <20131128075236.GK24146@verge.net.au> (raw)
In-Reply-To: <1385428879-26849-3-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

On Tue, Nov 26, 2013 at 02:21:19AM +0100, Laurent Pinchart wrote:
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
>  arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 46 ++++++++++++++++++++++++++++
>  1 file changed, 46 insertions(+)

Thanks, I have queued this up.

> 
> diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
> index d58877d..5bb593d 100644
> --- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
> +++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
> @@ -106,6 +106,52 @@
>  			gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
>  		};
>  	};
> +
> +	gpio-keys {
> +		compatible = "gpio-keys";
> +
> +		back-key {
> +			gpios = <&pcf8575 8 GPIO_ACTIVE_LOW>;
> +			linux,code = <158>;
> +			label = "SW3";
> +		};
> +
> +		right-key {
> +			gpios = <&pcf8575 9 GPIO_ACTIVE_LOW>;
> +			linux,code = <106>;
> +			label = "SW2-R";
> +		};
> +
> +		left-key {
> +			gpios = <&pcf8575 10 GPIO_ACTIVE_LOW>;
> +			linux,code = <105>;
> +			label = "SW2-L";
> +		};
> +
> +		enter-key {
> +			gpios = <&pcf8575 11 GPIO_ACTIVE_LOW>;
> +			linux,code = <28>;
> +			label = "SW2-P";
> +		};
> +
> +		up-key {
> +			gpios = <&pcf8575 12 GPIO_ACTIVE_LOW>;
> +			linux,code = <103>;
> +			label = "SW2-U";
> +		};
> +
> +		down-key {
> +			gpios = <&pcf8575 13 GPIO_ACTIVE_LOW>;
> +			linux,code = <108>;
> +			label = "SW2-D";
> +		};
> +
> +		home-key {
> +			gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
> +			linux,code = <102>;
> +			label = "SW1";
> +		};
> +	};
>  };
>  
>  &i2c0 {
> -- 
> 1.8.3.2
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

  reply	other threads:[~2013-11-28  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26  1:21 [PATCH 2/2] ARM: shmobile: kzm9g-reference: Add GPIO keys to DT Laurent Pinchart
2013-11-28  7:52 ` Simon Horman [this message]
2014-11-06 12:49 ` [PATCH 2/2] ARM: shmobile: kzm9g-reference dts: Add labels for the LEDs Geert Uytterhoeven
2014-11-10  1:12 ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131128075236.GK24146@verge.net.au \
    --to=horms@verge.net.au \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox