[PATCH v5 0/3] pinctrl: mediatek: Add pinctrl driver on mt8196

Cathy Xu
2025-03-21T09:01:09Z

Changes in v5:
- Remove header file to fix dt-binding check error.
- Add /* sentinel */ in pinctrl-mt8196.c.

Changes in v4:
- Add rsel-resistence-in-si-unit and remove RSEL macro magic
number in mediatek,mt8196-pinctrl.yaml.
- Add values in SI units option to |struct mtk_pin_soc| in
pinctrl-mt8196.c.
- Move pinmux macro header file to arch/arm64/boot/dts/mediatek.

Changes in v3:
- Remove drive-strength-microamp & rsel-resistence-in-si-unit
related description in mediatek,mt8196-pinctrl.yaml.
- Use pm_sleep_ptr() in pinctrl-mt8196.c to fix build error.

Changes in v2:
- Fix driver file's coding style.
- Add pinctrl binding document.

Cathy Xu (3):
dt-bindings: pinctrl: mediatek: Add support for mt8196
arm64: dts: mediatek: mt8196: Add pinmux macro header file
pinctrl: mediatek: Add pinctrl driver on mt8196

.../pinctrl/mediatek,mt8196-pinctrl.yaml | 223 ++
arch/arm64/boot/dts/mediatek/mt8196-pinfunc.h | 1574 ++++++++++
drivers/pinctrl/mediatek/Kconfig | 12 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/pinctrl-mt8196.c | 1859 +++++++++++
drivers/pinctrl/mediatek/pinctrl-mtk-mt8196.h | 2789 +++++++++++++++++
6 files changed, 6458 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/mediatek,mt8196-pinctrl.yaml
create mode 100644 arch/arm64/boot/dts/mediatek/mt8196-pinfunc.h
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt8196.c
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt8196.h

--
2.45.2