Re: [PATCH 1/2] fbdev: sh_mobile_meram: use ARCH_RENESAS

2016-03-10 Thread Geert Uytterhoeven
Hi Simon, On Fri, Mar 11, 2016 at 3:28 AM, Simon Horman wrote: > Use ARCH_RENESAS in place of ARCH_SHMOBILE. > Also remove spurious (). > > This is part of an ongoing process to migrate from ARCH_SHMOBILE to > ARCH_RENESAS the motivation for which being that RENESAS seems to be a more > appropria

Re: [PATCH 1/2] fbdev: sh_mobile_meram: use ARCH_RENESAS

2016-03-10 Thread Laurent Pinchart
Hi Simon, On Friday 11 March 2016 09:14:46 Laurent Pinchart wrote: > On Friday 11 March 2016 11:28:17 Simon Horman wrote: > > Use ARCH_RENESAS in place of ARCH_SHMOBILE. > > Also remove spurious (). > > > > This is part of an ongoing process to migrate from ARCH_SHMOBILE to > > ARCH_RENESAS the m

RE: [PATCH v2] can: rcar_canfd: Add Renesas R-Car CAN FD driver

2016-03-10 Thread Ramesh Shanmugasundaram
Hi Oliver, Marc, > On 03/08/2016 01:48 PM, Ramesh Shanmugasundaram wrote: > > >> In fact you provided a CAN driver which is "CAN-FD-only". > > > > Yes. That's the status of current submission. (...) > > > > I did try this option earlier but there are two problems with this > method. > > > > 1)

Re: [PATCH 1/2] fbdev: sh_mobile_meram: use ARCH_RENESAS

2016-03-10 Thread Laurent Pinchart
Hi Simon, Thank you for the patch. On Friday 11 March 2016 11:28:17 Simon Horman wrote: > Use ARCH_RENESAS in place of ARCH_SHMOBILE. > Also remove spurious (). > > This is part of an ongoing process to migrate from ARCH_SHMOBILE to > ARCH_RENESAS the motivation for which being that RENESAS seem

Re: [PATCH v2 2/2] usb: host: xhci-plat: fix cannot work if R-Car Gen2/3 run on above 4GB phys

2016-03-10 Thread Felipe Balbi
Yoshihiro Shimoda writes: > [ text/plain ] > This patch fixes an issue that cannot work if R-Car Gen2/3 run on > above 4GB physical memory environment to use a quirk XHCI_CLEAR_AC64. > > Signed-off-by: Yoshihiro Shimoda > --- > drivers/usb/host/xhci-plat.c | 7 +++ > 1 file changed, 7 inser

Re: [PATCH v2 1/2] usb: host: xhci: add a new quirk XHCI_CLEAR_AC64

2016-03-10 Thread Felipe Balbi
Hi, Yoshihiro Shimoda writes: > [ text/plain ] > On some xHCI controllers (e.g. R-Car SoCs), the AC64 bit (bit 0) of > HCCPARAMS1 is set to 1. However, the xHCs don't support 64-bit > address memory pointers actually. So, in this case, this driver should > call dma_set_coherent_mask(dev, DMA_BIT

Re: [PATCH v5 3/9] dma-mapping: add dma_{map,unmap}_resource

2016-03-10 Thread Dan Williams
On Thu, Mar 10, 2016 at 8:05 AM, Niklas S??derlund wrote: > Hi Christoph, > > On 2016-03-07 23:38:47 -0800, Christoph Hellwig wrote: >> Please add some documentation on where/how this should be used. It's >> not a very obvious interface. > > Good idea, I have added the following to Documentation/

Re: [PATCH v5 3/9] dma-mapping: add dma_{map,unmap}_resource

2016-03-10 Thread Vinod Koul
On Thu, Mar 10, 2016 at 05:05:23PM +0100, Niklas S??derlund wrote: > Hi Christoph, > > On 2016-03-07 23:38:47 -0800, Christoph Hellwig wrote: > > Please add some documentation on where/how this should be used. It's > > not a very obvious interface. > > Good idea, I have added the following to Do

[PATCH v3 2/2] media: soc_camera: rcar_vin: add device tree support for r8a7792

