Skip to content

ARM: dts: Add DT bindings for OMAP SDMA

Jon Hunter linux-arm-kernel linux-devicetree linux-omap 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Updated name of of_dma_filter_info and statically initialised filter_fn member of this structure per Arnd's feedback.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: dts: OMAP2+: Add SDMA controller bindings and nodesDocumentation/devicetree/bindings/dma/omap-sdma.txt arch/arm/boot/dts/omap2.dtsi arch/arm/boot/dts/omap3.dtsi +2 more+185 -01 reply
1/2ARM: dts: OMAP2+: Add SDMA controller bindings and nodes+0 -01 reply
1/2ARM: dts: OMAP2+: Add SDMA controller bindings and nodes+0 -01 reply
2/2dmaengine: OMAP: Register SDMA controller with Device Tree DMA driverarch/arm/mach-omap2/dma.c drivers/dma/omap-dma.c+40 -20 replies
2/2dmaengine: OMAP: Register SDMA controller with Device Tree DMA driver+0 -01 reply
2/2dmaengine: OMAP: Register SDMA controller with Device Tree DMA driver+0 -01 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchFelipe BalbiSantosh ShilimkarTony Lindgren
1/2R-b A-b T-b
1/2R-b A-b T-b
1/2R-b A-b T-b
2/2R-b A-b T-b A-b
2/2R-b A-b T-b A-b
2/2R-b A-b T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH V3 0/2] ARM: dts: Add DT bindings for OMAP SDMA

Adds device-tree bindings from SDMA on OMAP2+ devices. DMA client bindings are also added for devices that have SPI and MMC bindings populated. Client binding data is based upon existing HWMOD data for OMAP and has been checked against OMAP documentation.

Please note that the underlying (legacy) OMAP SDMA driver has not been ported over to DT and this still needs to be done. However, this allows DMA clients to look-up the DMA resource information via device-tree.

Testing includes ...
1. Boot tested on OMAP3430 SDP board and OMAP4430 SDP board with without device-tree present.
2. Testing of MMC1 with SD card on OMAP3430 SDP board and OMAP4430 SDP board with and without device-tree present.

Testing branch available here [1].

Series is based upon v3.8 on top of the following ...
- Vinod's topic/dmaengine_dt branch [3]
- Matt Porter's series "DMA Engine support for AM33XX" [4]
- Matt Porter's series "omap_hsmmc DT DMA Client support" [5]
- Sourav Poddar's series "add omap mcspi device tree data" [6]

V3 changes:
- Updated name of of_dma_filter_info and statically initialised filter_fn member of this structure per Arnd's feedback.

V2 changes:
- Updated to Tony's omap-for-v3.9/multiplatform-v2 branch to pull in DMA changes for v3.9
- Added comma to omap_dma_driver structure as pointed out by Arnd.
- Updated OMAP SDMA DT binding compatible strings to indicate which devices are bit compatible with each other with respect to the SDMA controller. Grant had mentioned in the past that he wants the compatible string to be based upon a particular device and not something generic like "ti,omap-sdma".

[1] https://github.com/jonhunter/linux/commits/dev-dt-dma
[2] git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git omap-for-v3.9/multiplatform-v2
[3] http://git.infradead.org/users/vkoul/slave-dma.git/shortlog/refs/heads/topic/dmaengine_dt
[4] http://permalink.gmane.org/gmane.linux.kernel.spi.devel/12508
[5] http://permalink.gmane.org/gmane.linux.ports.arm.omap/93165
[6] http://permalink.gmane.org/gmane.linux.kernel/1435002

Jon Hunter (2):
ARM: dts: OMAP2+: Add SDMA controller bindings and nodes
dmaengine: OMAP: Register SDMA controller with Device Tree DMA driver

 .../devicetree/bindings/dma/omap-sdma.txt          |   51 ++++++++++++++++++++
 arch/arm/boot/dts/omap2.dtsi                       |   12 +++++
 arch/arm/boot/dts/omap3.dtsi                       |   40 +++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |   41 ++++++++++++++++
 arch/arm/boot/dts/omap5.dtsi                       |   41 ++++++++++++++++
 arch/arm/mach-omap2/dma.c                          |    4 ++
 drivers/dma/omap-dma.c                             |   38 ++++++++++++++-
 7 files changed, 225 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/dma/omap-sdma.txt
Signature · 1 line
1.7.10.4