From: Simon Horman <horms@verge.net.au>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 07/08] ARM: shmobile: Add Koelsch LED6, LED7 and LED8 support
Date: Wed, 09 Oct 2013 02:13:26 +0000 [thread overview]
Message-ID: <20131009021324.GH15065@verge.net.au> (raw)
In-Reply-To: <20131008033959.20455.18632.sendpatchset@w520>
On Tue, Oct 08, 2013 at 12:39:59PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> Enable Koelsch LEDs for GPIO output testing purpose.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
Hi Magnus,
this patch does not seem to apply on top of renesas-devel-20131004.
Could you please rebase it and the following on top of
renesas-devel-20131004 or the latest devel tag?
Thanks
> ---
>
> arch/arm/mach-shmobile/board-koelsch.c | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> --- 0009/arch/arm/mach-shmobile/board-koelsch.c
> +++ work/arch/arm/mach-shmobile/board-koelsch.c 2013-10-07 13:48:52.000000000 +0900
> @@ -20,6 +20,8 @@
> */
>
> #include <linux/kernel.h>
> +#include <linux/leds.h>
> +#include <linux/platform_data/gpio-rcar.h>
> #include <linux/platform_device.h>
> #include <mach/common.h>
> #include <mach/r8a7791.h>
> @@ -27,11 +29,36 @@
> #include <asm/mach-types.h>
> #include <asm/mach/arch.h>
>
> +/* LEDS */
> +static struct gpio_led koelsch_leds[] = {
> + {
> + .name = "led8",
> + .gpio = RCAR_GP_PIN(2, 21),
> + .default_state = LEDS_GPIO_DEFSTATE_ON,
> + }, {
> + .name = "led7",
> + .gpio = RCAR_GP_PIN(2, 20),
> + .default_state = LEDS_GPIO_DEFSTATE_ON,
> + }, {
> + .name = "led6",
> + .gpio = RCAR_GP_PIN(2, 19),
> + .default_state = LEDS_GPIO_DEFSTATE_ON,
> + },
> +};
> +
> +static const struct gpio_led_platform_data koelsch_leds_pdata __initconst = {
> + .leds = koelsch_leds,
> + .num_leds = ARRAY_SIZE(koelsch_leds),
> +};
> +
> static void __init koelsch_add_standard_devices(void)
> {
> r8a7791_clock_init();
> r8a7791_pinmux_init();
> r8a7791_add_standard_devices();
> + platform_device_register_data(&platform_bus, "leds-gpio", -1,
> + &koelsch_leds_pdata,
> + sizeof(koelsch_leds_pdata));
> }
>
> static const char * const koelsch_boards_compat_dt[] __initconst = {
> --
> 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
>
next prev parent reply other threads:[~2013-10-09 2:13 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-08 3:38 [PATCH 00/08] ARM: shmobile: r8a7791 and Koelsch GPIO/PFC support Magnus Damm
2013-10-08 3:39 ` [PATCH 01/08] ARM: shmobile: r8a7791 PFC device tree node Magnus Damm
2013-10-09 2:02 ` Simon Horman
2013-10-08 3:39 ` [PATCH 02/08] ARM: shmobile: r8a7791 PFC platform device support Magnus Damm
2013-10-09 2:02 ` Simon Horman
2013-10-08 3:39 ` [PATCH 03/08] ARM: shmobile: Select GPIO in case of the r8a7791 SoC Magnus Damm
2013-10-09 2:02 ` Simon Horman
2013-10-08 3:39 ` [PATCH 04/08] ARM: shmobile: r8a7791 GPIO device tree node Magnus Damm
2013-10-09 2:03 ` Simon Horman
2013-10-08 3:39 ` [PATCH 05/08] ARM: shmobile: r8a7791 GPIO platform device support Magnus Damm
2013-10-09 2:03 ` Simon Horman
2013-10-09 2:05 ` Simon Horman
2013-10-08 3:39 ` [PATCH 06/08] ARM: shmobile: Enable PFC/GPIO on the Koelsch board Magnus Damm
2013-10-09 2:32 ` Simon Horman
2013-10-08 3:39 ` [PATCH 07/08] ARM: shmobile: Add Koelsch LED6, LED7 and LED8 support Magnus Damm
2013-10-09 2:13 ` Simon Horman [this message]
2013-10-09 2:32 ` Simon Horman
2013-10-08 3:40 ` [PATCH 08/08] ARM: shmobile: Add Koelsch SW2 support Magnus Damm
2013-10-09 2:33 ` 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=20131009021324.GH15065@verge.net.au \
--to=horms@verge.net.au \
--cc=linux-arm-kernel@lists.infradead.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).