Re: [PATCH v3 4/7] ARM: shmobile: r8a7740: add MMCIF DMA definitions

2013-07-02 Thread Simon Horman
On Wed, Jun 26, 2013 at 04:40:53PM +0200, Guennadi Liakhovetski wrote: Add DMA channel slave IDs and configuration entries for the r8a7740 MMCIF controller. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- arch/arm/mach-shmobile/include/mach/r8a7740.h |2 ++

Re: [PATCH v3 0/7] ARM: shmobile: shdma DT on sh73a0 and r8a7740

2013-06-26 Thread Simon Horman
On Wed, Jun 26, 2013 at 04:40:49PM +0200, Guennadi Liakhovetski wrote: Recently shdma acquired DT support with a possibility to place multiple compatible DMAC instances under a common DMA multiplexer DT node. This is used to provide DMA support on r8a7740 / armadillo800eva. However there

Re: [PATCH v2] ARM: shmobile: irqpin: add a DT property to enable masking on parent

2013-06-19 Thread Simon Horman
On Wed, Jun 19, 2013 at 07:53:09AM +0200, Guennadi Liakhovetski wrote: To disable spurious interrupts, that get triggered on certain hardware, the irqpin driver masks them on the parent interrupt controller. To specify such broken devices a .control_parent parameter can be provided in the

Re: [PATCH 1/2] ARM: shmobile: irqpin: add a DT property to enable masking on parent

2013-06-18 Thread Simon Horman
On Wed, Jun 12, 2013 at 05:38:50PM +0900, Simon Horman wrote: On Tue, Jun 11, 2013 at 06:37:24PM +0900, Magnus Damm wrote: On Fri, May 24, 2013 at 6:13 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: To disable spurious interrupts, that get triggered on certain hardware

Re: [PATCH v6 02/18] sh-pfc: Add DT support

2013-06-17 Thread Simon Horman
Hi Laurent, As 3.10-rc6 has been released it is probably now too late for me to take this series through the renesas tree for v3.11. I am happy for Linus to take it if that is what he would like to do. Otherwise I think we need to discuss how this should be handled for v3.12. On Mon, Jun 17,

Re: [PATCH 0/1] gpio-rcar: Add DT support

2013-06-16 Thread Simon Horman
On Sat, Jun 15, 2013 at 01:31:08PM +0200, Laurent Pinchart wrote: Hi Olof, On Friday 14 June 2013 17:47:51 Olof Johansson wrote: On Thu, Jun 13, 2013 at 04:00:26PM +0900, Simon Horman wrote: From: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com Add DT bindings

[PATCH 0/1] gpio-rcar: Add DT support

2013-06-13 Thread Simon Horman
...@ideasonboard.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- .../devicetree/bindings/gpio/renesas,gpio-rcar.txt | 52 + drivers/gpio/gpio-rcar.c | 66 ++ 2 files changed, 108 insertions(+), 10 deletions(-) create mode 100644

Re: [PATCH 1/2] ARM: shmobile: irqpin: add a DT property to enable masking on parent

2013-06-12 Thread Simon Horman
On Tue, Jun 11, 2013 at 06:37:24PM +0900, Magnus Damm wrote: On Fri, May 24, 2013 at 6:13 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: To disable spurious interrupts, that get triggered on certain hardware, the irqpin driver masks them on the parent interrupt controller. To specify

Re: [RFC/PATCH v2 0/2] R-Car GPIO DT bindings

2013-06-12 Thread Simon Horman
On Wed, Jun 12, 2013 at 10:51:15AM +0900, Simon Horman wrote: On Wed, Jun 12, 2013 at 12:14:49AM +0200, Laurent Pinchart wrote: Hi Simon, On Saturday 25 May 2013 10:24:34 Simon Horman wrote: On Tue, May 21, 2013 at 01:40:04PM +0200, Laurent Pinchart wrote: Hello, Here's

Re: [RFC/PATCH v2 0/2] R-Car GPIO DT bindings

2013-06-11 Thread Simon Horman
On Wed, Jun 12, 2013 at 12:14:49AM +0200, Laurent Pinchart wrote: Hi Simon, On Saturday 25 May 2013 10:24:34 Simon Horman wrote: On Tue, May 21, 2013 at 01:40:04PM +0200, Laurent Pinchart wrote: Hello, Here's the second version of the gpio-rcar driver DT bindings. I've tested

Re: [PATCH 1/2] ARM: shmobile: irqpin: add a DT property to enable masking on parent

