Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt/bindings: ti,edma: Remove redundant properties from documentation

From CCCFG register of eDMA3 we can get all the needed information for the
driver about the IP:
Number of channels: NUM_DMACH
Number of regions: NUM_REGN
Number of slots (PaRAM sets): NUM_PAENTRY
Number of TC/EQ: NUM_EVQUE

The ti,edma-regions; ti,edma-slots and dma-channels in DT are
redundant since the very same information can be obtained from the HW.
The mentioned properties are deprecated.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

authored by

Peter Ujfalusi and committed by
Sekhar Nori
efc24e14 6d10c395

+7 -6
+7 -6
Documentation/devicetree/bindings/dma/ti-edma.txt
··· 2 2 3 3 Required properties: 4 4 - compatible : "ti,edma3" 5 - - ti,edma-regions: Number of regions 6 - - ti,edma-slots: Number of slots 7 5 - #dma-cells: Should be set to <1> 8 6 Clients should use a single channel number per DMA request. 9 - - dma-channels: Specify total DMA channels per CC 10 7 - reg: Memory map for accessing module 11 8 - interrupt-parent: Interrupt controller the interrupt is routed through 12 9 - interrupts: Exactly 3 interrupts need to be specified in the order: ··· 14 17 - ti,hwmods: Name of the hwmods associated to the EDMA 15 18 - ti,edma-xbar-event-map: Crossbar event to channel map 16 19 20 + Deprecated properties: 21 + Listed here in case one wants to boot an old kernel with new DTB. These 22 + properties might need to be added to the new DTS files. 23 + - ti,edma-regions: Number of regions 24 + - ti,edma-slots: Number of slots 25 + - dma-channels: Specify total DMA channels per CC 26 + 17 27 Example: 18 28 19 29 edma: edma@49000000 { ··· 30 26 compatible = "ti,edma3"; 31 27 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2"; 32 28 #dma-cells = <1>; 33 - dma-channels = <64>; 34 - ti,edma-regions = <4>; 35 - ti,edma-slots = <256>; 36 29 ti,edma-xbar-event-map = <1 12 37 30 2 13>; 38 31 };