diff mbox series

[1/4] dt_bindings: rs485: Add binding for GPIO that controls Rx enable during Tx

Message ID 20221026165049.9541-2-cniedermaier@dh-electronics.com
State New
Headers show
Series tty: serial: Add ability to control rs485 RX_DURING_TX via a GPIO | expand

Commit Message

Christoph Niedermaier Oct. 26, 2022, 4:50 p.m. UTC
Add the binding for a generic definition of a GPIO, that controls whether Rx
is connected or disconnected by an electrical circuit to have the ability
to receive the signals on the bus during sending or disable receiving during
sending.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
---
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Marek Vasut <marex@denx.de>
Cc: devicetree@vger.kernel.org
To: linux-serial@vger.kernel.org
To: linux-arm-kernel@lists.infradead.org
---
 Documentation/devicetree/bindings/serial/rs485.yaml | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/rs485.yaml b/Documentation/devicetree/bindings/serial/rs485.yaml
index 90a1bab40f05..0ebd7690f85d 100644
--- a/Documentation/devicetree/bindings/serial/rs485.yaml
+++ b/Documentation/devicetree/bindings/serial/rs485.yaml
@@ -51,6 +51,10 @@  properties:
     description: GPIO pin to enable RS485 bus termination.
     maxItems: 1
 
+  rs485-rx-during-tx-gpios:
+    description: GPIO pin to control RS485 Rx enable during Tx.
+    maxItems: 1
+
 additionalProperties: true
 
 ...