2013-05-24 Thread Simon Horman
On Fri, May 24, 2013 at 11:13:03AM +0200, Guennadi Liakhovetski wrote: To disable spurious interrupts, that get triggered on certain hardware, the irqpin driver masks them on the parent interrupt controller. To specify such broken devices a .control_parent parameter can be provided in the

Re: [RFC/PATCH v2 0/2] R-Car GPIO DT bindings

2013-05-24 Thread Simon Horman
On Tue, May 21, 2013 at 01:40:04PM +0200, Laurent Pinchart wrote: Hello, Here's the second version of the gpio-rcar driver DT bindings. I've tested the patches on the Marzen board (r8a7779). Once again I'd appreciate feedback on the DT bindings. I'm particularly wondering whether getting

Re: [RFC/PATCH v2 1/2] gpio-rcar: Make the platform data gpio_base field signed

2013-05-22 Thread Simon Horman
On Tue, May 21, 2013 at 01:40:05PM +0200, Laurent Pinchart wrote: The gpio_base field is used to specify the desired GPIO base for the GPIO controller. The GPIO core can automatically allocate a GPIO number range when the base is set to -1. To make this possible, make the field signed.

Re: [RFC/PATCH 1/2] gpio-rcar: Make the platform data gpio_base field signed

2013-05-14 Thread Simon Horman
On Fri, May 10, 2013 at 04:48:36PM +0200, Laurent Pinchart wrote: The gpio_base field is used to specify the desired GPIO base for the GPIO controller. The GPIO core can automatically allocate a GPIO number range when the base is set to -1. To make this possible, make the field signed.

Re: [RFC PATCH v3 14/17] ARM: dts: sh7372: cpus/cpu nodes dts updates

2013-04-24 Thread Simon Horman
On Wed, Apr 24, 2013 at 06:28:19PM +0100, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Simon Horman horms+rene...@verge.net.au

Re: [RFC PATCH v3 13/17] ARM: dts: r8a7740: cpus/cpu nodes dts updates

2013-04-24 Thread Simon Horman
On Wed, Apr 24, 2013 at 06:28:18PM +0100, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Simon Horman horms+rene...@verge.net.au

Re: [RFC PATCH v2 09/13] ARM: mach-shmobile: cpus/cpu nodes dts updates

2013-04-22 Thread Simon Horman
On Mon, Apr 22, 2013 at 04:27:31PM +0100, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Sorry to be a pain, but I would appreciate two separate patches, one per-Soc. Signed-off-by: Lorenzo Pieralisi

Re: [RFC PATCH 2/2] ARM: DT: kernel: DT cpu node bindings update

2013-04-15 Thread Simon Horman
On Mon, Apr 15, 2013 at 05:13:22PM +0100, Lorenzo Pieralisi wrote: In order to extend the current cpu nodes bindings to newer CPUs inclusive of AArch64 and to update support for older ARM CPUs this patch updates device tree documentation for the cpu nodes bindings. Main changes: - adds

Re: [PATCH v3] irqchip: renesas-intc-irqpin: DT binding for sense bitfield width

2013-04-09 Thread Simon Horman
On Tue, Apr 09, 2013 at 01:22:29AM +0200, Laurent Pinchart wrote: Hi Guennadi, On Monday 08 April 2013 14:15:39 Guennadi Liakhovetski wrote: On Mon, 8 Apr 2013, Laurent Pinchart wrote: On Monday 08 April 2013 13:25:46 Guennadi Liakhovetski wrote: On Mon, 8 Apr 2013, Laurent Pinchart

Re: [PATCH v3] irqchip: renesas-intc-irqpin: DT binding for sense bitfield width

2013-04-09 Thread Simon Horman
On Wed, Apr 10, 2013 at 07:23:06AM +0900, Magnus Damm wrote: Hi Guennadi, On Mon, Apr 8, 2013 at 5:08 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Most Renesas irqpin controllers have 4-bit sense fields, however, some have different widths. This patch adds a DT binding to

Re: [PATCH/RFC 0/2] ARM: shmobile: DT irqpin for r8a7779 and marzen-reference

2013-04-09 Thread Simon Horman
On Fri, Apr 05, 2013 at 11:13:39AM +0900, Simon Horman wrote: On Fri, Apr 05, 2013 at 10:44:29AM +0900, Simon Horman wrote: On Thu, Apr 04, 2013 at 11:47:05PM +0200, Guennadi Liakhovetski wrote: Hi Simon On Thu, 4 Apr 2013, Simon Horman wrote: On Wed, Apr 03, 2013 at 11:18

Re: [PATCH/RFC 2/2] ARM: shmobile: marzen-reference: add irqpin support in DT