2016-03-10 Thread Simon Horman
Simply document new compatibility string. As a previous patch adds a generic R-Car Gen2 compatibility string there appears to be no need for a driver updates. By documenting this compat sting it may be used in DTSs shipped, for example as part of ROMs. It must be used in conjunction with the Gen2

[PATCH v3 0/2] media: soc_camera: rcar_vin: add fallback and r8a7792 bindings

2016-03-10 Thread Simon Horman
Hi, this short series adds add fallback and r8a7792 bindings to rcar_vin. Based on media-tree/master Simon Horman (1): media: soc_camera: rcar_vin: add device tree support for r8a7792 Yoshihiro Kaneko (1): media: soc_camera: rcar_vin: add R-Car Gen 2 and 3 fallback compatibility strings

[PATCH v3 1/2] media: soc_camera: rcar_vin: add R-Car Gen 2 and 3 fallback compatibility strings

2016-03-10 Thread Simon Horman
From: Yoshihiro Kaneko Add fallback compatibility string for R-Car Gen 1 and 2. In the case of Renesas R-Car hardware we know that there are generations of SoCs, e.g. Gen 2 and 3. But beyond that its not clear what the relationship between IP blocks might be. For example, I believe that r8a7790

[PATCH 1/2] fbdev: sh_mobile_meram: use ARCH_RENESAS

2016-03-10 Thread Simon Horman
Use ARCH_RENESAS in place of ARCH_SHMOBILE. Also remove spurious (). This is part of an ongoing process to migrate from ARCH_SHMOBILE to ARCH_RENESAS the motivation for which being that RENESAS seems to be a more appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs. Signed-of

[PATCH 0/2] fbdev: sh_mobile_meram: use ARCH_RENESAS

2016-03-10 Thread Simon Horman
Use ARCH_RENESAS in place of ARCH_SHMOBILE. This is part of an ongoing process to migrate from ARCH_SHMOBILE to ARCH_RENESAS the motivation for which being that RENESAS seems to be a more appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs. As a follow-up also depend on COMP

[PATCH 2/2] fbdev: sh_mobile_meram: depend on COMPILE_TEST

2016-03-10 Thread Simon Horman
Increase compilation coverage by allowing it to be selected if COMPILE_TEST is selected. Signed-off-by: Simon Horman --- drivers/video/fbdev/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 71294f595f61..9

Re: [PATCH] drivers: sh: Use ARCH_RENESAS

2016-03-10 Thread Simon Horman
On Mon, Mar 07, 2016 at 01:47:36PM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Thu, Mar 3, 2016 at 1:56 AM, Simon Horman wrote: > > On Thu, Mar 03, 2016 at 09:07:13AM +0900, Simon Horman wrote: > >> On Wed, Mar 02, 2016 at 09:25:54AM +0100, Geert Uytterhoeven wrote: > >> > On Wed, Mar 2,

Re: [PATCH] PCI: rcar, rcar-gen2: Use ARCH_RENESAS

2016-03-10 Thread Simon Horman
On Tue, Mar 08, 2016 at 12:36:50PM -0600, Bjorn Helgaas wrote: > On Thu, Feb 25, 2016 at 09:45:56AM +0900, Simon Horman wrote: > > Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. > > > > This is part of an ongoing process to migrate from ARCH_SHMOBILE to > > ARCH_RENESAS the motivation for whi

Re: [PATCH 00/30] ARM: dts: r8a779[0-4]: Reference both DMA controllers

2016-03-10 Thread Simon Horman
On Fri, Mar 11, 2016 at 01:23:26AM +0100, Niklas Söderlund wrote: > On 2016-03-11 08:38:56 +0900, Simon Horman wrote: > > On Thu, Mar 10, 2016 at 02:43:25PM +0100, Niklas Söderlund wrote: > > > Hi Geert, > > > > > > On 2016-03-10 13:20:56 +0100, Geert Uytterhoeven wrote: > > > > Hi Niklas, > > > >

Re: [PATCH 00/30] ARM: dts: r8a779[0-4]: Reference both DMA controllers

