summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan-Gabriel Mirea <stefan-gabriel.mirea@nxp.com>2020-03-05 17:16:33 +0200
committerDong Aisheng <aisheng.dong@nxp.com>2021-11-02 17:17:07 +0800
commitd6ef8fada720a88dd32d892f64031e2cdafe7cc9 (patch)
tree252bf1b6d0b9ebfd16043e522c98243ed95d2737
parent5b864632389eea623751de2a4a74dece57ccd9fe (diff)
LF-631-5 dt-bindings: serial: linflexuart: Document DMA-related properties
Update the Freescale LINFlexD bindings example and description with the "dmas" and "dma-names" properties. Signed-off-by: Stefan-Gabriel Mirea <stefan-gabriel.mirea@nxp.com> Acked-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
-rw-r--r--Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt
index 3be0313689e1..4a42adb33e07 100644
--- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt
+++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt
@@ -14,6 +14,10 @@ Required properties:
- clocks : phandle + clock specifier pairs, one for each entry in clock-names
- clock-names : should contain: "lin" - the uart clock
+Optional properties:
+- dmas : Specifies two DMA channels - one entry for each entry in dma-names
+- dma-names : DMA channel names - "tx" for transmission, "rx" for reception
+
Example:
uart0: serial@40053000 {
compatible = "fsl,s32v234-linflexuart";
@@ -21,6 +25,9 @@ uart0: serial@40053000 {
interrupts = <0 59 4>;
clocks = <&clks S32V234_CLK_LIN>;
clock-names = "lin";
+ dmas = <&edma 0 20>,
+ <&edma 0 19>;
+ dma-names = "rx", "tx";
};
[1] https://www.nxp.com/webapp/Download?colCode=S32V234RM