mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 00/15] ARM: shmobile: move DMAC configuration data in the driver
@ 2013-07-23 10:49 Guennadi Liakhovetski
  2013-07-23 10:49 ` [PATCH v4 01/15] DMA: shdma: add support for DMAC configuration data, supplied via device ID Guennadi Liakhovetski
                   ` (14 more replies)
  0 siblings, 15 replies; 23+ messages in thread
From: Guennadi Liakhovetski @ 2013-07-23 10:49 UTC (permalink / raw)
  To: linux-kernel
  Cc: Magnus Damm, Simon Horman, Laurent Pinchart, Vinod Koul,
	linux-sh, Sergei Shtylyov, Guennadi Liakhovetski

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@gmail.com>

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/

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2013-07-24  9:54 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-23 10:49 [PATCH v4 00/15] ARM: shmobile: move DMAC configuration data in the driver Guennadi Liakhovetski
2013-07-23 10:49 ` [PATCH v4 01/15] DMA: shdma: add support for DMAC configuration data, supplied via device ID Guennadi Liakhovetski
2013-07-23 10:49 ` [PATCH v4 02/15] DMA: shdma: add r8a7740 DMAC data to the device ID table Guennadi Liakhovetski
2013-07-23 19:54   ` Magnus Damm
2013-07-23 21:19     ` Guennadi Liakhovetski
2013-07-23 21:31       ` Laurent Pinchart
2013-07-24  6:22       ` Magnus Damm
2013-07-24  8:33         ` Guennadi Liakhovetski
2013-07-24  9:54           ` Magnus Damm
2013-07-23 10:49 ` [PATCH v4 03/15] DMA: shdma: add r8a73a4 " Guennadi Liakhovetski
2013-07-23 10:49 ` [PATCH v4 04/15] DMA: shdma: make a pointer const Guennadi Liakhovetski
2013-07-23 10:49 ` [PATCH v4 05/15] DMA: shdma: pass SoC-specific configuration to the driver via OF matching Guennadi Liakhovetski
2013-07-23 10:50 ` [PATCH v4 06/15] DMA: shdma: make multiplexer platform data optional Guennadi Liakhovetski
2013-07-23 10:50 ` [PATCH v4 07/15] DMA: shdma: add sh73a0 DMAC data to the device ID table Guennadi Liakhovetski
2013-07-23 10:50 ` [PATCH v4 08/15] DMA: shdma: move two macros to a header Guennadi Liakhovetski
2013-07-23 10:50 ` [PATCH/RFC v4 09/15] DMA: shdma: support referencing specific DMACs within a multiplexer in DT Guennadi Liakhovetski
2013-07-23 11:32   ` Guennadi Liakhovetski
2013-07-23 10:50 ` [PATCH v4 10/15] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it Guennadi Liakhovetski
2013-07-23 10:50 ` [PATCH v4 11/15] ARM: shmobile: r8a7740: switch DMAC controllers to using device ID data Guennadi Liakhovetski
2013-07-23 10:50 ` [PATCH v4 12/15] ARM: shmobile: r8a7740: add DT nodes and clock aliases for three DMAC instances Guennadi Liakhovetski
2013-07-23 10:50 ` [PATCH v4 13/15] ARM: shmobile: r8a73a4: add a DT node and a clock alias for the DMAC Guennadi Liakhovetski
2013-07-23 10:50 ` [PATCH v4 14/15] ARM: shmobile: sh73a0: switch DMAC controllers to using device ID data Guennadi Liakhovetski
2013-07-23 10:50 ` [PATCH v4 15/15] ARM: shmobile: r8a7740: add support for 2 RTDMACs Guennadi Liakhovetski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®