Re: [PATCH v3 2/2] dt-bindings: serial: Add option to enable RS485 mode via GPIO

From: Krzysztof Kozlowski
Date: Tue Nov 21 2023 - 02:04:14 EST


On 20/11/2023 22:45, Tomas Paukrt wrote:
> Add the device tree property "rs485-mode-gpio".
>
> Signed-off-by: Tomas Paukrt <tomaspaukrt@xxxxxxxx>
> ---
> Documentation/devicetree/bindings/serial/rs485.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/serial/rs485.yaml b/Documentation/devicetree/bindings/serial/rs485.yaml
> index 9418fd6..7a72f37 100644
> --- a/Documentation/devicetree/bindings/serial/rs485.yaml
> +++ b/Documentation/devicetree/bindings/serial/rs485.yaml
> @@ -47,6 +47,10 @@ properties:
> later with proper ioctl.
> $ref: /schemas/types.yaml#/definitions/flag
>
> + rs485-mode-gpio:
> + description: GPIO pin to enable RS485 mode at boot time.
> + maxItems: 1
> +

This does not look like generic RS485 property. Commit msg also does not
help to understand the context.

Best regards,
Krzysztof