2016-03-10 Thread Niklas Söderlund
On 2016-03-11 08:38:56 +0900, Simon Horman wrote: > On Thu, Mar 10, 2016 at 02:43:25PM +0100, Niklas Söderlund wrote: > > Hi Geert, > > > > On 2016-03-10 13:20:56 +0100, Geert Uytterhoeven wrote: > > > Hi Niklas, > > > > > > On Thu, Mar 10, 2016 at 12:35 PM, Niklas Söderlund > > > wrote: > > > >

Re: [PATCH 00/30] ARM: dts: r8a779[0-4]: Reference both DMA controllers

2016-03-10 Thread Simon Horman
On Thu, Mar 10, 2016 at 02:43:25PM +0100, Niklas Söderlund wrote: > Hi Geert, > > On 2016-03-10 13:20:56 +0100, Geert Uytterhoeven wrote: > > Hi Niklas, > > > > On Thu, Mar 10, 2016 at 12:35 PM, Niklas Söderlund > > wrote: > > > R-Car Gen2 have two DMA controllers, which are equivalent. However

Re: [PATCH v3 6/6] arm64: dts: r8a7795: Add SYSC PM domains

2016-03-10 Thread Simon Horman
On Wed, Mar 09, 2016 at 08:18:55PM +0100, Geert Uytterhoeven wrote: > Add a device node for the System Controller. > Hook up the Cortex-A57 CPU cores and the Cortex-A57 and Cortex A53 L2 > caches/SCUs to their respective PM domains. > Hook up all devices that are part of the CPG/MSSR Clock Domain t

Re: [PATCH 0/2] sh_eth: fix couple of bugs in sh_eth_ring_format()

2016-03-10 Thread David Miller
From: Sergei Shtylyov Date: Fri, 11 Mar 2016 01:01:22 +0300 > On 03/11/2016 12:07 AM, David Miller wrote: > >>> Here's a set of 2 patches against DaveM's 'net.git' repo fixing two >>> bugs >>> in sh_eth_.ring_format()... >>> >>> [1/2] sh_eth: fix NULL pointer dereference in sh_eth_ring_f

Re: [PATCH 0/2] sh_eth: fix couple of bugs in sh_eth_ring_format()

2016-03-10 Thread Sergei Shtylyov
On 03/11/2016 12:07 AM, David Miller wrote: Here's a set of 2 patches against DaveM's 'net.git' repo fixing two bugs in sh_eth_.ring_format()... [1/2] sh_eth: fix NULL pointer dereference in sh_eth_ring_format() [2/2] sh_eth: advance 'rxdesc' later in sh_eth_ring_format() Since Linus is l

Re: [PATCH 0/2] sh_eth: fix couple of bugs in sh_eth_ring_format()

2016-03-10 Thread David Miller
From: Sergei Shtylyov Date: Tue, 08 Mar 2016 01:33:38 +0300 >Here's a set of 2 patches against DaveM's 'net.git' repo fixing two bugs > in sh_eth_.ring_format()... > > [1/2] sh_eth: fix NULL pointer dereference in sh_eth_ring_format() > [2/2] sh_eth: advance 'rxdesc' later in sh_eth_ring_for

Re: [PATCH v5 3/9] dma-mapping: add dma_{map,unmap}_resource

2016-03-10 Thread Niklas S??derlund
Hi Christoph, On 2016-03-07 23:38:47 -0800, Christoph Hellwig wrote: > Please add some documentation on where/how this should be used. It's > not a very obvious interface. Good idea, I have added the following to Documentation/DMA-API.txt and folded it in to this patch. Do you feel it's adequat

Re: [PATCH/RFC 0/4] media: soc_camera: rcar_vin: Add UDS and NV16 scaling support

2016-03-10 Thread Yoshihiro Kaneko
Hi Niklas-san, I'm very sorry for the long delay in my reply. 2016-03-03 6:45 GMT+09:00 Niklas Söderlund : > Hi Kaneko-san, > > On 2016-03-03 02:26:41 +0900, Yoshihiro Kaneko wrote: >> Hi Hans, >> >> 2016-02-29 22:27 GMT+09:00 Hans Verkuil : >> > Huh, you must have missed Niklas's work the rcar-v

Re: [PATCH 00/30] ARM: dts: r8a779[0-4]: Reference both DMA controllers

