Patchwork [GIT,PULL,00/11] Renesas ARM-based SoC board updates for v3.11

login
register
mail settings
Submitter Simon Horman
Date June 7, 2013, 8:21 a.m.
Message ID <1370593329-27559-1-git-send-email-horms+renesas@verge.net.au>
Download mbox
Permalink /patch/249615/
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-boards-for-v3.11

Comments

Simon Horman - June 7, 2013, 8:21 a.m.
Hi Olof, Hi Arnd,

Please note that this pull request is based on a merge of the
renesas-pinmux-for-v3.11 and renesas-soc-for-v3.11 tags
in the renesas tree in order to provide dependencies.

I have sent pull requests for each of those tags as:
[GIT PULL 000/130] Renesas ARM based SoC pinmux and GPIO update for
[GIT PULL v2 00/27] Renesas ARM-based SoC updates for v3.11


The following changes since commit a961ee1c95cb7309f619e9e68fe8c4fb73bedf6f:

  Merge branches 'pinmux' and 'soc' into boards-base (2013-06-07 14:26:22 +0900)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-boards-for-v3.11

for you to fetch changes up to f3031ff3f2e14f0ced4d45150316df2607b70a27:

  ARM: shmobile: marzen: keep local function as static (2013-06-07 14:26:35 +0900)

----------------------------------------------------------------
Renesas ARM-based SoC board updates for v3.11

Highlights:
bockw: add SDHI0 support
bockw: add dummy regulators for SMSC
bockw: Document CN9 SCIF/RCAN dipswitch selection
lager: support GPIO switches and LEDs
kzm9g: add AS3711 PMIC platform data
marzen: Use INTC External IRQ pin driver for SMSC
ape6evm: Update MP clock parent become EXTAL2 in line with changes
         to r8a73a4 SoC code

----------------------------------------------------------------
Guennadi Liakhovetski (1):
      ARM: shmobile: kzm9g: add AS3711 PMIC platform data

Kuninori Morimoto (6):
      ARM: shmobile: ape6evm: MP clock parent become EXTAL2
      ARM: shmobile: bockw: define FPGA address and rename iomem variable
      ARM: shmobile: bockw: add CN9 SCIF/RCAN selection dipswitch explanation
      ARM: shmobile: bockw: add dummy regulators for SMSC
      ARM: shmobile: bockw: add SDHI0 support
      ARM: shmobile: marzen: keep local function as static

Simon Horman (4):
      ARM: shmobile: kzm9d: resigser smsc911x platform device with id -1
      ARM: shmobile: lager: Add GPIO LEDs
      ARM: shmobile: lager: support GPIO switches
      ARM: shmobile: marzen: Use INTC External IRQ pin driver for SMSC

 arch/arm/mach-shmobile/board-ape6evm.c |  15 +++
 arch/arm/mach-shmobile/board-bockw.c   |  61 ++++++++++-
 arch/arm/mach-shmobile/board-kzm9d.c   |   2 +-
 arch/arm/mach-shmobile/board-kzm9g.c   | 193 ++++++++++++++++++++++++---------
 arch/arm/mach-shmobile/board-lager.c   |  49 +++++++++
 arch/arm/mach-shmobile/board-marzen.c  |   5 +-
 6 files changed, 263 insertions(+), 62 deletions(-)
Sergei Shtylyov - June 7, 2013, 11:39 a.m.
Hello.

On 07-06-2013 12:22, Simon Horman wrote:

> The board has 3 LEDs connected to GPIOs. Add a led-gpio device to
> support them.

> Based on "ARM: shmobile: marzen: Add GPIO LEDs" by Laurent Pinchart.

> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> ---
>   arch/arm/mach-shmobile/board-lager.c | 27 +++++++++++++++++++++++++++
>   1 file changed, 27 insertions(+)

> diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c
> index 6114edd..6a1ba38 100644
> --- a/arch/arm/mach-shmobile/board-lager.c
> +++ b/arch/arm/mach-shmobile/board-lager.c
> @@ -21,13 +21,37 @@
[...]
> +static struct gpio_led_platform_data lager_leds_pdata = {

     Misses __initdata. Too late now, need another patch...

> +	.leds		= lager_leds,
> +	.num_leds	= ARRAY_SIZE(lager_leds),
> +};
> +
>   static const struct pinctrl_map lager_pinctrl_map[] = {
>   	/* SCIF0 (CN19: DEBUG SERIAL0) */
>   	PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.6", "pfc-r8a7790",
> @@ -46,6 +70,9 @@ static void __init lager_add_standard_devices(void)
>   	r8a7790_pinmux_init();
>
>   	r8a7790_add_standard_devices();
> +	platform_device_register_data(&platform_bus, "leds-gpio", -1,
> +				      &lager_leds_pdata,
> +				      sizeof(lager_leds_pdata));
>   }
>
>   static const char *lager_boards_compat_dt[] __initdata = {

WBR, Sergei