[PATCH V6 3/3] dt-bindings: serial: Add binding for UART pin swap

Akash Asthana
2020-05-07T15:02:45Z

Add documentation to support RX-TX & CTS-RTS GPIO pin swap in HW.

Signed-off-by: Akash Asthana <akashast@codeaurora.org>
---
Documentation/devicetree/bindings/serial/serial.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
index 53204d9..e657dd6 100644
--- a/Documentation/devicetree/bindings/serial/serial.yaml
+++ b/Documentation/devicetree/bindings/serial/serial.yaml
@@ -67,6 +67,12 @@ properties:
(wired and enabled by pinmux configuration). This depends on both the
UART hardware and the board wiring.

+ rx-tx-swap:
+ description: RX and TX pins are swapped.
+
+ cts-rts-swap:
+ description: CTS and RTS pins are swapped.
+
if:
required:
- uart-has-rtscts