[PATCH v2 00/14] pinctrl: realtek: Core improvements and RTD1625 support

Yu-Chun Lin posted 14 patches 1 month ago
There is a newer version of this series
.../bindings/pinctrl/pincfg-node.yaml         |    4 +
.../pinctrl/realtek,rtd1315e-pinctrl.yaml     |    9 +-
.../pinctrl/realtek,rtd1319d-pinctrl.yaml     |    9 +-
.../pinctrl/realtek,rtd1619b-pinctrl.yaml     |    9 +-
.../pinctrl/realtek,rtd1625-pinctrl.yaml      |  260 ++
arch/arm64/boot/dts/realtek/kent.dtsi         |   39 +
drivers/pinctrl/pinconf-generic.c             |    2 +
drivers/pinctrl/realtek/Kconfig               |   14 +
drivers/pinctrl/realtek/Makefile              |    1 +
drivers/pinctrl/realtek/pinctrl-rtd.c         |  205 +-
drivers/pinctrl/realtek/pinctrl-rtd.h         |   50 +
drivers/pinctrl/realtek/pinctrl-rtd1625.c     | 3148 +++++++++++++++++
include/linux/pinctrl/pinconf-generic.h       |    3 +
13 files changed, 3709 insertions(+), 44 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pinctrl/realtek,rtd1625-pinctrl.yaml
create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd1625.c
[PATCH v2 00/14] pinctrl: realtek: Core improvements and RTD1625 support
Posted by Yu-Chun Lin 1 month ago
This series introduces pinctrl support for the Realtek RTD1625 SoC and adds device
nodes for the platform.

In addition to the new SoC support, this series improves the common Realtek pinctrl
library by:

1. Cleaning up license strings and correcting grammar error in error messages.
2. Simplifying error handling in probe() and switching to devm functions.
3. Adding support for slew rate, input voltage parameters, and system
suspend/resume.
4. Fixing return values for unsupported configurations to ensure proper interaction
with gpiolib.
5. Introducing the generic 'input-voltage-microvolt' property to pincfg and
pinconf-generic.
6. Refactoring existing properties (renaming 'realtek,duty-cycle') to improve
clarity.

Best regards,
Yu-Chun Lin
---
Changes in v2:
- Add relevant mailing lists to CC.
- Add a grammar fix in error messages.
- Move the "support system suspend and resume" patch after the fix patches.
- Introduce the generic 'input-voltage-microvolt' property.
- Add patches for renaming property 'realtek,duty-cycle' to 'realtek,pulse-width-adjust'.
- Improve realtek,rtd1625-pinctrl.yaml description and properties.
- Add RTD1625 pinctrl device nodes to the DTS.

Yu-Chun Lin (14):
  pinctrl: realtek: cleanup license string
  pinctrl: realtek: Fix return value and silence log for unsupported
    configs
  pinctrl: realtek: Switch to use devm functions
  pinctrl: realtek: Simplify error handling with dev_err_probe()
  pinctrl: realtek: Fix grammar in error messages
  pinctrl: realtek: support system suspend and resume
  dt-bindings: pincfg-node: Add input-voltage-microvolt property
  pinctrl: pinconf-generic: Add properties 'input-voltage-microvolt'
  dt-bindings: pinctrl: realtek: Rename 'realtek,duty-cycle' to
    'realtek,pulse-width-adjust'
  pinctrl: realtek: Rename 'realtek,duty-cycle' to
    'realtek,pulse-width-adjust'
  dt-bindings: pinctrl: realtek: add RTD1625 pinctrl binding
  pinctrl: realtek: add support for slew rate, input voltage and high
    VIL
  pinctrl: realtek: add rtd1625 pinctrl driver
  arm64: dts: realtek: Add pinctrl support for RTD1625

 .../bindings/pinctrl/pincfg-node.yaml         |    4 +
 .../pinctrl/realtek,rtd1315e-pinctrl.yaml     |    9 +-
 .../pinctrl/realtek,rtd1319d-pinctrl.yaml     |    9 +-
 .../pinctrl/realtek,rtd1619b-pinctrl.yaml     |    9 +-
 .../pinctrl/realtek,rtd1625-pinctrl.yaml      |  260 ++
 arch/arm64/boot/dts/realtek/kent.dtsi         |   39 +
 drivers/pinctrl/pinconf-generic.c             |    2 +
 drivers/pinctrl/realtek/Kconfig               |   14 +
 drivers/pinctrl/realtek/Makefile              |    1 +
 drivers/pinctrl/realtek/pinctrl-rtd.c         |  205 +-
 drivers/pinctrl/realtek/pinctrl-rtd.h         |   50 +
 drivers/pinctrl/realtek/pinctrl-rtd1625.c     | 3148 +++++++++++++++++
 include/linux/pinctrl/pinconf-generic.h       |    3 +
 13 files changed, 3709 insertions(+), 44 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/realtek,rtd1625-pinctrl.yaml
 create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd1625.c

-- 
2.34.1
Re: [PATCH v2 00/14] pinctrl: realtek: Core improvements and RTD1625 support
Posted by Linus Walleij 1 month ago
Hi Yu-Chun,

On Fri, Mar 6, 2026 at 8:52 AM Yu-Chun Lin <eleanor.lin@realtek.com> wrote:


> Yu-Chun Lin (14):
>   pinctrl: realtek: cleanup license string
>   pinctrl: realtek: Fix return value and silence log for unsupported
>     configs
>   pinctrl: realtek: Switch to use devm functions
>   pinctrl: realtek: Simplify error handling with dev_err_probe()
>   pinctrl: realtek: Fix grammar in error messages
>   pinctrl: realtek: support system suspend and resume

I applied these 6 uncontroversial patches to the pinctrl tree, so you
can rebase on my "devel" branch in the pinctrl git tree as soon as I
push out the changes and just resend the rest of the
patches.

Yours,
Linus Walleij