2016-03-10 Thread Niklas Söderlund
Hi Geert, On 2016-03-10 13:20:56 +0100, Geert Uytterhoeven wrote: > Hi Niklas, > > On Thu, Mar 10, 2016 at 12:35 PM, Niklas Söderlund > wrote: > > R-Car Gen2 have two DMA controllers, which are equivalent. However DMA > > slaves were tied only to a single DMA controller in .dtsi. This series > >

Re: [PATCH 30/30] ARM: dts: r8a7794: Reference both DMA controllers in QSPI node

2016-03-10 Thread Niklas Söderlund
On 2016-03-10 13:08:56 +0100, Geert Uytterhoeven wrote: > Hi Niklas, > > On Thu, Mar 10, 2016 at 12:36 PM, Niklas Söderlund > wrote: > > R-Car Gen2 have two DMA controllers, which are equivalent. Add > > references to both dmac0 and dmac1 so the driver can fallback to the > > later if the first o

Re: [PATCH 00/30] ARM: dts: r8a779[0-4]: Reference both DMA controllers

2016-03-10 Thread Geert Uytterhoeven
Hi Niklas, On Thu, Mar 10, 2016 at 12:35 PM, Niklas Söderlund wrote: > R-Car Gen2 have two DMA controllers, which are equivalent. However DMA > slaves were tied only to a single DMA controller in .dtsi. This series > add references to to both DMA controllers for all nodes that previously > only r

Re: [PATCH 29/30] ARM: dts: r8a7794: Reference both DMA controllers in SDHI nodes

2016-03-10 Thread Geert Uytterhoeven
On Thu, Mar 10, 2016 at 12:36 PM, Niklas Söderlund wrote: > R-Car Gen2 have two DMA controllers, which are equivalent. Add > references to both dmac0 and dmac1 so the driver can fallback to the > later if the first one is unavailable. > > Signed-off-by: Niklas Söderlund Reviewed-by: Geert Uytter

Re: [PATCH 30/30] ARM: dts: r8a7794: Reference both DMA controllers in QSPI node

2016-03-10 Thread Geert Uytterhoeven
Hi Niklas, On Thu, Mar 10, 2016 at 12:36 PM, Niklas Söderlund wrote: > R-Car Gen2 have two DMA controllers, which are equivalent. Add > references to both dmac0 and dmac1 so the driver can fallback to the > later if the first one is unavailable. > > Signed-off-by: Niklas Söderlund > --- > arch/

[PATCH 19/30] ARM: dts: r8a7793: Reference both DMA controllers in SCIFA nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7793.dtsi | 30 ++ 1 file changed, 18 in

[PATCH 21/30] ARM: dts: r8a7793: Reference both DMA controllers in HSCIF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7793.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 28/30] ARM: dts: r8a7794: Reference both DMA controllers in QSPI node

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7794.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[PATCH 24/30] ARM: dts: r8a7794: Reference both DMA controllers in SCIFA nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7794.dtsi | 30 ++ 1 file changed, 18 in

[PATCH 27/30] ARM: dts: r8a7794: Reference both DMA controllers in SCIF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7794.dtsi | 30 ++ 1 file changed, 18 in

[PATCH 05/30] ARM: dts: r8a7790: Reference both DMA controllers in MSIOF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7790.dtsi | 20 1 file changed, 12 insertions(+

[PATCH 20/30] ARM: dts: r8a7793: Reference both DMA controllers in SCIFB nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7793.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 15/30] ARM: dts: r8a7791: Reference both DMA controllers in QSPI node

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7791.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[PATCH 23/30] ARM: dts: r8a7793: Reference both DMA controllers in QSPI node

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7793.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[PATCH 17/30] ARM: dts: r8a7791: Reference both DMA controllers in SDHI nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7791.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 14/30] ARM: dts: r8a7791: Reference both DMA controllers in MSIOF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7791.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 22/30] ARM: dts: r8a7793: Reference both DMA controllers in SCIF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7793.dtsi | 30 ++ 1 file changed, 18 in