2013-04-09 Thread Simon Horman
On Wed, Apr 03, 2013 at 11:19:07AM +0200, Guennadi Liakhovetski wrote: Add an irqpin interrupt controller DT node on marzen-reference. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com Thanks, queued up in the boards-marzen branch.

Re: [PATCH/RFC 0/2] ARM: shmobile: DT irqpin for r8a7779 and marzen-reference

2013-04-09 Thread Simon Horman
On Wed, Apr 10, 2013 at 10:08:18AM +0900, Simon Horman wrote: On Fri, Apr 05, 2013 at 11:13:39AM +0900, Simon Horman wrote: On Fri, Apr 05, 2013 at 10:44:29AM +0900, Simon Horman wrote: On Thu, Apr 04, 2013 at 11:47:05PM +0200, Guennadi Liakhovetski wrote: Hi Simon On Thu, 4 Apr

Re: [PATCH/RFC 0/2] ARM: shmobile: DT irqpin for r8a7779 and marzen-reference

2013-04-04 Thread Simon Horman
On Thu, Apr 04, 2013 at 11:47:05PM +0200, Guennadi Liakhovetski wrote: Hi Simon On Thu, 4 Apr 2013, Simon Horman wrote: On Wed, Apr 03, 2013 at 11:18:57AM +0200, Guennadi Liakhovetski wrote: Hi This 2 patches add DT irqpin support on marzen-reference. Only compile-tested due

Re: [PATCH/RFC 0/2] ARM: shmobile: DT irqpin for r8a7779 and marzen-reference

2013-04-04 Thread Simon Horman
On Fri, Apr 05, 2013 at 10:44:29AM +0900, Simon Horman wrote: On Thu, Apr 04, 2013 at 11:47:05PM +0200, Guennadi Liakhovetski wrote: Hi Simon On Thu, 4 Apr 2013, Simon Horman wrote: On Wed, Apr 03, 2013 at 11:18:57AM +0200, Guennadi Liakhovetski wrote: Hi This 2 patches

Re: [PATCH/RFC 0/2] ARM: shmobile: DT irqpin for r8a7779 and marzen-reference

2013-04-03 Thread Simon Horman
On Wed, Apr 03, 2013 at 11:18:57AM +0200, Guennadi Liakhovetski wrote: Hi This 2 patches add DT irqpin support on marzen-reference. Only compile-tested due to the lack of hardware. The patches can go independently via their respective trees. irqpin on marzen will not work if patch 2 is

[PATCH] net: sh-eth: Use pr_err instead of printk

2013-03-21 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- drivers/net/ethernet/renesas/sh_eth.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v5] net: sh_eth: Add support of device tree probe

2013-03-19 Thread Simon Horman
On Tue, Mar 19, 2013 at 05:02:39PM +0400, Sergei Shtylyov wrote: Hello. On 19-03-2013 8:22, Simon Horman wrote: [ Cc: Mark Rutland ] On Tue, Mar 05, 2013 at 06:52:20AM +0900, Nobuhiro Iwamatsu wrote: This adds support of device tree probe for Renesas sh-ether driver. Signed-off

Re: [PATCH v5] net: sh_eth: Add support of device tree probe

2013-03-18 Thread Simon Horman
On Tue, Mar 05, 2013 at 09:43:39AM +0900, Simon Horman wrote: [ Cc: Mark Rutland ] On Tue, Mar 05, 2013 at 06:52:20AM +0900, Nobuhiro Iwamatsu wrote: This adds support of device tree probe for Renesas sh-ether driver. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com

Re: [PATCH v5] net: sh_eth: Add support of device tree probe

2013-03-04 Thread Simon Horman
[ Cc: Mark Rutland ] On Tue, Mar 05, 2013 at 06:52:20AM +0900, Nobuhiro Iwamatsu wrote: This adds support of device tree probe for Renesas sh-ether driver. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Hi Iwamatsu-san, could you please address the review by Mark Rutland

Re: [PATCH] linux/of_platform.h: fix compilation warnings with DT disabled

2013-02-28 Thread Simon Horman
the #ifdef move doesn't help... Reported-by: Vladimir Barinov vladimir.bari...@cogentembedded.com Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com Reviewed-by: Simon Horman horms+rene...@verge.net.au Grant, could you consider taking this patch? --- Actually, it compiles

Re: [PATCH v2 0/4] R-Car SATA driver and platform data

2013-02-25 Thread Simon Horman
On Mon, Feb 25, 2013 at 05:08:19PM +0400, Sergei Shtylyov wrote: Hello. On 19-02-2013 7:42, Simon Horman wrote: Here's the v2 of the set of 4 patches against the Simon Horman's renesas.git repo, 'next' branch: [1/4] libata: add R-Car SATA driver [2/4] ARM: mach-shmobile: r8a7779

