diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-02-25 21:10:38 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-04 09:22:44 -0400 |
commit | 0e91e434c86c84e84c46cf8bff2b5e53daee85d5 (patch) | |
tree | 2c8505b03948d91424731318dfa3d7745fae82b5 /Documentation/devicetree | |
parent | d84f638b037fcd132ecf6f09f5b8ccf82278b9ee (diff) |
mmc: mxs-mmc: move to use generic DMA helper
With the generic DMA device tree helper supported by mxs-dma driver,
client devices only need to call dma_request_slave_channel() for
requesting a DMA channel from dmaengine.
Since mxs is a DT only platform now, along with the changes, the non-DT
case checking in probe function also gets cleaned up.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Chris Ball <cjb@laptop.org>
Cc: linux-mmc@vger.kernel.org
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/mxs-mmc.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/mmc/mxs-mmc.txt b/Documentation/devicetree/bindings/mmc/mxs-mmc.txt index 54949f6faede..515addc20070 100644 --- a/Documentation/devicetree/bindings/mmc/mxs-mmc.txt +++ b/Documentation/devicetree/bindings/mmc/mxs-mmc.txt | |||
@@ -9,15 +9,19 @@ and the properties used by the mxsmmc driver. | |||
9 | Required properties: | 9 | Required properties: |
10 | - compatible: Should be "fsl,<chip>-mmc". The supported chips include | 10 | - compatible: Should be "fsl,<chip>-mmc". The supported chips include |
11 | imx23 and imx28. | 11 | imx23 and imx28. |
12 | - interrupts: Should contain ERROR and DMA interrupts | 12 | - interrupts: Should contain ERROR interrupt number |
13 | - fsl,ssp-dma-channel: APBH DMA channel for the SSP | 13 | - dmas: DMA specifier, consisting of a phandle to DMA controller node |
14 | and SSP DMA channel ID. | ||
15 | Refer to dma.txt and fsl-mxs-dma.txt for details. | ||
16 | - dma-names: Must be "rx-tx". | ||
14 | 17 | ||
15 | Examples: | 18 | Examples: |
16 | 19 | ||
17 | ssp0: ssp@80010000 { | 20 | ssp0: ssp@80010000 { |
18 | compatible = "fsl,imx28-mmc"; | 21 | compatible = "fsl,imx28-mmc"; |
19 | reg = <0x80010000 2000>; | 22 | reg = <0x80010000 2000>; |
20 | interrupts = <96 82>; | 23 | interrupts = <96>; |
21 | fsl,ssp-dma-channel = <0>; | 24 | dmas = <&dma_apbh 0>; |
25 | dma-names = "rx-tx"; | ||
22 | bus-width = <8>; | 26 | bus-width = <8>; |
23 | }; | 27 | }; |