diff mbox series

[V5,3/3] dt-bindings: geni-se: Add binding for UART pin swap

Message ID 1584095350-841-4-git-send-email-akashast@codeaurora.org
State New
Headers show
Series None | expand

Commit Message

Akash Asthana March 13, 2020, 10:29 a.m. UTC
Add documentation to support RX/TX/CTS/RTS pin swap in HW.

Signed-off-by: Akash Asthana <akashast@codeaurora.org>
---
Changes in V5:
 -  As per Matthias's comment, remove rx-tx-cts-rts-swap property from UART 
    child node.

 Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rob Herring March 20, 2020, 6:07 p.m. UTC | #1
On Fri, Mar 13, 2020 at 4:29 AM Akash Asthana <akashast@codeaurora.org> wrote:
>
> Add documentation to support RX/TX/CTS/RTS pin swap in HW.
>
> Signed-off-by: Akash Asthana <akashast@codeaurora.org>
> ---
> Changes in V5:
>  -  As per Matthias's comment, remove rx-tx-cts-rts-swap property from UART
>     child node.
>
>  Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)

STM32 folks need something similar. Can you move this to a common
location. That's serial.txt, but that is being converted to DT schema.

Rob
Akash Asthana March 24, 2020, 5:16 a.m. UTC | #2
Hi Rob,

On 3/20/2020 11:37 PM, Rob Herring wrote:
> On Fri, Mar 13, 2020 at 4:29 AM Akash Asthana <akashast@codeaurora.org> wrote:
>> Add documentation to support RX/TX/CTS/RTS pin swap in HW.
>>
>> Signed-off-by: Akash Asthana <akashast@codeaurora.org>
>> ---
>> Changes in V5:
>>   -  As per Matthias's comment, remove rx-tx-cts-rts-swap property from UART
>>      child node.
>>
>>   Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml | 6 ++++++
>>   1 file changed, 6 insertions(+)
> STM32 folks need something similar. Can you move this to a common
> location. That's serial.txt, but that is being converted to DT schema.
>
> Rob

Okay, once serial.txt is converted to DT schema, I will move it there.

Regards,

Akash
Matthias Kaehlcke April 24, 2020, 8:57 p.m. UTC | #3
Hi Akash,

On Tue, Mar 24, 2020 at 10:46:40AM +0530, Akash Asthana wrote:
> Hi Rob,
> 
> On 3/20/2020 11:37 PM, Rob Herring wrote:
> > On Fri, Mar 13, 2020 at 4:29 AM Akash Asthana <akashast@codeaurora.org> wrote:
> > > Add documentation to support RX/TX/CTS/RTS pin swap in HW.
> > > 
> > > Signed-off-by: Akash Asthana <akashast@codeaurora.org>
> > > ---
> > > Changes in V5:
> > >   -  As per Matthias's comment, remove rx-tx-cts-rts-swap property from UART
> > >      child node.
> > > 
> > >   Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml | 6 ++++++
> > >   1 file changed, 6 insertions(+)
> > STM32 folks need something similar. Can you move this to a common
> > location. That's serial.txt, but that is being converted to DT schema.
> > 
> > Rob
> 
> Okay, once serial.txt is converted to DT schema, I will move it there.

It has landed upstream:

175a7427bb72 dt-bindings: serial: Convert generic bindings to json-schema
Akash Asthana April 28, 2020, 9:49 a.m. UTC | #4
Hi Matthias

Thanks for notifying, I will make the changes.

Regards,

Akash

On 4/25/2020 2:27 AM, Matthias Kaehlcke wrote:
> Hi Akash,
>
> On Tue, Mar 24, 2020 at 10:46:40AM +0530, Akash Asthana wrote:
>> Hi Rob,
>>
>> On 3/20/2020 11:37 PM, Rob Herring wrote:
>>> On Fri, Mar 13, 2020 at 4:29 AM Akash Asthana <akashast@codeaurora.org> wrote:
>>>> Add documentation to support RX/TX/CTS/RTS pin swap in HW.
>>>>
>>>> Signed-off-by: Akash Asthana <akashast@codeaurora.org>
>>>> ---
>>>> Changes in V5:
>>>>    -  As per Matthias's comment, remove rx-tx-cts-rts-swap property from UART
>>>>       child node.
>>>>
>>>>    Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml | 6 ++++++
>>>>    1 file changed, 6 insertions(+)
>>> STM32 folks need something similar. Can you move this to a common
>>> location. That's serial.txt, but that is being converted to DT schema.
>>>
>>> Rob
>> Okay, once serial.txt is converted to DT schema, I will move it there.
> It has landed upstream:
>
> 175a7427bb72 dt-bindings: serial: Convert generic bindings to json-schema
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
index 533400b..85f9028 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
@@ -172,6 +172,12 @@  patternProperties:
           - description: UART core irq
           - description: Wakeup irq (RX GPIO)
 
+      rx-tx-swap:
+        description: RX and TX pins are swapped
+
+      cts-rts-swap:
+        description: CTS and RTS pins are swapped
+
     required:
       - compatible
       - interrupts