diff options
author | Yuan Yao <yao.yuan@freescale.com> | 2014-02-17 00:28:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 15:50:26 -0500 |
commit | f1cd8c8792ccc7e9520ef8f27fbdb748448ac482 (patch) | |
tree | 817ef690e38a4b9c8e78fbf7c8c2d0364ea12047 /Documentation | |
parent | c957dd494615ccdb36d4892ef9bfd2287502fbfd (diff) |
serial: fsl_lpuart: add DMA support
Add dma support for lpuart. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/serial/fsl-lpuart.txt | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.txt b/Documentation/devicetree/bindings/serial/fsl-lpuart.txt index 6fd1dd1638dd..b06e3053af9f 100644 --- a/Documentation/devicetree/bindings/serial/fsl-lpuart.txt +++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.txt | |||
@@ -5,10 +5,19 @@ Required properties: | |||
5 | - reg : Address and length of the register set for the device | 5 | - reg : Address and length of the register set for the device |
6 | - interrupts : Should contain uart interrupt | 6 | - interrupts : Should contain uart interrupt |
7 | 7 | ||
8 | Optional properties: | ||
9 | - dmas: A list of two dma specifiers, one for each entry in dma-names. | ||
10 | - dma-names: should contain "tx" and "rx". | ||
11 | |||
12 | Note: Optional properties for DMA support. Write them both or both not. | ||
13 | |||
8 | Example: | 14 | Example: |
9 | 15 | ||
10 | uart0: serial@40027000 { | 16 | uart0: serial@40027000 { |
11 | compatible = "fsl,vf610-lpuart"; | 17 | compatible = "fsl,vf610-lpuart"; |
12 | reg = <0x40027000 0x1000>; | 18 | reg = <0x40027000 0x1000>; |
13 | interrupts = <0 61 0x00>; | 19 | interrupts = <0 61 0x00>; |
14 | }; | 20 | dmas = <&edma0 0 2>, |
21 | <&edma0 0 3>; | ||
22 | dma-names = "rx","tx"; | ||
23 | }; | ||