[PATCH 0/5] dmaengine: convert dw_dmac/spear13xx to generic binding

Arnd Bergmann arnd at arndb.de
Tue Jan 29 04:57:32 EST 2013


Hi everyone,

This is my attempt to convert the spear platform and the dw_dmac to
the generic device tree binding for DMA, so that we don't get
a release with the broken version. I'm pretty sure that this
has bugs, but it's as good as I could do without access to
hardware or specs.

Please review and comment,

	Arnd

Arnd Bergmann (5):
  dmaengine: dw_dmac: move to generic DMA binding
  spi: pl022: use generic DMA slave configuration if possible
  serial: pl011: use generic DMA slave configuration if possible
  ata: arasan: remove the need for platform_data
  ARM: SPEAr13xx: Pass generic DW DMAC platform data from DT

 .../devicetree/bindings/ata/pata-arasan.txt        |  22 ++++
 Documentation/devicetree/bindings/dma/snps-dma.txt |  70 +++++------
 arch/arm/boot/dts/spear1340.dtsi                   |   2 +
 arch/arm/boot/dts/spear13xx.dtsi                   |  25 +++-
 arch/arm/mach-spear/generic.h                      |   6 -
 arch/arm/mach-spear/include/mach/spear.h           |   2 -
 arch/arm/mach-spear/spear1310.c                    |  30 +----
 arch/arm/mach-spear/spear1340.c                    |  32 +----
 arch/arm/mach-spear/spear13xx-dma.h                | 128 --------------------
 arch/arm/mach-spear/spear13xx.c                    |  58 ---------
 drivers/ata/pata_arasan_cf.c                       |  31 +++--
 drivers/dma/dw_dmac.c                              | 130 ++++++++++-----------
 drivers/dma/dw_dmac_regs.h                         |   4 -
 drivers/spi/spi-pl022.c                            |  43 ++++++-
 drivers/tty/serial/amba-pl011.c                    |  62 ++++++----
 include/linux/dw_dmac.h                            |   5 -
 include/linux/pata_arasan_cf_data.h                |   2 -
 17 files changed, 243 insertions(+), 409 deletions(-)
 delete mode 100644 arch/arm/mach-spear/spear13xx-dma.h

-- 
1.8.0

Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Grant Likely <grant.likely at secretlab.ca>
Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Jeff Garzik <jgarzik at redhat.com>
Jiri Slaby <jslaby at suse.cz>
Linus Walleij <linus.walleij at linaro.org>
Mark Brown <broonie at opensource.wolfsonmicro.com>
Vinod Koul <vinod.koul at linux.intel.com>
Viresh Kumar <viresh.kumar at linaro.org>
devicetree-discuss at lists.ozlabs.org
linux-arm-kernel at vger.kernel.org
spi-devel-general at lists.sourceforge.net


More information about the devicetree-discuss mailing list