serial: sc16is7xx: add missing support for rs485 devicetree properties
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Mon, 7 Aug 2023 21:45:56 +0000 (17:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 07:51:16 +0000 (08:51 +0100)
commite8c1105c0ccceecf3e80ffc810a75dd4be5b7b7d
treed6bc3785a67170bf033ef73c4c095322269ece89
parent55061c32307573650d8d6ee2b74b2b8f737604c6
serial: sc16is7xx: add missing support for rs485 devicetree properties

commit b4a778303ea0fcabcaff974721477a5743e1f8ec upstream.

Retrieve rs485 devicetree properties on registration of sc16is7xx ports in
case they are attached to an rs485 transceiver.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Lech Perczak <lech.perczak@camlingroup.com>
Tested-by: Lech Perczak <lech.perczak@camlingroup.com>
Link: https://lore.kernel.org/r/20230807214556.540627-7-hugo@hugovil.com
Cc: Hugo Villeneuve <hugo@hugovil.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c