[PATCH v3 0/6] Add Tegra238 and Tegra264 pinctrl support

pshete
2026-04-27T13:43:08Z

Add pinctrl driver support for Tegra238 and Tegra264 along with the
corresponding device tree binding documentation. Additionally, export
tegra_pinctrl_probe() to allow the drivers to be built as loadable modules.

Changes in v3:
- Wrap commit message to 75 chars per line (v2 was too short).
Changes in v2:
- Drop the "arm64: defconfig: make Tegra238 and Tegra264 Pinctrl ..."
patch and instead add 'default m if ARCH_TEGRA_{238,264}_SOC' to
the PINCTRL_TEGRA238 / PINCTRL_TEGRA264 Kconfig entries so the
drivers are auto-enabled as modules.
- New patch "arm64: tegra: Add pinctrl nodes for Tegra264" that
describes the three Tegra264 pin controllers (pinmux_main,
pinmux_aon, pinmux_uphy) in tegra264.dtsi.
- dt-bindings (Tegra238 and Tegra264 pinmux):
* Add 'required: compatible, reg' to the top-level schemas.
* Switch 'unevaluatedProperties: false' to
'additionalProperties: false' on the top-level schemas.
- Reword commit messages to use imperative mood.

Link to v1:
https://lore.kernel.org/linux-tegra/20260409131340.168556-1-pshete@nvidia.com/

Prathamesh Shete (6):
pinctrl: tegra: Export tegra_pinctrl_probe()
dt-bindings: pinctrl: Document Tegra238 pin controllers
pinctrl: tegra: Add Tegra238 pinmux driver
dt-bindings: pinctrl: Document Tegra264 pin controllers
pinctrl: tegra: Add Tegra264 pinmux driver
arm64: tegra: Add pinctrl nodes for Tegra264

.../pinctrl/nvidia,tegra238-pinmux-aon.yaml | 82 +
.../nvidia,tegra238-pinmux-common.yaml | 73 +
.../pinctrl/nvidia,tegra238-pinmux.yaml | 219 ++
.../pinctrl/nvidia,tegra264-pinmux-aon.yaml | 80 +
.../nvidia,tegra264-pinmux-common.yaml | 84 +
.../pinctrl/nvidia,tegra264-pinmux-main.yaml | 167 ++
.../pinctrl/nvidia,tegra264-pinmux-uphy.yaml | 78 +
arch/arm64/boot/dts/nvidia/tegra264.dtsi | 15 +
drivers/pinctrl/tegra/Kconfig | 20 +
drivers/pinctrl/tegra/Makefile | 2 +
drivers/pinctrl/tegra/pinctrl-tegra.c | 2 +
drivers/pinctrl/tegra/pinctrl-tegra238.c | 2056 +++++++++++++++
drivers/pinctrl/tegra/pinctrl-tegra264.c | 2216 +++++++++++++++++
13 files changed, 5094 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra238-pinmux-aon.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra238-pinmux-common.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra238-pinmux.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra264-pinmux-aon.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra264-pinmux-common.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra264-pinmux-main.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra264-pinmux-uphy.yaml
create mode 100644 drivers/pinctrl/tegra/pinctrl-tegra238.c
create mode 100644 drivers/pinctrl/tegra/pinctrl-tegra264.c

--
2.43.0