[PATCH 26/30] ARM: dts: r8a7794: Reference both DMA controllers in HSCIF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7794.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 25/30] ARM: dts: r8a7794: Reference both DMA controllers in SCIFB nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7794.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 29/30] ARM: dts: r8a7794: Reference both DMA controllers in SDHI nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7794.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH 30/30] ARM: dts: r8a7794: Reference both DMA controllers in QSPI node

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7794.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[PATCH 18/30] ARM: dts: r8a7791: Reference both DMA controllers in MMCIF node

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7791.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[PATCH 16/30] ARM: dts: r8a7791: Reference both DMA controllers in IIC nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7791.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 08/30] ARM: dts: r8a7790: Reference both DMA controllers in SDHI nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7790.dtsi | 20 1 file changed, 12 insertions(+

[PATCH 11/30] ARM: dts: r8a7791: Reference both DMA controllers in SCIFB nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7791.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 02/30] ARM: dts: r8a7790: Reference both DMA controllers in SCIFB nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7790.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 00/30] ARM: dts: r8a779[0-4]: Reference both DMA controllers

2016-03-10 Thread Niklas Söderlund
Hi, R-Car Gen2 have two DMA controllers, which are equivalent. However DMA slaves were tied only to a single DMA controller in .dtsi. This series add references to to both DMA controllers for all nodes that previously only referenced one of them. It also adds dma references to the SDHI nodes for r

[PATCH 03/30] ARM: dts: r8a7790: Reference both DMA controllers in HSCIF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7790.dtsi | 10 ++ 1 file changed, 6 insertions(+), 4 deleti

[PATCH 13/30] ARM: dts: r8a7791: Reference both DMA controllers in SCIF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7791.dtsi | 30 ++ 1 file changed, 18 in

[PATCH 12/30] ARM: dts: r8a7791: Reference both DMA controllers in HSCIF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7791.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 10/30] ARM: dts: r8a7791: Reference both DMA controllers in SCIFA nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7791.dtsi | 30 ++ 1 file changed, 18 in

[PATCH 09/30] ARM: dts: r8a7790: Reference both DMA controllers in MMCIF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7790.dtsi | 10 ++ 1 file changed, 6 insertions(+), 4 deleti

