Re: [PATCH/RFC v2 05/11] soc: renesas: rcar: Handle clock domain devices in SYSC PM domains

2016-02-16 Thread Laurent Pinchart
Hi Geert, On Tuesday 16 February 2016 08:30:03 Geert Uytterhoeven wrote: > On Mon, Feb 15, 2016 at 11:08 PM, Laurent Pinchart wrote: > > On Monday 15 February 2016 22:16:54 Geert Uytterhoeven wrote: > >> R-Car H3 contains some hardware modules (e.g. VSP and FCP_V) that are > >> not only located in

Re: [PATCH/RFC] gpio: rcar: Add Runtime PM handling for interrupts

2016-02-16 Thread Jon Hunter
Hi Geert, On 09/02/16 15:19, Geert Uytterhoeven wrote: > The R-Car GPIO driver handles Runtime PM for requested GPIOs only. > > When using a GPIO purely as an interrupt source, no Runtime PM handling > is done, and the GPIO module's clock may not be enabled. > > To fix this: > - Add .irq_reque

Re: [PATCH v3 6/7] arm64: dts: r8a7795: Add missing properties to CA57 L2 cache node

2016-02-16 Thread Sudeep Holla
On 16/02/16 06:40, Dirk Behme wrote: On 15.02.2016 21:38, Geert Uytterhoeven wrote: Add the missing "cache-unified" and "cache-level" properties to the Cortex-A57 cache-controller node. Signed-off-by: Geert Uytterhoeven --- v3: - Remaining part of "[PATCH v2 6/6] arm64: renesas: r8a7795:

[PATCH v2] arm64: dts: r8a7795: Add GIC-400 virtual interfaces

2016-02-16 Thread Dirk Behme
Besides the distributor and the CPU interface the GIC-400 additionally supports the virtual interface control blocks and the virtual CPU interfaces. Add the physical base addresses and size for these. See http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0471b/index.html -> 3.2. GIC

Re: [PATCH v3 7/7] arm64: dts: r8a7795: Add CA53 L2 cache-controller node

2016-02-16 Thread Sudeep Holla
On 16/02/16 07:12, Geert Uytterhoeven wrote: Hi Dirk, On Tue, Feb 16, 2016 at 7:44 AM, Dirk Behme wrote: [...] As we don't have any CA53 in the device tree yet, and it was rejected to add it, I'd think that we don't want these unused entries at the moment. This is a preparatory step fo

Re: [PATCH v3 6/7] arm64: dts: r8a7795: Add missing properties to CA57 L2 cache node

2016-02-16 Thread Dirk Behme
On 16.02.2016 10:43, Sudeep Holla wrote: On 16/02/16 06:40, Dirk Behme wrote: On 15.02.2016 21:38, Geert Uytterhoeven wrote: Add the missing "cache-unified" and "cache-level" properties to the Cortex-A57 cache-controller node. Signed-off-by: Geert Uytterhoeven --- v3: - Remaining part of

Re: [PATCH v2] arm64: dts: r8a7795: Add GIC-400 virtual interfaces

2016-02-16 Thread Geert Uytterhoeven
CC Marc On Tue, Feb 16, 2016 at 10:43 AM, Dirk Behme wrote: > Besides the distributor and the CPU interface the GIC-400 additionally > supports the virtual interface control blocks and the virtual CPU interfaces. > > Add the physical base addresses and size for these. > > See > > http://infocente

Re: [PATCH] ARM: dts: r8a7794: replace gpio-key,wakeup with wakeup-source property

2016-02-16 Thread Sudeep Holla
On 15/02/16 21:48, Simon Horman wrote: Though the keyboard driver for GPIO buttons(gpio-keys) will continue to check for/support the legacy "gpio-key,wakeup" boolean property to enable gpio buttons as wakeup source, "wakeup-source" is the new standard binding. This patch replaces the legacy "g