Re: [PATCHi v2] net: sh_eth: Add support of device tree probe

2013-02-23 Thread Simon Horman
On Thu, Feb 14, 2013 at 11:56:57AM +0900, Nobuhiro Iwamatsu wrote: (2013/02/14 10:24), Kuninori Morimoto wrote: Hi Iwamatsu-san Thank you for this patch. Small comment from me +#ifdef CONFIG_OF (snip) +sh_eth_parse_dt(struct device *dev, struct net_device *ndev) +{ + int ret; +

Re: [PATCH 0/4] R-Car SATA driver and platform data

2013-02-18 Thread Simon Horman
On Mon, Feb 18, 2013 at 06:04:21PM +0400, Sergei Shtylyov wrote: Hello. On 18-02-2013 5:23, Simon Horman wrote: Here's the set of 4 patches against the Simon Horman's renesas.git repo, 'next' branch: [1/4] ARM: mach-shmobile: r8a7779: SATA DT configuration [2/4] ARM: mach

Re: [PATCH v2 0/4] R-Car SATA driver and platform data

2013-02-18 Thread Simon Horman
On Mon, Feb 18, 2013 at 11:27:46PM +0300, Sergei Shtylyov wrote: Hello. Here's the v2 of the set of 4 patches against the Simon Horman's renesas.git repo, 'next' branch: [1/4] libata: add R-Car SATA driver [2/4] ARM: mach-shmobile: r8a7779: SATA DT configuration [3/4] ARM:

Re: [PATCH 0/4] R-Car SATA driver and platform data

2013-02-17 Thread Simon Horman
On Sun, Feb 17, 2013 at 01:35:27AM +0300, Sergei Shtylyov wrote: Hello. Here's the set of 4 patches against the Simon Horman's renesas.git repo, 'next' branch: [1/4] ARM: mach-shmobile: r8a7779: SATA DT configuration [2/4] ARM: mach-shmobile: r8a7779: add SATA support [3/4] libata:

Re: [PATCH v4 03/13] mmc: provide a standard MMC device-tree binding parser centrally

