dt-bindings: serial: Add binding for rs485 bus
From: Lukas Wunner <lukas@...> Date: Wed, 25 Mar 2020 17:03:18 +0100
Commit-Message
Commit e8759ad17d41 ("serial: uapi: Add support for bus termination") introduced the ability to enable rs485 bus termination from user space. So far the feature is only used by a single driver, 8250_exar.c, using a hardcoded GPIO pin specific to Siemens IOT2040 products. Provide for a more generic solution by allowing specification of an rs485 bus termination GPIO pin in the device tree. An upcoming commit implements support for this pin for any 8250 driver. The binding is used in device trees of the "Revolution Pi" PLCs offered by KUNBUS. Signed-off-by: Lukas Wunner <lukas@...> Cc: Sascha Weisenberger <sascha.weisenberger@...> Cc: Jan Kiszka <jan.kiszka@...> [moved to yaml rs485 binding] Signed-off-by: Heiko Stuebner <heiko.stuebner@...>
Patch-Comment
Documentation/devicetree/bindings/serial/rs485.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Statistics
- 4 lines added
- 0 lines removed