[PATCH -next] gpio: Use kzalloc() to allocate struct gpio_device to fix crash

2016-02-16 Thread Geert Uytterhoeven
gpiochip_add_data() allocates the struct gpio_device using kmalloc(), which doesn't zero the returned memory. Hence when calling dev_set_name(), it may try to free a bogus old name, causing a crash: Unable to handle kernel NULL pointer dereference at virtual address ... Backt

Re: ravb: Possible Regression In "net: phy: Avoid polling PHY with PHY_IGNORE_INTERRUPTS"

2016-02-16 Thread Sergei Shtylyov
Hello. On 2/16/2016 10:42 AM, Geert Uytterhoeven wrote: I have observed what appears to be a regression in the ravb ethernet driver caused by d5c3d84657db ("net: phy: Avoid polling PHY with PHY_IGNORE_INTERRUPTS"). When booting net-next configured with the ARM64 defconfig on the Renesas r8a779

Re: [PATCH 01/02] arm64: dts: r8a7795: Add INTC-EX device node

2016-02-16 Thread Geert Uytterhoeven
On Tue, Feb 16, 2016 at 3:26 AM, Magnus Damm wrote: > From: Magnus Damm > > Add a single r8a7795 INTC-EX device node to support > external IRQ pins IRQ0 -> IRQ5. > > Signed-off-by: Magnus Damm Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeve

Re: [PATCH 02/02] arm64: renesas: Enable RENESAS_IRQC

2016-02-16 Thread Geert Uytterhoeven
On Tue, Feb 16, 2016 at 3:26 AM, Magnus Damm wrote: > From: Magnus Damm > > Select RENESAS_IRQC for Arm64 SoCs from Renesas to enable > build of drivers/irqchip/irq-renesas-irqc.c. > > Signed-off-by: Magnus Damm Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -

Re: [PATCH v3 1/8] iommu: Add MMIO mapping type

2016-02-16 Thread Niklas Söderlund
Hi Robin, Thanks for your update patch I will include it in my next version. But I'm sorry I do not understand, is your modification an addition or a substitution to your original patch? * Robin Murphy [2016-02-11 15:57:26 +]: > On 11/02/16 00:02, Laurent Pinchart wrote: > >Hi Niklas, > > >

