2020-03-13 10:31:02

by Akash Asthana

[permalink] [raw]
Subject: [PATCH V5 3/3] dt-bindings: geni-se: Add binding for UART pin swap

Add documentation to support RX/TX/CTS/RTS pin swap in HW.

Signed-off-by: Akash Asthana <[email protected]>
---
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(+)

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
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project


2020-03-20 18:09:07

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH V5 3/3] dt-bindings: geni-se: Add binding for UART pin swap

On Fri, Mar 13, 2020 at 4:29 AM Akash Asthana <[email protected]> wrote:
>
> Add documentation to support RX/TX/CTS/RTS pin swap in HW.
>
> Signed-off-by: Akash Asthana <[email protected]>
> ---
> 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

2020-03-24 05:23:01

by Akash Asthana

[permalink] [raw]
Subject: Re: [PATCH V5 3/3] dt-bindings: geni-se: Add binding for UART pin swap

Hi Rob,

On 3/20/2020 11:37 PM, Rob Herring wrote:
> On Fri, Mar 13, 2020 at 4:29 AM Akash Asthana <[email protected]> wrote:
>> Add documentation to support RX/TX/CTS/RTS pin swap in HW.
>>
>> Signed-off-by: Akash Asthana <[email protected]>
>> ---
>> 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

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project

2020-04-24 20:59:05

by Matthias Kaehlcke

[permalink] [raw]
Subject: Re: [PATCH V5 3/3] dt-bindings: geni-se: Add binding for UART pin swap

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 <[email protected]> wrote:
> > > Add documentation to support RX/TX/CTS/RTS pin swap in HW.
> > >
> > > Signed-off-by: Akash Asthana <[email protected]>
> > > ---
> > > 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

2020-04-28 09:54:33

by Akash Asthana

[permalink] [raw]
Subject: Re: [PATCH V5 3/3] dt-bindings: geni-se: Add binding for UART pin swap

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 <[email protected]> wrote:
>>>> Add documentation to support RX/TX/CTS/RTS pin swap in HW.
>>>>
>>>> Signed-off-by: Akash Asthana <[email protected]>
>>>> ---
>>>> 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

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project