2013-02-16 Thread Simon Horman
On Sat, Feb 16, 2013 at 10:54:36AM +, Arnd Bergmann wrote: On Saturday 16 February 2013, Simon Horman wrote: +void mmc_of_parse(struct mmc_host *host) +{ + struct device_node *np; + u32 bus_width; + bool explicit_inv_wp, gpio_inv_wp = false; + enum

Re: [PATCH v5 03/13] mmc: provide a standard MMC device-tree binding parser centrally

2013-02-16 Thread Simon Horman
On Sat, Feb 16, 2013 at 05:58:25PM +0100, Sascha Hauer wrote: Hi Guennadi, On Sat, Feb 16, 2013 at 04:21:16PM +0100, Guennadi Liakhovetski wrote: MMC defines a number of standard DT bindings. Having each driver parse them individually adds code redundancy and is error prone. Provide a

Re: [PATCH v5 03/13] mmc: provide a standard MMC device-tree binding parser centrally

2013-02-16 Thread Simon Horman
On Sun, Feb 17, 2013 at 04:52:16PM +0900, Simon Horman wrote: On Sat, Feb 16, 2013 at 05:58:25PM +0100, Sascha Hauer wrote: Hi Guennadi, On Sat, Feb 16, 2013 at 04:21:16PM +0100, Guennadi Liakhovetski wrote: MMC defines a number of standard DT bindings. Having each driver parse them

Re: [PATCH/RFC] mfd: as3711: add OF support

2013-02-15 Thread Simon Horman
On Fri, Feb 15, 2013 at 11:07:16AM +0100, Guennadi Liakhovetski wrote: Add device-tree bindings to the AS3711 regulator and backlight drivers. Hi, at this stage I do not expect this code to go through the renesas tree. However, in order to provide a basis for work on renesas SoCs I have added

Re: [PATCH v4 00/13] mmc: core and driver DT and related development

2013-02-15 Thread Simon Horman
On Fri, Feb 15, 2013 at 04:13:49PM +0100, Guennadi Liakhovetski wrote: This is v4 of a patch-series, extending mmc subsystem device-tree usage and adding more advanced DT capabilities to sh_mmcif and sh_mobile_sdhi / tmio_mmc drivers. Changes since v3 are described in respective patches.

Re: [PATCH v4] net: sh_eth: Add support of device tree probe

2013-02-15 Thread Simon Horman
On Fri, Feb 15, 2013 at 10:53:25AM +0900, Nobuhiro Iwamatsu wrote: From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com This adds support of device tree probe for Renesas sh-ether driver. Hi Iwamatsu-san, I do not expect this code to go through the renesas tree. However, in order to

Re: [PATCH/RFC] mfd: as3711: add OF support

2013-02-15 Thread Simon Horman
On Fri, Feb 15, 2013 at 11:07:16AM +0100, Guennadi Liakhovetski wrote: Add device-tree bindings to the AS3711 regulator and backlight drivers. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- As usual - comments to the new bindings are very welcome!

Re: [PATCH v4 03/13] mmc: provide a standard MMC device-tree binding parser centrally

2013-02-15 Thread Simon Horman
On Fri, Feb 15, 2013 at 04:13:52PM +0100, Guennadi Liakhovetski wrote: MMC defines a number of standard DT bindings. Having each driver parse them individually adds code redundancy and is error prone. Provide a standard function to unify the parsing. After all drivers are converted to using it

Re: [PATCH/RFC] mfd: as3711: add OF support

2013-02-15 Thread Simon Horman
On Sat, Feb 16, 2013 at 11:26:30AM +0900, Simon Horman wrote: On Fri, Feb 15, 2013 at 11:07:16AM +0100, Guennadi Liakhovetski wrote: Add device-tree bindings to the AS3711 regulator and backlight drivers. Hi, at this stage I do not expect this code to go through the renesas tree. However

[PATCH 1/9] sh-pfc: Add OF support

2013-02-12 Thread Simon Horman
-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Simon Horman horms+rene...@verge.net.au --- .../bindings/pinctrl/renesas,pfc-pinctrl.txt | 77 drivers/pinctrl/sh-pfc/core.c | 62

Re: [PATCH v3 06/13] mmc: tmio-mmc: define device-tree bindings

2013-02-06 Thread Simon Horman
On Wed, Feb 06, 2013 at 10:24:20PM +, Arnd Bergmann wrote: On Wednesday 06 February 2013, Guennadi Liakhovetski wrote: +* Toshiba Mobile IO SD/MMC controller + +The tmio-mmc driver doesn't probe its devices actively, instead its binding to +devices is managed by either MFD drivers

[PATCH] net: sh_eth: Add support of device tree probe

2013-02-05 Thread Simon Horman
/sh_eth.c | 156 +--- 2 files changed, 177 insertions(+), 22 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/sh_ether.txt [Simon Horman] I am re-posting this patch with devicetree-discuss@lists.ozlabs.org CCed for review of the proposed device tree

Re: [PATCH v2 1/8] sh-pfc: Add OF support

2013-01-24 Thread Simon Horman
On Thu, Jan 24, 2013 at 12:17:32PM +0100, Laurent Pinchart wrote: Hi Simon, On Monday 21 January 2013 09:38:28 Simon Horman wrote: On Tue, Jan 15, 2013 at 10:10:19AM +0900, Simon Horman wrote: On Sat, Jan 12, 2013 at 06:18:54PM +0100, Guennadi Liakhovetski wrote: On Wed, 9 Jan 2013

Re: [PATCH] DT: add vendor prefixes for Renesas and Toshiba

2013-01-24 Thread Simon Horman
On Thu, Jan 24, 2013 at 05:09:45PM +0100, Guennadi Liakhovetski wrote: Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de I'm curious to know who would ack and or pick-up this patch. --- .../devicetree/bindings/vendor-prefixes.txt|2 ++ 1 files changed, 2 insertions(+),

Re: [PATCH v2 1/8] sh-pfc: Add OF support

2013-01-20 Thread Simon Horman
On Tue, Jan 15, 2013 at 10:10:19AM +0900, Simon Horman wrote: On Sat, Jan 12, 2013 at 06:18:54PM +0100, Guennadi Liakhovetski wrote: Hi Laurent On Wed, 9 Jan 2013, Laurent Pinchart wrote: Support device instantiation through the device tree. The compatible property is used

Re: [RFC PATCH 3/6] usb: otg: utils: change the phy lib to support multiple PHYs of same type

2013-01-16 Thread Simon Horman
-shmobile/board-marzen.c |2 +- Modification to the above file: Acked-by: Simon Horman horms+rene...@verge.net.au ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH 1/8] SH: intc: Add support OF for INTC

2013-01-16 Thread Simon Horman
On Thu, Jan 10, 2013 at 10:56:51AM +0900, Simon Horman wrote: On Wed, Jan 09, 2013 at 07:11:04PM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Mark Rutland wrote: Hi, Thanks for updating the text, this is far easier to read than previously. However, I'm still