Re: [PATCH v3 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings

2016-02-16 Thread Sergei Shtylyov
Hello. On 2/16/2016 10:18 AM, Magnus Damm wrote: From: Magnus Damm Remove the 32-bit CMT compat strings to reduce maintenance burden. It should be fine to break DT compatibility because the 32-bit 32-bit CMT DT binding was never part of any upstream DTS file. s/32-bit//. Once is enough.

renesas-drivers-2016-02-16-v4.5-rc4

2016-02-16 Thread Geert Uytterhoeven
branches of various subsystem trees and (b) branches with driver code submitted or planned for submission to maintainers into the development branch of Simon Horman's renesas.git tree. Today's version is based on renesas-devel-20160216-v4.5-rc4. Included branches with driver code: - sh-pfc

Re: [PATCH v3 1/8] iommu: Add MMIO mapping type

2016-02-16 Thread Robin Murphy
On 16/02/16 12:06, Niklas Söderlund wrote: Hi Robin, Thanks for your update patch I will include it in my next version. But I'm sorry I do not understand, is your modification an addition or a substitution to your original patch? Apologies for being confusing - that was a diff on top of the ex

Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings

2016-02-16 Thread Geert Uytterhoeven
On Tue, Feb 16, 2016 at 8:17 AM, Magnus Damm wrote: > From: Magnus Damm > > Add documentation for new separate CMT0 and CMT1 DT compatible strings > for R-Car Gen2. These compat strings allow us to enable CMT1-specific > features in the driver. The old compat strings will be deprecated in > the n

Re: [PATCH] pinctrl: sh-pfc: r8a7795: Add support for INTC-EX IRQ pins

2016-02-16 Thread Geert Uytterhoeven
On Mon, Feb 15, 2016 at 1:17 PM, Magnus Damm wrote: > From: Magnus Damm > > Most pins on the r8a7795 SoC can be configured in GPIO mode for > interrupt and GPIO functionality, while a couple of them can also > be routed to the INTC-EX hardware block (formerly known as IRQC). > > On r8a7795 the IN

Re: [PATCH v3 1/8] iommu: Add MMIO mapping type

2016-02-16 Thread Niklas Söderlund
* Robin Murphy [2016-02-16 12:43:40 +]: > On 16/02/16 12:06, Niklas Söderlund wrote: > >Hi Robin, > > > >Thanks for your update patch I will include it in my next version. But > >I'm sorry I do not understand, is your modification an addition or a > >substitution to your original patch? > > A

[PATCH 00/16] drm crtc cleanup: nuke optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Carlos Palminha (16): drm: fixes crct set_mode when crtc mode_fixup is null. drm/cirrus: removed optional dummy crtc mode_fixup function. drm/mgag200: removed optional dummy crtc

[PATCH 03/16] drm/mgag200: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/mgag200/mgag200_mode.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c b/

[PATCH 02/16] drm/cirrus: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/cirrus/cirrus_mode.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/cirrus/cirrus_mode.c b/driv

[PATCH 01/16] drm: fixes crct set_mode when crtc mode_fixup is null.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/drm_crtc_helper.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b

[PATCH 09/16] drm/shmobile: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c b/d

[PATCH 05/16] drm/gma: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/gma500/cdv_intel_display.c | 13 ++--- drivers/gpu/drm/gma500/gma_display.c | 7 --- drivers/gpu/drm/gma500/

[PATCH 08/16] drm/msm/mdp: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 8 drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 8 2 files changed, 16 deletions(-) dif

[PATCH 06/16] drm/rcar-du: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c b/driver

[PATCH 07/16] drm/omapdrm: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/omapdrm/omap_crtc.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/d

[PATCH 12/16] drm/nouveau/dispnv04: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/nouveau/dispnv04/crtc.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv04/crtc.c b/drive

[PATCH 13/16] drm/virtio: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/virtio/virtgpu_display.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/dri

[PATCH 04/16] drm/udl: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/udl/udl_modeset.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/

[PATCH 10/16] drm/sti: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/sti/sti_crtc.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_crtc.c b/drivers/gpu/drm/sti/sti

[PATCH 14/16] drm/fsl-dcu: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c b

[PATCH 11/16] drm/atmel-hldcd: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_

[PATCH 16/16] drm/ast: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/ast/ast_mode.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_

[PATCH 15/16] drm/bochs: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Carlos Palminha
This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/bochs/bochs_kms.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_kms.c b/drivers/gpu/drm/b

Re: [PATCH 01/16] drm: fixes crct set_mode when crtc mode_fixup is null.

2016-02-16 Thread Daniel Vetter
On Tue, Feb 16, 2016 at 02:10:03PM +, Carlos Palminha wrote: > This patch set nukes all the dummy crtc mode_fixup implementations. > (made on top of Daniel topic/drm-misc branch) > > Signed-off-by: Carlos Palminha Applied this one to drm-misc. I'll let the others hang out there for a bit mor

Re: [PATCH 01/16] drm: fixes crct set_mode when crtc mode_fixup is null.

2016-02-16 Thread Carlos Palminha
Thanks! On 16-02-2016 14:37, Daniel Vetter wrote: > On Tue, Feb 16, 2016 at 02:10:03PM +, Carlos Palminha wrote: >> This patch set nukes all the dummy crtc mode_fixup implementations. >> (made on top of Daniel topic/drm-misc branch) >> >> Signed-off-by: Carlos Palminha > > Applied this one t

[PATCH 0/4] Enable PM and PM_GENERIC_DOMAINS for SoCs with PM Domains

2016-02-16 Thread Geert Uytterhoeven
Hi Simon, Magnus, All supported Renesas ARM SoCs (except for Emma Mobile EV2) have clock domains. Some SoCs also have power domains. To ensure proper operation of on-SoC modules, module clocks must be ungated, and power domains must be powered up when needed. Currently the user can choose

[PATCH 1/4] ARM: shmobile: Enable PM and PM_GENERIC_DOMAINS for SoCs with PM Domains

2016-02-16 Thread Geert Uytterhoeven
All supported Renesas ARM SoCs (except for Emma Mobile EV2) have clock domains. Some SoCs also have power domains. To ensure proper operation of on-SoC modules, module clocks must be ungated, and power domains must be powered up when needed. Currently the user can choose to build a kernel with pow

[PATCH 3/4] drivers: sh: Stop using the legacy clock domain on ARM

2016-02-16 Thread Geert Uytterhoeven
Now CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS are enabled unconditionally for Renesas ARM-based SoCs, the legacy clock domain is no longer used on these SoCs. Remove the related support code, and stop entering drivers/sh/ on ARM. Signed-off-by: Geert Uytterhoeven --- Notes: - This does break boot

[PATCH 2/4] arm64: renesas: Enable PM and PM_GENERIC_DOMAINS for SoCs with PM Domains

2016-02-16 Thread Geert Uytterhoeven
All supported Renesas ARM64 SoCs have clock and power domains. To ensure proper operation of on-SoC modules, module clocks must be ungated, and power domains must be powered up when needed. Currently the user can choose to build a kernel with power management enabled or disabled: - If CONFIG_PM=

[PATCH 4/4] MAINTAINERS: Drop drivers/sh/ for Renesas ARM

2016-02-16 Thread Geert Uytterhoeven
None of the code under drivers/sh/ is used anymore on Renesas ARM. Signed-off-by: Geert Uytterhoeven --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index cc2f753cb357a067..a1d03cb4cab49fae 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1558,7 +1558,6

Re: [PATCH RESEND 1/3] mmc: sdhi: Add r8a7795 support

2016-02-16 Thread Ulf Hansson
On 15 February 2016 at 16:01, Wolfram Sang wrote: > From: Wolfram Sang > > Registers are 64bit apart, so we refactor bus_shift handling a little and set > it based on the DT compatible. Also, EXT_ACC is different. It has been tested > on a Salvator-X (Gen3) and, to check for regressions, on a Lag

Re: [PATCH] serial: sh-sci: Remove redundant instances of EARLYCON_DECLARE()

2016-02-16 Thread Peter Hurley
On 02/15/2016 04:36 AM, Geert Uytterhoeven wrote: > As of commit 2eaa790989e03900 ("earlycon: Use common framework for > earlycon declarations") it is no longer needer to specify both > EARLYCON_DECLARE() and OF_EARLYCON_DECLARE(). Reviewed-by: Peter Hurley

Re: [PATCH 11/16] drm/atmel-hldcd: removed optional dummy crtc mode_fixup function.

2016-02-16 Thread Boris Brezillon
On Tue, 16 Feb 2016 14:19:06 + Carlos Palminha wrote: > This patch set nukes all the dummy crtc mode_fixup implementations. > (made on top of Daniel topic/drm-misc branch) There's 2 typos in the subject line (s/hldcd/hlcdc/ and s/removed/remove/), and you're removing an empty line after atme

Re: [PATCH 01/16] drm: fixes crct set_mode when crtc mode_fixup is null.

2016-02-16 Thread Sergei Shtylyov
Hello. On 02/16/2016 05:10 PM, Carlos Palminha wrote: This patch set nukes all the dummy crtc mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Signed-off-by: Carlos Palminha --- drivers/gpu/drm/drm_crtc_helper.c | 9 ++--- 1 file changed, 6 insertions(+), 3 del

Re: [PATCH 01/16] drm: fixes crct set_mode when crtc mode_fixup is null.

2016-02-16 Thread Daniel Vetter
On Tue, Feb 16, 2016 at 08:37:29PM +0300, Sergei Shtylyov wrote: > Hello. > > On 02/16/2016 05:10 PM, Carlos Palminha wrote: > > >This patch set nukes all the dummy crtc mode_fixup implementations. > >(made on top of Daniel topic/drm-misc branch) > > > >Signed-off-by: Carlos Palminha > >--- > >

Re: [PATCH 0/2] ravb: fix the fallout of R-Car gen3 gPTP support

2016-02-16 Thread David Miller
From: Sergei Shtylyov Date: Sat, 06 Feb 2016 17:45:37 +0300 >Here's a set of 2 patches against DaveM's 'net.git' repo fixing up the > incomplete commit f5d7837f96e5 ("ravb: ptp: Add CONFIG mode support"). > I'm proposing these as fixes but they can be merged as cleanups as well... > > [1/2]

[PATCH v4 7/8] ARM: dts: r8a7790: add iommus to dmac0 and dmac1

2016-02-16 Thread Niklas Söderlund
A unconfirmed hardware bug prevents channel 0 and 15 to be used by the DMAC together with the IPMMU. The DMAC driver will disable the channels reducing the effective number of channels to 14 per DMAC. Signed-off-by: Niklas Söderlund Acked-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7790.dtsi

[PATCH v4 1/8] iommu: Add MMIO mapping type

2016-02-16 Thread Niklas Söderlund
From: Robin Murphy On some platforms, MMIO regions might need slightly different treatment compared to mapping regular memory; add the notion of MMIO mappings to the IOMMU API's memory type flags, so that callers can let the IOMMU drivers know to do the right thing. Signed-off-by: Robin Murphy

Re: [PATCH] dmaengine: use phys_addr_t for slave configuration

2016-02-16 Thread Niklas Söderlund
On 2016-02-15 23:00:53 +0530, Vinod Koul wrote: > On Tue, Feb 09, 2016 at 11:57:24PM +0100, Wolfram Sang wrote: > > > > > This is a dependency for adding iommu support to the rcar-dmac driver, > > > cfr. > > > "[PATCH v2 0/5] dmaengine: rcar-dmac: add iommu support for slave > > > transfers". > >

[PATCH v4 6/8] dmaengine: rcar-dmac: add iommu support for slave transfers

2016-02-16 Thread Niklas Söderlund
Enable slave transfers to devices behind IPMMU:s by mapping the slave addresses using the dma-mapping API. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart --- drivers/dma/sh/rcar-dmac.c | 52 +- 1 file changed, 47 insertions(+), 5 deleti

[PATCH v4 5/8] dmaengine: rcar-dmac: group slave configuration

2016-02-16 Thread Niklas Söderlund
Group slave address and transfer size in own structs for source and destination. This is in preparation for hooking up the dma-mapping API to the slave addresses. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart --- drivers/dma/sh/rcar-dmac.c | 37 +-

[PATCH v4 4/8] arm: dma-mapping: add {map,unmap}_resource for iommu ops

2016-02-16 Thread Niklas Söderlund
Add methods to map/unmap device resources addresses for dma_map_ops that are IOMMU aware. This is needed to map a device MMIO register from a physical address. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart --- arch/arm/mm/dma-mapping.c | 63 ++

[PATCH v4 3/8] dma-mapping: add dma_{map,unmap}_resource

2016-02-16 Thread Niklas Söderlund
Map/Unmap a device resource from a physical address. If no dma_map_ops method is available the operation is a no-op. Signed-off-by: Niklas Söderlund --- include/linux/dma-mapping.h | 32 1 file changed, 32 insertions(+) diff --git a/include/linux/dma-mapping.h b

[PATCH v4 8/8] ARM: dts: r8a7791: add iommus to dmac0 and dmac1

2016-02-16 Thread Niklas Söderlund
A unconfirmed hardware bug prevents channel 0 and 15 to be used by the DMAC together with the IPMMU. The DMAC driver will disable the channels reducing the effective number of channels to 14 per DMAC. Signed-off-by: Niklas Söderlund Acked-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7791.dtsi

[PATCH v4 2/8] dma-mapping: add {map,unmap}_resource to dma_map_ops

2016-02-16 Thread Niklas Söderlund
Add methods to handle mapping of device resources from a physical address. This is needed for example to be able to map MMIO FIFO registers to a IOMMU. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart --- include/linux/dma-mapping.h | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCH v4 0/8] dmaengine: rcar-dmac: add iommu support for slave transfers

