public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/7] DMA: shdma: switch DT to use OF device ID tables
@ 2013-08-02 14:50 Guennadi Liakhovetski
  2013-08-02 14:50 ` [PATCH v5 1/7] DMA: shdma: switch DT mode to use configuration data from a match table Guennadi Liakhovetski
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: Guennadi Liakhovetski @ 2013-08-02 14:50 UTC (permalink / raw)
  To: linux-sh
  Cc: linux-kernel, Magnus Damm, Simon Horman, Laurent Pinchart,
	Vinod Koul, Sergei Shtylyov, Guennadi Liakhovetski

In this version of shdma Device Tree support I preserved the DT 
configuration approach via OF device ID tables from v4, but now it is only 
used for the DT-mode, the C-version is left untouched. In this series I 
only include one platform: r8a73a4-based APE6EVM, if accepted, others can 
be added easily. I also took care not to include mach/*.h headers in 
driver .c files. To illustrate the use of DT DMA support for MMC DMA on 
APE6EVM a patch from a previously separate patch series "DMA for MMCIF and 
SDHI devices in DT mode"
http://thread.gmane.org/gmane.linux.ports.sh.devel/25445
is now also included in this series.

This series should be applied on top of my previous shdma patches 
"DMA: shdma: fix CHCLR register address calculation"
https://lkml.org/lkml/2013/7/2/331
"DMA: shdma: several stylistic improvements and support for new SoCs"
http://thread.gmane.org/gmane.linux.ports.sh.devel/24826
"DMA: shdma: make a pointer const"
http://marc.info/?l=linux-sh&m=137545309332395&w=2

The above dependencies also mean, that the ARM patches shall only be 
applied after the DMA patches are upstream.

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

Guennadi Liakhovetski (7):
  DMA: shdma: switch DT mode to use configuration data from a match
    table
  DMA: shdma: remove private and unused defines from a global header
  DMA: shdma: add a header with common for ARM SoCs defines
  DMA: shdma: add r8a73a4 DMAC data to the device ID table
  ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it
  ARM: shmobile: r8a73a4: add a DT node and a clock alias for the DMAC
  ARM: shmobile: ape6evm-reference: enable DMA for the MMC interface

 Documentation/devicetree/bindings/dma/shdma.txt |   61 +++++++++-------
 arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts |    3 +
 arch/arm/boot/dts/r8a73a4.dtsi                  |   43 +++++++++++
 arch/arm/mach-shmobile/clock-r8a73a4.c          |    5 +-
 arch/arm/mach-shmobile/include/mach/r8a73a4.h   |    9 ++
 arch/arm/mach-shmobile/setup-r8a73a4.c          |   91 +++++++++++++++++++++++
 drivers/dma/sh/Kconfig                          |    4 +
 drivers/dma/sh/Makefile                         |    5 +
 drivers/dma/sh/shdma-arm.h                      |   51 +++++++++++++
 drivers/dma/sh/shdma-base.c                     |   15 ++--
 drivers/dma/sh/shdma-of.c                       |    3 -
 drivers/dma/sh/shdma-r8a73a4.c                  |   77 +++++++++++++++++++
 drivers/dma/sh/shdma.h                          |    8 ++
 drivers/dma/sh/{shdma.c => shdmac.c}            |   40 +++++++---
 drivers/dma/sh/sudmac.c                         |    3 +-
 include/linux/sh_dma.h                          |   21 -----
 include/linux/shdma-base.h                      |    2 +-
 17 files changed, 371 insertions(+), 70 deletions(-)
 create mode 100644 drivers/dma/sh/shdma-arm.h
 create mode 100644 drivers/dma/sh/shdma-r8a73a4.c
 rename drivers/dma/sh/{shdma.c => shdmac.c} (97%)

-- 
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] 24+ messages in thread

end of thread, other threads:[~2013-09-25  8:07 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02 14:50 [PATCH v5 0/7] DMA: shdma: switch DT to use OF device ID tables Guennadi Liakhovetski
2013-08-02 14:50 ` [PATCH v5 1/7] DMA: shdma: switch DT mode to use configuration data from a match table Guennadi Liakhovetski
2013-08-02 14:50 ` [PATCH v5 2/7] DMA: shdma: remove private and unused defines from a global header Guennadi Liakhovetski
2013-08-02 14:50 ` [PATCH v5 3/7] DMA: shdma: add a header with common for ARM SoCs defines Guennadi Liakhovetski
2013-08-02 14:50 ` [PATCH v5 4/7] DMA: shdma: add r8a73a4 DMAC data to the device ID table Guennadi Liakhovetski
2013-08-02 14:50 ` [PATCH v5 5/7] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it Guennadi Liakhovetski
2013-09-25  5:50   ` Simon Horman
2013-09-25  6:52     ` Guennadi Liakhovetski
2013-09-25  7:10       ` Simon Horman
2013-09-25  7:22         ` Guennadi Liakhovetski
2013-08-02 14:50 ` [PATCH v5 6/7] ARM: shmobile: r8a73a4: add a DT node and a clock alias for the DMAC Guennadi Liakhovetski
2013-09-25  5:53   ` Simon Horman
2013-09-25  8:01   ` Simon Horman
2013-08-02 14:50 ` [PATCH v5 7/7] ARM: shmobile: ape6evm-reference: enable DMA for the MMC interface Guennadi Liakhovetski
2013-09-25  5:54   ` Simon Horman
2013-09-25  7:56   ` Simon Horman
2013-09-25  8:07     ` Simon Horman
2013-08-25  7:36 ` [PATCH v5 0/7] DMA: shdma: switch DT to use OF device ID tables Vinod Koul
2013-08-26  7:17   ` Simon Horman
2013-08-26  7:49     ` Vinod Koul
2013-08-26  8:46       ` Simon Horman
2013-08-29 11:24     ` Guennadi Liakhovetski
2013-09-04  8:55       ` Simon Horman
2013-09-25  7:12         ` Simon Horman

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