Re: [PATCH v2 1/8] sh-pfc: Add OF support

2013-01-14 Thread Simon Horman
On Sat, Jan 12, 2013 at 06:18:54PM +0100, Guennadi Liakhovetski wrote: Hi Laurent On Wed, 9 Jan 2013, Laurent Pinchart wrote: Support device instantiation through the device tree. The compatible property is used to select the SoC pinmux information. Set the gpio_chip device field to

Re: [PATCH 1/8] SH: intc: Add support OF for INTC

2013-01-09 Thread Simon Horman
On Wed, Jan 09, 2013 at 07:11:04PM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Mark Rutland wrote: Hi, Thanks for updating the text, this is far easier to read than previously. However, I'm still concerned by how complex the binding seems. As I don't have any

Re: [PATCH 1/8] SH: intc: Add support OF for INTC

2013-01-09 Thread Simon Horman
-mackerel-reference.dts. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Signed-off-by: Simon Horman horms+rene...@verge.net.au diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e44da40..7fb4696 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot

Re: [PATCH 01/10] ARM: shmobile: Add support OF for INTC of shmobile

2013-01-08 Thread Simon Horman
On Tue, Dec 18, 2012 at 10:00:01AM +, Mark Rutland wrote: Hi, I have some comments on the devicetree binding. On Sat, Dec 15, 2012 at 09:03:35AM +, Simon Horman wrote: From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com This provides OF support of SH/INTC. The SH/INTC

Re: [PATCH 2/2] ARM: shmobile: add a reference DT implementation for mackerel

2013-01-08 Thread Simon Horman
On Mon, Dec 31, 2012 at 12:23:54PM +0100, Guennadi Liakhovetski wrote: Add a DT-only mackerel implementation. So far it only contains a limited set of devices, already implementing DT support. As more drivers are extended with DT initialisation option, respective devices shall be added to

[RFC v9 0/8] ARM: shmobile: DT initialisation of INTC

2013-01-08 Thread Simon Horman
The aims of this series are: * Add DT bindings to to INTC * Allowing sh7372 and r8a7740 ARM shmobile SoCs to use DT to initialise INTCA Changes since v8 * Address review of bindings by Mark Rutland Change between v7 and v8 * Squash the first and second patch of the series and rename there

[PATCH 2/8] ARM: shmobile: Add support OF of INTC for r8a7740

2013-01-08 Thread Simon Horman
-by: Simon Horman horms+rene...@verge.net.au --- v9 * Update compatible string to use '-' instead of '_' --- arch/arm/mach-shmobile/include/mach/common.h |1 + arch/arm/mach-shmobile/intc-r8a7740.c| 70 +++--- 2 files changed, 65 insertions(+), 6 deletions

[PATCH 3/8] ARM: shmobile: Add support OF of INTC for sh7372

2013-01-08 Thread Simon Horman
-off-by: Simon Horman horms+rene...@verge.net.au --- v9 * Update compatible string to use '-' instead of '_' --- arch/arm/mach-shmobile/include/mach/common.h |1 + arch/arm/mach-shmobile/intc-sh7372.c | 113 -- 2 files changed, 89 insertions(+), 25 deletions

[PATCH 4/8] ARM: shmobile: Add DT table of INTC for sh7372

2013-01-08 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- v9 * Update compatible string to use '-' instead of '_' * Remove group_size

[PATCH 1/8] SH: intc: Add support OF for INTC

2013-01-08 Thread Simon Horman
, in order to maintain compatibility. Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- v9 * As suggested by Mark Rutland - Update compatible string to use '-' instead of '_' - Enhance

[PATCH 6/8] ARM: shmobile: r8a7740: Use DT initialisation of INTC

2013-01-08 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/mach-shmobile/setup-r8a7740.c |2 +- 1 file changed, 1 insertion

[PATCH 5/8] ARM: shmobile: Add DT table of INTC for r8a7740

2013-01-08 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- v9 * Update compatible string to use '-' instead of '_' * Remove group_size

[PATCH 8/8] ARM: shmobile: sh7372: Use DT initialisation of INTC

2013-01-08 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/mach-shmobile/setup-sh7372.c |2 +- 1 file changed, 1 insertion

Re: [PATCH 1/2] ARM: shmobile: add function declarations for sh7372 DT helper functions

2013-01-06 Thread Simon Horman
On Mon, Dec 31, 2012 at 12:23:50PM +0100, Guennadi Liakhovetski wrote: sh7372_add_early_devices_dt() and sh7372_add_standard_devices_dt() are defined as global functions in arch/arm/mach-shmobile/setup-sh7372.c, but their declarations are missing. Add them to common.h, where similar functions

