[PATCH v3 0/7] Add pinctrl driver support for Realtek DHC SoCs

From: Tzuyi Chang
Date: Tue Sep 19 2023 - 06:12:21 EST


These patches add the bindings and the pinctrl drivers for Realtek
DHC(Digital Home Center) RTD SoCs(RTD1619B, RTD1319D and RTD1315E).

Change log:
v2 -> v3:
1. Use regmap_update_bits instead of rtd_pinctrl_update_bits.
2. Remove if/then condition under the patternProperties "-pins$".
v1 -> v2:
1. Rename realtek,pdriver, realtek,ndriver and realtek,dcycle
2. Remove the wildcard in the compatible strings
3. Add the description for RTD1315E, RTD1319D and RTD1315E
4. Add the description for P-MOS and N-MOS driving strength

Tzuyi Chang (7):
pinctrl: realtek: Add common pinctrl driver for Realtek DHC RTD SoCs
pinctrl: realtek: Add pinctrl driver for RTD1315E
pinctrl: realtek: Add pinctrl driver for RTD1319D
pinctrl: realtek: Add pinctrl driver for RTD1619B
dt-bindings: pinctrl: realtek: add RTD1315E pinctrl binding
dt-bindings: pinctrl: realtek: add RTD1319D pinctrl binding
dt-bindings: pinctrl: realtek: add RTD1619B pinctrl binding

.../pinctrl/realtek,rtd1315e-pinctrl.yaml | 188 ++
.../pinctrl/realtek,rtd1319d-pinctrl.yaml | 187 ++
.../pinctrl/realtek,rtd1619b-pinctrl.yaml | 186 ++
drivers/pinctrl/Kconfig | 1 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/realtek/Kconfig | 23 +
drivers/pinctrl/realtek/Makefile | 6 +
drivers/pinctrl/realtek/pinctrl-rtd.c | 580 ++++++
drivers/pinctrl/realtek/pinctrl-rtd.h | 124 ++
drivers/pinctrl/realtek/pinctrl-rtd1315e.c | 1439 +++++++++++++++
drivers/pinctrl/realtek/pinctrl-rtd1319d.c | 1609 +++++++++++++++++
drivers/pinctrl/realtek/pinctrl-rtd1619b.c | 1601 ++++++++++++++++
12 files changed, 5945 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/realtek,rtd1315e-pinctrl.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/realtek,rtd1319d-pinctrl.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/realtek,rtd1619b-pinctrl.yaml
create mode 100644 drivers/pinctrl/realtek/Kconfig
create mode 100644 drivers/pinctrl/realtek/Makefile
create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd.c
create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd.h
create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd1315e.c
create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd1319d.c
create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd1619b.c

--
2.42.0