linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/2] ARM: mach-shmobile: ap4evb: Add LED support
Date: Mon, 22 Feb 2010 10:22:50 +0000	[thread overview]
Message-ID: <20100222102250.GA4356@linux-sh.org> (raw)
In-Reply-To: <u8wal629z.wl%morimoto.kuninori@renesas.com>

On Mon, Feb 22, 2010 at 06:20:39PM +0900, Kuninori Morimoto wrote:
> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> ---
>  arch/arm/mach-shmobile/board-ap4evb.c |   14 ++++++++++++++
>  1 files changed, 14 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
> index 41bc248..4714cad 100644
> --- a/arch/arm/mach-shmobile/board-ap4evb.c
> +++ b/arch/arm/mach-shmobile/board-ap4evb.c
> @@ -197,6 +197,20 @@ static void __init ap4evb_init(void)
>  	gpio_request(GPIO_FN_CS5A,	NULL);
>  	gpio_request(GPIO_FN_IRQ6_39,	NULL);
>  
> +	/* enable LED 1 - 4 */
> +	gpio_request(GPIO_PORT185, NULL);

[snip]

On Mon, Feb 22, 2010 at 06:30:12PM +0900, Kuninori Morimoto wrote:
> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> ---
>  arch/arm/mach-shmobile/board-ap4evb.c |   14 ++++++++++++++
>  1 files changed, 14 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
> index 4714cad..d9a46d0 100644
> --- a/arch/arm/mach-shmobile/board-ap4evb.c
> +++ b/arch/arm/mach-shmobile/board-ap4evb.c
> @@ -211,6 +211,20 @@ static void __init ap4evb_init(void)
>  	gpio_export(GPIO_PORT187, 0);
>  	gpio_export(GPIO_PORT188, 0);
>  
> +	/* enable Debug switch (S6) */
> +	gpio_request(GPIO_PORT32, NULL);

[snip]

Both applied, thanks.

  reply	other threads:[~2010-02-22 10:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-22  9:20 [PATCH 1/2] ARM: mach-shmobile: ap4evb: Add LED support Kuninori Morimoto
2010-02-22 10:22 ` Paul Mundt [this message]
2011-02-15  5:03 ` [PATCH 1/2] ARM: mach-shmobile: ap4evb: fixup memory initialize for Kuninori Morimoto
2011-02-17  0:43 ` [PATCH 1/2] ARM: mach-shmobile: ap4evb: fixup memory 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=20100222102250.GA4356@linux-sh.org \
    --to=lethal@linux-sh.org \
    --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;
as well as URLs for NNTP newsgroup(s).