[PATCH v4 00/15] ARM: shmobile: move DMAC configuration data in the driver

From: Guennadi Liakhovetski
Date: Tue Jul 23 2013 - 06:53:03 EST


An updated version of an shdma driver platform driver conversion and Device
Tree support. No functional changes since v2/v3, just made some structs
const, updated documentation, removed an unused generic DT match entry,
adjusted file order in the Makefile.

Patch 9 "DMA: shdma: support referencing specific DMACs within a
multiplexer in DT" is actually an RFC. It proposes a method to support
referencing a specific DMAC ninstance within a multiplexer DT node from
slave DT nodes. As described in the documentation, the idea is to add a
"#dma-cells" property to DMAC instances, that has to be made available
for such targeted channel allocation. AFAICS, this is the only way to
support both muxed and targeted referencing without core code
modifications.

Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@xxxxxxxxx>

Guennadi Liakhovetski (15):
DMA: shdma: add support for DMAC configuration data, supplied via
device ID
DMA: shdma: add r8a7740 DMAC data to the device ID table
DMA: shdma: add r8a73a4 DMAC data to the device ID table
DMA: shdma: make a pointer const
DMA: shdma: pass SoC-specific configuration to the driver via OF
matching
DMA: shdma: make multiplexer platform data optional
DMA: shdma: add sh73a0 DMAC data to the device ID table
DMA: shdma: move two macros to a header
DMA: shdma: support referencing specific DMACs within a multiplexer
in DT
ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it
ARM: shmobile: r8a7740: switch DMAC controllers to using device ID
data
ARM: shmobile: r8a7740: add DT nodes and clock aliases for three DMAC
instances
ARM: shmobile: r8a73a4: add a DT node and a clock alias for the DMAC
ARM: shmobile: sh73a0: switch DMAC controllers to using device ID
data
ARM: shmobile: r8a7740: add support for 2 RTDMACs

Documentation/devicetree/bindings/dma/shdma.txt | 23 +++-
arch/arm/boot/dts/r8a73a4.dtsi | 43 ++++++
arch/arm/boot/dts/r8a7740.dtsi | 95 ++++++++++++
arch/arm/mach-shmobile/clock-r8a73a4.c | 5 +-
arch/arm/mach-shmobile/clock-r8a7740.c | 17 ++-
arch/arm/mach-shmobile/clock-sh73a0.c | 2 +-
arch/arm/mach-shmobile/include/mach/r8a73a4.h | 9 +
arch/arm/mach-shmobile/setup-r8a73a4.c | 17 ++
arch/arm/mach-shmobile/setup-r8a7740.c | 178 +++++++++-------------
arch/arm/mach-shmobile/setup-sh73a0.c | 182 +----------------------
drivers/dma/sh/Kconfig | 12 ++
drivers/dma/sh/Makefile | 5 +
drivers/dma/sh/shdma-base.c | 3 -
drivers/dma/sh/shdma-of.c | 5 -
drivers/dma/sh/shdma-r8a73a4.c | 75 +++++++++
drivers/dma/sh/shdma-r8a7740.c | 95 ++++++++++++
drivers/dma/sh/shdma-sh73a0.c | 181 ++++++++++++++++++++++
drivers/dma/sh/shdma.h | 30 ++++-
drivers/dma/sh/{shdma.c => shdmac.c} | 104 ++++++++++++-
include/linux/shdma-base.h | 3 +
20 files changed, 775 insertions(+), 309 deletions(-)
create mode 100644 drivers/dma/sh/shdma-r8a73a4.c
create mode 100644 drivers/dma/sh/shdma-r8a7740.c
create mode 100644 drivers/dma/sh/shdma-sh73a0.c
rename drivers/dma/sh/{shdma.c => shdmac.c} (89%)

--
1.7.2.5

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/