2016-02-16 Thread Niklas Söderlund
Hi, This series add iommu support to rcar-dmac. It's tested on Koelsch with CONFIG_IPMMU_VMSA and by enabling the ipmmu_ds node in r8a7791.dtsi. I verified operation by interacting with /dev/mmcblk1 which is a device behind the iommu. The series depends on out of tree patch '[PATCH] dmaengine: u

Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings

2016-02-16 Thread Magnus Damm
Hi Geert, On Tue, Feb 16, 2016 at 10:11 PM, Geert Uytterhoeven wrote: > On Tue, Feb 16, 2016 at 8:17 AM, Magnus Damm wrote: >> From: Magnus Damm >> >> Add documentation for new separate CMT0 and CMT1 DT compatible strings >> for R-Car Gen2. These compat strings allow us to enable CMT1-specific

Re: [PATCH v2 5/5] ARM: dts: r8a7794: add sound support

2016-02-16 Thread Simon Horman
On Fri, Feb 12, 2016 at 10:57:06PM +0300, Sergei Shtylyov wrote: > On 02/12/2016 10:33 PM, Simon Horman wrote: > > >>Sorry for my un-ordered response > >> > >>>Define the generic R8A7794 part of the sound device node. > >>>This sound device is a complex one and comprises the Audi

