diff options
| author | Ilpo Järvinen <[email protected]> | 2022-04-26 15:24:41 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-26 14:47:38 +0200 |
| commit | 103dcf2ea2df2669d3e4496974e6bb0911ff515f (patch) | |
| tree | c8d10c21eecb60c9720fb96732533e995390ccb9 | |
| parent | 5ff33917faca773e051d48ef37a6e95b2f8e4c5a (diff) | |
dt_bindings: rs485: Add receiver enable polarity
Add polarity property for receiver enable. Some UARTs have separate
enable pins for tx (RTS or DE) and rx (RE). As most RS485 transceivers
have !RE pin, the default is active low in contrast to
rs485-rts-active-low that defaults to active high.
Cc: [email protected]
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | Documentation/devicetree/bindings/serial/rs485.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/rs485.yaml b/Documentation/devicetree/bindings/serial/rs485.yaml index 0c9fa694f85c..f2c9c9fe6aa7 100644 --- a/Documentation/devicetree/bindings/serial/rs485.yaml +++ b/Documentation/devicetree/bindings/serial/rs485.yaml @@ -33,6 +33,11 @@ properties: description: drive RTS low when sending (default is high). $ref: /schemas/types.yaml#/definitions/flag + rs485-rx-active-high: + description: Polarity of receiver enable signal (when separate from RTS). + True indicates active high (default is low). + $ref: /schemas/types.yaml#/definitions/flag + linux,rs485-enabled-at-boot-time: description: enables the rs485 feature at boot time. It can be disabled later with proper ioctl. |