On Mon, 18 May 2020 16:45:01 +0200, Lukas Wunner wrote: > 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. > > [Heiko Stuebner converted the binding to YAML, hence his Signed-off-by.] > > Signed-off-by: Heiko Stuebner <heiko.stuebner@xxxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Lukas Wunner <lukas@xxxxxxxxx> > Cc: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> > --- > Documentation/devicetree/bindings/serial/rs485.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > Reviewed-by: Rob Herring <robh@xxxxxxxxxx>