Re: [PATCH v3 0/7] ARM/arm64: dts: renesas: Add/complete L2 cache-controller nodes

2016-02-16 Thread Simon Horman
On Mon, Feb 15, 2016 at 09:38:28PM +0100, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > This patch series adds the missing L2 cache-controller nodes to the > DTSes for various Renesas ARM-based SoCs, or completes the existing > nodes, and links the CPU nodes to them. > > For R-Mobile AP

Re: [PATCH] ARM: dts: r8a7794: replace gpio-key,wakeup with wakeup-source property

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 09:56:54AM +, Sudeep Holla wrote: > > > On 15/02/16 21:48, Simon Horman wrote: > >Though the keyboard driver for GPIO buttons(gpio-keys) will continue to > >check for/support the legacy "gpio-key,wakeup" boolean property to > >enable gpio buttons as wakeup source, "wak

Re: [PATCH 00/02] arm64: r8a7795 INTC-EX support using RENESAS_IRQC

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 11:26:35AM +0900, Magnus Damm wrote: > arm64: r8a7795 INTC-EX support using RENESAS_IRQC > > [PATCH 01/02] arm64: dts: r8a7795: Add INTC-EX device node > [PATCH 02/02] arm64: renesas: Enable RENESAS_IRQC > > These two patches add the INTC-EX device node to the r8a7795 DTSI

