]> git.baikalelectronics.ru Git - kernel.git/commit
dt_bindings: rs485: Add receiver enable polarity
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 26 Apr 2022 12:24:41 +0000 (15:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 12:47:38 +0000 (14:47 +0200)
commitb7a1b76bac0238057564724a1689a32916bf886d
treec8d10c21eecb60c9720fb96732533e995390ccb9
parent7f80eca4e3b8508c2e41d7f73a8a6a368f2ccc8e
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: devicetree@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220426122448.38997-4-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/rs485.yaml