[RFC v7 00/10] ARM: shmobile: DT initialisation of INTC and GIC

2012-12-19 Thread Simon Horman
table of INTC for sh7372 ARM: shmobile: Add DT table of INTC for r8a7740 ARM: shmobile: Include DTSI of r8a7740 to armadillo800eva ARM: shmobile: r8a7740: Use DT initialisation of INTC ARM: shmobile: sh7372: Use DT initialisation of INTC Simon Horman (1): ARM: shmobile

[PATCH 02/10] SH: intc: Add support OF of IRQ

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Add information of device node to struct intc_desc. Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- v7 * Delete renesas

[PATCH 01/10] ARM: shmobile: Add support OF for INTC of shmobile

2012-12-19 Thread Simon Horman
, in order to maintain compatibility. Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- Documentation/devicetree/bindings/sh/intc.txt | 163 +++ drivers/sh/intc/Makefile

[PATCH 03/10] ARM: shmobile: Add support OF of INTC for r8a7740

2012-12-19 Thread Simon Horman
-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/mach-shmobile/include/mach/common.h |1 + arch/arm/mach-shmobile/intc-r8a7740.c| 70 +++--- 2 files changed, 65 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-shmobile/include/mach/common.h b

[PATCH 04/10] ARM: shmobile: Add support OF of INTC for sh7372

2012-12-19 Thread Simon Horman
-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/mach-shmobile/include/mach/common.h |1 + arch/arm/mach-shmobile/intc-sh7372.c | 113 -- 2 files changed, 89 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-shmobile/include/mach/common.h

[PATCH 05/10] ARM: shmobile: Add DT table of INTC for sh7372

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/boot/dts/sh7372.dtsi | 784

[PATCH 06/10] ARM: shmobile: Add DT table of INTC for r8a7740

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/boot/dts/r8a7740.dtsi | 743

[PATCH 08/10] ARM: shmobile: r8a7740: Use DT initialisation of INTC

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/mach-shmobile/setup-r8a7740.c |2 +- 1 file changed, 1 insertion

[PATCH 07/10] ARM: shmobile: Include DTSI of r8a7740 to armadillo800eva

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/boot/dts/r8a7740-armadillo800eva.dts |2 +- 1 file changed, 1

[PATCH 09/10] ARM: shmobile: sh7372: Do not initialise TMU when using DT

2012-12-19 Thread Simon Horman
This is in preparation for initialising INTC using DT. The proposed INTC configuration is not complete and does not allow the TMU to be initialised, to exclude it when using DT. Cc: Magnus Damm d...@opensource.se Cc: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman

[PATCH 10/10] ARM: shmobile: sh7372: Use DT initialisation of INTC

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/mach-shmobile/setup-sh7372.c |2 +- 1 file changed, 1 insertion

[RFC v8 00/9] ARM: shmobile: DT initialisation of INTC and GIC

2012-12-19 Thread Simon Horman
of INTC Simon Horman (1): ARM: shmobile: sh7372: Do not initialise TMU when using DT Documentation/devicetree/bindings/sh/intc.txt | 152 + arch/arm/boot/dts/r8a7740-armadillo800eva.dts |2 +- arch/arm/boot/dts/r8a7740.dtsi| 743 ++- arch/arm

[PATCH 1/9] SH: intc: Add support OF for INTC

2012-12-19 Thread Simon Horman
, in order to maintain compatibility. Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- v8 * Squash SH: intc: Add support OF of IRQ into this patch * Change patch title from ARM: shmobile

[PATCH 2/9] ARM: shmobile: Add support OF of INTC for r8a7740

2012-12-19 Thread Simon Horman
-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/mach-shmobile/include/mach/common.h |1 + arch/arm/mach-shmobile/intc-r8a7740.c| 70 +++--- 2 files changed, 65 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-shmobile/include/mach/common.h b

[PATCH 3/9] ARM: shmobile: Add support OF of INTC for sh7372

2012-12-19 Thread Simon Horman
-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/mach-shmobile/include/mach/common.h |1 + arch/arm/mach-shmobile/intc-sh7372.c | 113 -- 2 files changed, 89 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-shmobile/include/mach/common.h

[PATCH 4/9] ARM: shmobile: Add DT table of INTC for sh7372

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/boot/dts/sh7372.dtsi | 784

[PATCH 6/9] ARM: shmobile: Include DTSI of r8a7740 to armadillo800eva

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/boot/dts/r8a7740-armadillo800eva.dts |2 +- 1 file changed, 1

