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

of: dma: fix typos in generic dma binding definition

Some semicolons were left out in the examples.

The #dma-channels and #dma-requests properties have a prefix
that is, by convention, reserved for cell size properties.
Rename those properties to dma-channels and dma-requests.

Signed-off-by: Matt Porter <mporter@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>

authored by

Matt Porter and committed by
Vinod Koul
deef1244 4c26bc60

+7 -7
+7 -7
Documentation/devicetree/bindings/dma/dma.txt
··· 13 13 more details. 14 14 15 15 Optional properties: 16 - - #dma-channels: Number of DMA channels supported by the controller. 17 - - #dma-requests: Number of DMA requests signals supported by the 16 + - dma-channels: Number of DMA channels supported by the controller. 17 + - dma-requests: Number of DMA requests signals supported by the 18 18 controller. 19 19 20 20 Example: 21 21 22 22 dma: dma@48000000 { 23 - compatible = "ti,omap-sdma" 23 + compatible = "ti,omap-sdma"; 24 24 reg = <0x48000000 0x1000>; 25 25 interrupts = <0 12 0x4 26 26 0 13 0x4 27 27 0 14 0x4 28 28 0 15 0x4>; 29 29 #dma-cells = <1>; 30 - #dma-channels = <32>; 31 - #dma-requests = <127>; 30 + dma-channels = <32>; 31 + dma-requests = <127>; 32 32 }; 33 33 34 34 ··· 61 61 ... 62 62 dmas = <&dma 2 /* read channel */ 63 63 &dma 3>; /* write channel */ 64 - dma-names = "rx", "tx" 64 + dma-names = "rx", "tx"; 65 65 ... 66 66 }; 67 67 ··· 70 70 dmas = <&dma1 5 71 71 &dma2 7 72 72 &dma3 2>; 73 - dma-names = "rx-tx", "rx-tx", "rx-tx" 73 + dma-names = "rx-tx", "rx-tx", "rx-tx"; 74 74 75 75 3. A device with three channels, one of which has two alternatives: 76 76