[PATCH 0/4] serial: sc16is7xx: device tree improvements

Hugo Villeneuve
2023-09-20T15:20:31Z

From: Hugo Villeneuve <hvilleneuve@dimonoff.com>

Hello,
this patch series improves DT properties naming and handling, and converts
sc16is7xx bindings from text to YAML.

Patch 1 make sure we use the device_property APIs when configuring irda mode.

Patch 2 is in preparation for patch 3, to make sure we recognize
"nxp,irda-mode-ports" DT property as well as the (soon to be) legacy property
"irda-mode-ports".

Patch 3 adds a vendor prefix to irda-mode-ports property.

Patch 4 is the actual conversion of bindings to YAML.
Conversion to YAML has been suggested by Andy Shevchenko during review for
another patch series for the sc16is7xx:
Link: https://lkml.org/lkml/2023/5/25/743

Thank you.

Hugo Villeneuve (4):
serial: sc16is7xx: use device_property APIs when configuring irda mode
serial: sc16is7xx: recognize "nxp,irda-mode-ports" DT property
dt-bindings: sc16is7xx: add vendor prefix to irda-mode-ports property
dt-bindings: sc16is7xx: convert to YAML

.../bindings/serial/nxp,sc16is7xx.txt | 118 ----------------
.../bindings/serial/nxp,sc16is7xx.yaml | 126 ++++++++++++++++++
drivers/tty/serial/sc16is7xx.c | 40 ++++--
3 files changed, 156 insertions(+), 128 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt
create mode 100644 Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml

base-commit: c980248179d655d33af47f0b0bec1ce8660994c6
--
2.30.2