[PATCH 07/30] ARM: dts: r8a7790: Reference both DMA controllers in IIC nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7790.dtsi | 20 1 file changed, 12 insertions(+

[PATCH 01/30] ARM: dts: r8a7790: Reference both DMA controllers in SCIFA nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7790.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 d

[PATCH 04/30] ARM: dts: r8a7790: Reference both DMA controllers in SCIF nodes

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7790.dtsi | 10 ++ 1 file changed, 6 insertions(+), 4 deleti

[PATCH 06/30] ARM: dts: r8a7790: Reference both DMA controllers in QSPI node

2016-03-10 Thread Niklas Söderlund
R-Car Gen2 have two DMA controllers, which are equivalent. Add references to both dmac0 and dmac1 so the driver can fallback to the later if the first one is unavailable. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7790.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

Re: [PATCH v3 05/11] soc: renesas: rcar-sysc: Enable Clock Domain for r8a7795 I/O devices

2016-03-10 Thread Geert Uytterhoeven
Hi Laurent, On Thu, Mar 10, 2016 at 10:40 AM, Laurent Pinchart wrote: > On Wednesday 09 March 2016 20:18:41 Geert Uytterhoeven wrote: >> On R-Car H3, some power areas (e.g. A3VP) contain I/O devices, which are >> also part of the CPG/MSSR Clock Domain. Hook up the CPG/MSSR Clock >> Domain attach

Re: [PATCH 0/3] arm64: dts: r8a7795: SYSC PM Domain Updates

2016-03-10 Thread Laurent Pinchart
Hi Geert, Thank you for the patches. On Wednesday 09 March 2016 20:19:00 Geert Uytterhoeven wrote: > Hi all, > > This patch series contains DT updates related to v3 of the R-Car SYSC PM > Domain series: > - "[PATCH v3 0/7] PM / Domains: Add DT bindings for the R-Car System > Controll

Re: [PATCH v3 05/11] soc: renesas: rcar-sysc: Enable Clock Domain for r8a7795 I/O devices

2016-03-10 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Wednesday 09 March 2016 20:18:41 Geert Uytterhoeven wrote: > On R-Car H3, some power areas (e.g. A3VP) contain I/O devices, which are > also part of the CPG/MSSR Clock Domain. Hook up the CPG/MSSR Clock > Domain attach/detach callbacks to enable power manage

Re: [PATCH v3 04/11] soc: renesas: rcar-sysc: Make rcar_sysc_power_is_off() static

2016-03-10 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Wednesday 09 March 2016 20:18:40 Geert Uytterhoeven wrote: > As of commit b12ff41658171f53 ("ARM: shmobile: r8a7779: Remove legacy PM > Domain remainings"), rcar_sysc_power_is_off() is no longer used from > SoC-specific code. > > Signed-off-by: Geert Uytterh

Re: [PATCH v3 7/7] soc: renesas: Add r8a7795 SYSC PM Domain Binding Definitions

2016-03-10 Thread Laurent Pinchart
Hi Geert, On Thursday 10 March 2016 09:17:40 Geert Uytterhoeven wrote: > On Thu, Mar 10, 2016 at 3:32 AM, Laurent Pinchart wrote: > > On Wednesday 09 March 2016 20:18:42 Geert Uytterhoeven wrote: > >> Signed-off-by: Geert Uytterhoeven > >> > >> --- /dev/null > >> +++ b/include/dt-bindings/power/

Re: [PATCH v3 3/7] soc: renesas: Add r8a7790 SYSC PM Domain Binding Definitions

2016-03-10 Thread Geert Uytterhoeven
Hi Laurent, On Thu, Mar 10, 2016 at 7:57 AM, Laurent Pinchart wrote: >> --- /dev/null >> +++ b/include/dt-bindings/power/r8a7790-sysc.h >> @@ -0,0 +1,31 @@ >> +#define R8A7790_PD_SH16 > > The power domain is called SH-4A in the datasheet, how about naming it > R8A7790_PD_

Re: [PATCH v3 1/7] PM / Domains: Add DT bindings for the R-Car System Controller

2016-03-10 Thread Geert Uytterhoeven
On Thu, Mar 10, 2016 at 3:24 AM, Laurent Pinchart wrote: > On Wednesday 09 March 2016 20:18:36 Geert Uytterhoeven wrote: >> The Renesas R-Car System Controller provides power management for the >> CPU cores and various coprocessors, following the generic PM domain >> bindings in Documentation/devi

Re: [PATCH v3 7/7] soc: renesas: Add r8a7795 SYSC PM Domain Binding Definitions

2016-03-10 Thread Geert Uytterhoeven
Hi Laurent, On Thu, Mar 10, 2016 at 3:32 AM, Laurent Pinchart wrote: > On Wednesday 09 March 2016 20:18:42 Geert Uytterhoeven wrote: >> Signed-off-by: Geert Uytterhoeven >> --- /dev/null >> +++ b/include/dt-bindings/power/r8a7795-sysc.h >> @@ -0,0 +1,42 @@ >> +/* Always-on power area */ >> +#d

Re: [PATCH v3 5/7] soc: renesas: Add r8a7793 SYSC PM Domain Binding Definitions

2016-03-10 Thread Geert Uytterhoeven
Hi Laurent, On Thu, Mar 10, 2016 at 7:59 AM, Laurent Pinchart wrote: > On Wednesday 09 March 2016 20:18:40 Geert Uytterhoeven wrote: >> R-Car M2-N is identical to R-Car M2-W w.r.t. power domains, so reuse the >> definitions from the latter. >> >> Signed-off-by: Geert Uytterhoeven >> --- /dev/nu

Re: [PATCH v3 2/7] soc: renesas: Add r8a7779 SYSC PM Domain Binding Definitions

2016-03-10 Thread Geert Uytterhoeven
Hi Laurent, On Thu, Mar 10, 2016 at 3:40 AM, Laurent Pinchart wrote: > On Wednesday 09 March 2016 20:18:37 Geert Uytterhoeven wrote: >> --- /dev/null >> +++ b/include/dt-bindings/power/r8a7779-sysc.h >> +#define R8A7779_PD_SH16 > > I don't see this power domain in version