This is based upon the work by Benoit Cousson [1] and Nicolas Ferre [2] to add some basic device-tree 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.fe...@atmel.com> Cc: Benoit Cousson <b-cous...@ti.com> Cc: Stephen Warren <swar...@nvidia.com> Cc: Grant Likely <grant.lik...@secretlab.ca> Cc: Russell King <li...@arm.linux.org.uk> Cc: Rob Herring <rob.herr...@calxeda.com> Cc: Arnd Bergmann <a...@arndb.de> Cc: Vinod Koul <vinod.k...@intel.com> Cc: Dan Williams <d...@fb.com> Jon Hunter (2): of: Add generic device tree DMA helpers dmaengine: add helper function to request a slave DMA channel Documentation/devicetree/bindings/dma/dma.txt | 62 +++++++ drivers/dma/dmaengine.c | 16 ++ drivers/of/Makefile | 2 +- drivers/of/dma.c | 215 +++++++++++++++++++++++++ include/linux/dmaengine.h | 6 + include/linux/of_dma.h | 45 ++++++ 6 files changed, 345 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/dma/dma.txt create mode 100644 drivers/of/dma.c create mode 100644 include/linux/of_dma.h -- 1.7.9.5 _______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss