Thread (12 messages) 12 messages, 4 authors, 2020-03-11

Re: [PATCH V4 3/3] dt-bindings: geni-se: Add binding for UART pin swap

From: Matthias Kaehlcke <mka@chromium.org>
Date: 2020-02-18 19:07:38
Also in: linux-arm-msm, lkml

Hi Akash,

I didn't see a patch that implements the binding, did you post it?


On Mon, Feb 17, 2020 at 03:06:52PM +0530, Akash Asthana wrote:
quoted hunk ↗ jump to hunk
Add documentation to support RX/TX/CTS/RTS pin swap in HW.

Signed-off-by: Akash Asthana <redacted>
---
 Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
index 11530df..7e4b9af 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
@@ -165,6 +165,15 @@ patternProperties:
           - description: UART core irq
           - description: Wakeup irq (RX GPIO)
 
+      rx-tx-swap:
+        description: RX and TX pins are swap.
s/swap/swapped/
+
+      cts-rts-swap:
+        description: CTS and RTS pins are swap.
s/swap/swapped/
+
+      rx-tx-cts-rts-swap:
+        description: RX-TX and CTS-RTS both pairs are swap.
I don't think this option adds much value, if both pairs are swapped
the above two properties can be set.
+
     required:
       - compatible
       - interrupts
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help