]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: dma: dw: Convert DW DMAC to DT binding
authorBaikal Electronics <support@baikalelectronics.ru>
Thu, 23 Jul 2020 00:58:39 +0000 (03:58 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 27 Jul 2020 09:00:54 +0000 (14:30 +0530)
commit245dca94dcfcc0e9291c1f9e076b1f48cd282cec
treeb6448f125f88d1f9e0cfec0037de07f353e2a461
parentc5a09f60fa68a093e070d3eb36612e65a2bed8cd
dt-bindings: dma: dw: Convert DW DMAC to DT binding

Modern device tree bindings are supposed to be created as YAML-files
in accordance with dt-schema. This commit replaces the Synopsis
Designware DMA controller legacy bare text bindings with YAML file.
The only required prorties are "compatible", "reg", "#dma-cells" and
"interrupts", which will be used by the driver to correctly find the
controller memory region and handle its events. The rest of the properties
are optional, since in case if either "dma-channels" or "dma-masters" isn't
specified, the driver will attempt to auto-detect the IP core
configuration.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20200723005848.31907-2-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/snps,dma-spear1340.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/dma/snps-dma.txt [deleted file]