Skip to content

Commit

Permalink
of: dma: fix typos in generic dma binding definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matt Porter authored and Vinod Koul committed Jan 7, 2013
1 parent 4c26bc6 commit deef124
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Documentation/devicetree/bindings/dma/dma.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ Required property:
more details.

Optional properties:
- #dma-channels: Number of DMA channels supported by the controller.
- #dma-requests: Number of DMA requests signals supported by the
- dma-channels: Number of DMA channels supported by the controller.
- dma-requests: Number of DMA requests signals supported by the
controller.

Example:

dma: dma@48000000 {
compatible = "ti,omap-sdma"
compatible = "ti,omap-sdma";
reg = <0x48000000 0x1000>;
interrupts = <0 12 0x4
0 13 0x4
0 14 0x4
0 15 0x4>;
#dma-cells = <1>;
#dma-channels = <32>;
#dma-requests = <127>;
dma-channels = <32>;
dma-requests = <127>;
};


Expand Down Expand Up @@ -61,7 +61,7 @@ Examples:
...
dmas = <&dma 2 /* read channel */
&dma 3>; /* write channel */
dma-names = "rx", "tx"
dma-names = "rx", "tx";
...
};

Expand All @@ -70,7 +70,7 @@ Examples:
dmas = <&dma1 5
&dma2 7
&dma3 2>;
dma-names = "rx-tx", "rx-tx", "rx-tx"
dma-names = "rx-tx", "rx-tx", "rx-tx";

3. A device with three channels, one of which has two alternatives:

Expand Down

0 comments on commit deef124

Please sign in to comment.