diff options
author | Marek Vasut <marex@denx.de> | 2012-08-23 23:44:31 -0400 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-10-08 06:47:33 -0400 |
commit | 62885f59a26195d9f6a3f8c795225dfbab62a110 (patch) | |
tree | 56773f6a15d22154816b240c4988cb906df7ed5f /Documentation/devicetree/bindings/i2c | |
parent | 102084d3d3969646cc89ea159e50898aeafc6649 (diff) |
MXS: Implement DMA support into mxs-i2c
This patch implements DMA support into mxs-i2c. DMA transfers are now enabled
via DT. The DMA operation is enabled by default.
Signed-off-by: Marek Vasut <marex@denx.de>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
[wsa: rebased to 3.6-rc7]
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-mxs.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mxs.txt b/Documentation/devicetree/bindings/i2c/i2c-mxs.txt index 30ac3a0557f7..7a3fe9e5f4cb 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mxs.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-mxs.txt | |||
@@ -6,6 +6,7 @@ Required properties: | |||
6 | - interrupts: Should contain ERROR and DMA interrupts | 6 | - interrupts: Should contain ERROR and DMA interrupts |
7 | - clock-frequency: Desired I2C bus clock frequency in Hz. | 7 | - clock-frequency: Desired I2C bus clock frequency in Hz. |
8 | Only 100000Hz and 400000Hz modes are supported. | 8 | Only 100000Hz and 400000Hz modes are supported. |
9 | - fsl,i2c-dma-channel: APBX DMA channel for the I2C | ||
9 | 10 | ||
10 | Examples: | 11 | Examples: |
11 | 12 | ||
@@ -16,4 +17,5 @@ i2c0: i2c@80058000 { | |||
16 | reg = <0x80058000 2000>; | 17 | reg = <0x80058000 2000>; |
17 | interrupts = <111 68>; | 18 | interrupts = <111 68>; |
18 | clock-frequency = <100000>; | 19 | clock-frequency = <100000>; |
20 | fsl,i2c-dma-channel = <6>; | ||
19 | }; | 21 | }; |