[PATCH] ARM: shmobile: r8a7740: Remove obsolete #include

2016-02-09 Thread Geert Uytterhoeven
As of commit 540977ae9746e60c ("ARM: shmobile: r8a7740: Migrate to generic l2c OF initialization"), no l2x0 functionality is used from platform code, so the include can be removed. Signed-off-by: Geert Uytterhoeven --- As you plan to respin renesas-dt-for-v4.6, perhaps

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

2016-02-09 Thread Simon Horman
On Tue, Feb 09, 2016 at 08:39:31AM +0100, Geert Uytterhoeven wrote: > Hi Olof, > > On Mon, Feb 8, 2016 at 10:51 PM, Olof Johansson wrote: > > On Thu, Feb 04, 2016 at 03:30:02PM +0100, Simon Horman wrote: > >> Please consider these Renesas ARM based SoC DT updates for v4.6. > >> >

Re: [PATCH 0/2] ARM: shmobile: Remove legacy machine_desc.map_io() callbacks

2016-02-09 Thread Simon Horman
On Mon, Feb 08, 2016 at 04:03:29PM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Tue, Feb 2, 2016 at 3:07 PM, Simon Horman wrote: > > On Thu, Jan 28, 2016 at 04:17:24PM +0100, Geert Uytterhoeven wrote: > >> This patch series removes the legacy machine_desc.map_io()

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

2016-02-09 Thread Sergei Shtylyov
Hello. On 02/09/2016 10:50 PM, Simon Horman wrote: Define the generic R8A7794 part of the sound device node. This sound device is a complex one and comprises the Audio Clock Generator (ADG), Sampling Rate Converter Unit (SCU), Serial Sound Interface [Unit] (SSI[U]), and Audio

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

2016-02-09 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.

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

2016-02-09 Thread Sergei Shtylyov
On 2/9/2016 3:08 AM, Kuninori Morimoto wrote: Define the generic R8A7794 part of the sound device node. This sound device is a complex one and comprises the Audio Clock Generator (ADG), Sampling Rate Converter Unit (SCU), Serial Sound Interface [Unit] (SSI[U]), and Audio

[PATCH v2 0/2] Factor out register bit twiddling in the Renesas Ethernet drivers

2016-02-09 Thread Sergei Shtylyov
Hello. Here's a set of 2 patches against DaveM's 'net-next.git' repo. We factor out the often repeated pattern of reading a register, AND'ing and/or OR'ing some bits, and then writing the value back. [1/2] ravb: factor out register bit twiddling code [2/2] sh_eth: factor out register bit

[PATCH v2 1/2] ravb: factor out register bit twiddling code

2016-02-09 Thread Sergei Shtylyov
The driver has often repeated pattern of reading a register, AND'ing and/or OR'ing some bits and writing the value back. Factor the pattern out into ravb_modify() -- this saves 260 bytes of code with ARM gcc 4.7.3. While at it, update Cogent Embedded's copyrights. Signed-off-by: Sergei

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

2016-02-09 Thread Sergei Shtylyov
Define the generic R8A7794 part of the sound device node. This sound device is a complex one and comprises the Audio Clock Generator (ADG), Sampling Rate Converter Unit (SCU), Serial Sound Interface [Unit] (SSI[U]), and Audio DMAC-Peripheral-Peripheral. It is up to the board file to enable the

Re: [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT

2016-02-09 Thread Eduardo Valentin
On Tue, Feb 09, 2016 at 01:33:17PM -0800, Eduardo Valentin wrote: > On Tue, Feb 09, 2016 at 01:56:19AM +, Kuninori Morimoto wrote: > > > > Hi Eduardo > > > > I'm sorry I didn't mention you. > > Can you please check these patches ? > > Yes Morimoto, they are now on my todo list. Applied

Re: [PATCH 0/3] ARM: shmobile: Sparse warning fixes

2016-02-09 Thread Simon Horman
On Mon, Feb 08, 2016 at 04:07:28PM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Tue, Feb 2, 2016 at 2:56 PM, Simon Horman wrote: > > On Thu, Jan 28, 2016 at 04:20:46PM +0100, Geert Uytterhoeven wrote: > >> This series contains several fixes for sparse warnings, seen

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

2016-02-09 Thread Simon Horman
On Tue, Feb 09, 2016 at 02:04:07AM +0300, Sergei Shtylyov wrote: > Define the generic R8A7794 part of the sound device node. > This sound device is a complex one and comprises the Audio Clock Generator > (ADG), Sampling Rate Converter Unit (SCU), Serial Sound Interface [Unit] > (SSI[U]), and

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

2016-02-09 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 --- drivers/dma/sh/rcar-dmac.c | 37

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

2016-02-09 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 --- drivers/dma/sh/rcar-dmac.c | 57 ++ 1 file changed, 52 insertions(+),

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

2016-02-09 Thread Niklas Söderlund
Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/r8a7790.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 7dfd393..048bbf8 100644 ---

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

2016-02-09 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 --- arch/arm/mm/dma-mapping.c | 63

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

2016-02-09 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.

[PATCH] iommu: fix second argument of trace_map() to report correct paddr

2016-02-09 Thread Yoshihiro Shimoda
Since iommu_map() code added pgsize value to the paddr, trace_map() used wrong paddr. So, this patch adds "orig_paddr" value in the iommu_map() to use for the trace_map(). Signed-off-by: Yoshihiro Shimoda --- drivers/iommu/iommu.c | 3 ++- 1 file changed, 2

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

2016-02-09 Thread Kuninori Morimoto
Hi Sergei, again > Define the generic R8A7794 part of the sound device node. > This sound device is a complex one and comprises the Audio Clock Generator > (ADG), Sampling Rate Converter Unit (SCU), Serial Sound Interface [Unit] > (SSI[U]), and Audio DMAC-Peripheral-Peripheral. > It is up to