Re: [PATCH v3 01/06] devicetree: bindings: Remove sh7372 CMT binding

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 04:17:31PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Remove the sh7372 CMT compat string to reduce maintenance burden. > > It should be fine to break DT compatibility because: > 1) The sh7372 SoC support has been removed from upstream > 2) The sh7372 CMT DT bindin

Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings

2016-02-16 Thread Simon Horman
On Wed, Feb 17, 2016 at 11:33:27AM +0900, Magnus Damm wrote: > Hi Geert, > > On Tue, Feb 16, 2016 at 10:11 PM, Geert Uytterhoeven > wrote: > > On Tue, Feb 16, 2016 at 8:17 AM, Magnus Damm wrote: > >> From: Magnus Damm > >> > >> Add documentation for new separate CMT0 and CMT1 DT compatible stri

Re: [PATCH v3 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 04:18:09PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Remove the 32-bit CMT compat strings to reduce maintenance burden. > > It should be fine to break DT compatibility because the 32-bit > 32-bit CMT DT binding was never part of any upstream DTS file. > > Signed-

Re: [PATCH v3 06/06] devicetree: bindings: Remove deprecated properties

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 04:18:19PM +0900, Magnus Damm wrote: > From: Magnus Damm > > The deprecated DT properties are part of the GIT history, > no need to keep them around any longer. > > Signed-off-by: Magnus Damm > Acked-by: Rob Herring > Acked-by: Geert Uytterhoeven Acked-by: Simon Horma

Re: [PATCH v3 04/06] devicetree: bindings: Deprecate property, update example

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 04:17:59PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Deprecate "renesas,channels-mask" and update the r8a7790 CMT example. > > Signed-off-by: Magnus Damm > Acked-by: Geert Uytterhoeven > Acked-by: Laurent Pinchart > Acked-by: Rob Herring Acked-by: Simon Horma

Re: [PATCH v2] arm64: dts: r8a7795: Add GIC-400 virtual interfaces

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 10:55:37AM +0100, Geert Uytterhoeven wrote: > CC Marc > > On Tue, Feb 16, 2016 at 10:43 AM, Dirk Behme wrote: > > Besides the distributor and the CPU interface the GIC-400 additionally > > supports the virtual interface control blocks and the virtual CPU > > interfaces. >

Re: ravb: Possible Regression In "net: phy: Avoid polling PHY with PHY_IGNORE_INTERRUPTS"

2016-02-16 Thread Florian Fainelli
On February 16, 2016 3:06:55 AM PST, Sergei Shtylyov wrote: >Hello. > >On 2/16/2016 10:42 AM, Geert Uytterhoeven wrote: > >>> I have observed what appears to be a regression in the ravb ethernet >driver >>> caused by d5c3d84657db ("net: phy: Avoid polling PHY with >>> PHY_IGNORE_INTERRUPTS"). >>>

Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings

2016-02-16 Thread Magnus Damm
Hi Simon, On Wed, Feb 17, 2016 at 3:28 PM, Simon Horman wrote: > On Wed, Feb 17, 2016 at 11:33:27AM +0900, Magnus Damm wrote: >> Hi Geert, >> >> On Tue, Feb 16, 2016 at 10:11 PM, Geert Uytterhoeven >> wrote: >> > On Tue, Feb 16, 2016 at 8:17 AM, Magnus Damm wrote: >> >> From: Magnus Damm >> >>

Re: [PATCH 00/02] arm64: r8a7795 INTC-EX support using RENESAS_IRQC

2016-02-16 Thread Magnus Damm
Hi Simon, On Wed, Feb 17, 2016 at 2:56 PM, Simon Horman wrote: > On Tue, Feb 16, 2016 at 11:26:35AM +0900, Magnus Damm wrote: >> arm64: r8a7795 INTC-EX support using RENESAS_IRQC >> >> [PATCH 01/02] arm64: dts: r8a7795: Add INTC-EX device node >> [PATCH 02/02] arm64: renesas: Enable RENESAS_IRQC

Re: [GIT PULL] Renesas ARM Based SoC Updates for v4.6

2016-02-16 Thread Simon Horman
Hi, On Fri, Feb 12, 2016 at 08:06:22PM +0100, Simon Horman wrote: > Hi Olof, Hi Kevin, Hi Arnd, > > Please consider these Renesas ARM based SoC updates for v4.6. > > This pull request is based on "Renesas ARM Based SoC Cleanup for v4.6", > tagged as cleanup-for-v4.6, which you have already pulle