[PATCH V3 0/2] of: Add generic device tree DMA helpers

Jon Hunter jon-hunter at ti.com
Mon Apr 30 17:16:27 EDT 2012


From: Jon Hunter <jon-hunter at ti.com>

This is based upon the work by Benoit Cousson [1] and Nicolas Ferre [2]
to add some basic helpers to retrieve a DMA controller device_node and the
DMA request/channel information.

[1] http://article.gmane.org/gmane.linux.drivers.devicetree/12022
[2] http://article.gmane.org/gmane.linux.ports.arm.omap/73622

Cc: Nicolas Ferre <nicolas.ferre at atmel.com>
Cc: Benoit Cousson <b-cousson at ti.com>
Cc: Stephen Warren <swarren at nvidia.com>
Cc: Grant Likely <grant.likely at secretlab.ca>
Cc: Russell King <linux at arm.linux.org.uk>
Cc: Rob Herring <rob.herring at calxeda.com>
Cc: Arnd Bergmann <arnd at arndb.de>

Jon Hunter (2):
  of: Add generic device tree DMA helpers
  of: selftest/dma: Add selftest for new DT DMA

 Documentation/devicetree/bindings/dma/dma.txt |   47 ++++++
 arch/arm/boot/dts/at91sam9m10g45ek.dts        |    2 +
 arch/arm/boot/dts/omap4-panda.dts             |    2 +
 arch/arm/boot/dts/testcases/tests-dma.dtsi    |   32 ++++
 arch/arm/boot/dts/testcases/tests.dtsi        |    1 +
 drivers/of/Makefile                           |    2 +-
 drivers/of/dma.c                              |  203 +++++++++++++++++++++++++
 drivers/of/selftest.c                         |  118 ++++++++++++++
 include/linux/of_dma.h                        |   35 +++++
 9 files changed, 441 insertions(+), 1 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/dma/dma.txt
 create mode 100644 arch/arm/boot/dts/testcases/tests-dma.dtsi
 create mode 100644 drivers/of/dma.c
 create mode 100644 include/linux/of_dma.h

-- 
1.7.5.4




More information about the linux-arm-kernel mailing list