[PATCH 7/9] ARM: shmobile: r8a7740: Use DT initialisation of INTC

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/mach-shmobile/setup-r8a7740.c |2 +- 1 file changed, 1 insertion

[PATCH 5/9] ARM: shmobile: Add DT table of INTC for r8a7740

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/boot/dts/r8a7740.dtsi | 743

[PATCH 8/9] ARM: shmobile: sh7372: Do not initialise TMU when using DT

2012-12-19 Thread Simon Horman
This is in preparation for initialising INTC using DT. The proposed INTC configuration is not complete and does not allow the TMU to be initialised, to exclude it when using DT. Cc: Magnus Damm d...@opensource.se Cc: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman

[PATCH 9/9] ARM: shmobile: sh7372: Use DT initialisation of INTC

2012-12-19 Thread Simon Horman
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/mach-shmobile/setup-sh7372.c |2 +- 1 file changed, 1 insertion

Re: [PATCH 02/10] SH: intc: Add support OF of IRQ

2012-12-17 Thread Simon Horman
On Mon, Dec 17, 2012 at 09:29:44AM +0100, Laurent Pinchart wrote: Hi Iwamatsu-san, Thank your for the patch. On Saturday 15 December 2012 18:03:36 Simon Horman wrote: From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Add information of device node to struct intc_desc. Cc

Re: [PATCH 05/10] ARM: shmobile: Add DT table of INTC for sh7372

2012-12-17 Thread Simon Horman
On Mon, Dec 17, 2012 at 09:44:10AM +0100, Guennadi Liakhovetski wrote: Hi Simon On Sat, 15 Dec 2012, Simon Horman wrote: From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Cc: Magnus Damm d...@opensource.se Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com

Re: [PATCH 09/10] ARM: shmobile: sh7372: Do not initialise TMU when using DT

2012-12-17 Thread Simon Horman
On Mon, Dec 17, 2012 at 10:58:39AM +0100, Guennadi Liakhovetski wrote: Hi Simon On Sat, 15 Dec 2012, Simon Horman wrote: This is in preparation for initialising INTC using DT. The proposed INTC configuration is not complete and does not allow the TMU to be initialised, to exclude

Re: [PATCH 5/7] ARM: sh7372: allow boards supporting booting with or without DT

2012-12-15 Thread Simon Horman
On Fri, Dec 14, 2012 at 05:45:29PM +0100, Guennadi Liakhovetski wrote: For boards booting without DT no changes should be caused by this patch. When booting with DT, devices, whose drivers support DT probing, will not be registered. This relates in part to my comment on ARM: sh7372: support

Re: [PATCH 3/7] ARM: sh7372: support mixed DT and board code interrupt controller init

2012-12-15 Thread Simon Horman
On Fri, Dec 14, 2012 at 05:45:27PM +0100, Guennadi Liakhovetski wrote: Extend DT interrupt controller initialisation to automatically fall back to platform data based configuration, if booting without DT. This simplifies implementing boards, capable of booting in either mode with a single

Re: [PATCH 4/7] ARM: sh7372: add clock lookup entries for DT-based devices

2012-12-15 Thread Simon Horman
On Fri, Dec 14, 2012 at 05:45:28PM +0100, Guennadi Liakhovetski wrote: When booting with DT, devices are named differently. To get their clocks additional entries have to be added to the lookup table. Thanks applied. I have applied this to a temporary 'soc5' branch which is based on 3.7-rc1. I

Re: [PATCH 2/7] ARM: mackerel: include the correct .dtsi file

2012-12-15 Thread Simon Horman
On Fri, Dec 14, 2012 at 05:45:26PM +0100, Guennadi Liakhovetski wrote: Mackerel's .dts Device Tree description file should derive from the SoC's .dtsi, not from skeleton.dtsi directly. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Thanks applied. I have applied this to a

Re: [PATCH 1/7] ARM: sh7372: add missing #interrupt-cells properties

2012-12-15 Thread Simon Horman
On Fri, Dec 14, 2012 at 05:45:25PM +0100, Guennadi Liakhovetski wrote: Two of four interrupt controllers in sh7372.dtsi are missing the compulsory #interrupt-cells properties. Fix this. Thanks. I think that is fixed in the latest INTC DT series that I posted just a few moments ago [RFC v7

[PATCH] script: dtc: clean generated files

2012-11-20 Thread Simon Horman
From: Magnus Damm d...@opensource.se Fix make distclean to clean up generated dtc files. Without this patch the following files are left around: - dtc-lexer.lex.c - dtc-parser.tab.c - dtc-parser.tab.h Signed-off-by: Magnus Damm d...@opensource.se Reviewed-by: Simon Horman ho...@verge.net.au