[PATCH 0/3] Add Tegra268 pinmux support
From: Prateek Agarwal
Date: Sun Oct 04 2026 - 15:29:38 EST
This series adds pinctrl support for the three pin controllers (MAIN, UPHY
and AON) found on Tegra268. The pin, function and pin group data is
self-contained in the new driver.
Patch 1 adds the ARCH_TEGRA_268_SOC Kconfig symbol. This symbol gates the
Tegra268 specific support code, and PINCTRL_TEGRA268 in patch 3 uses it as
its default. It is kept as a separate patch because drivers/soc/tegra is
merged through the Tegra tree rather than the pinctrl tree.
Patch 2 documents the three compatible strings and describes the pins and
functions they provide. Patch 3 adds the driver and the PINCTRL_TEGRA268
Kconfig symbol.
Patches 2 and 3 build without patch 1. PINCTRL_TEGRA268 only references
ARCH_TEGRA_268_SOC in a "default m if" expression, and Kconfig treats an
unknown symbol in that position as false, so the driver simply defaults to
off if patch 1 is not present. Patches 2 and 3 can therefore be applied to
the pinctrl tree independently of patch 1, and no temporary build break
occurs if the trees are merged in either order.
There is no Tegra268 device tree in the tree yet. The device tree nodes for
these controllers will be posted together with the Tegra268 device tree
once that work is ready. If it is preferred that the bindings land
alongside their first consumer instead, patch 2 can be held back and
reposted with the device tree.
Prathamesh Shete (3):
soc/tegra: Add Tegra268 Kconfig symbol
dt-bindings: pinctrl: Document Tegra268 pin controllers
pinctrl: tegra: Add support for Tegra268
.../pinctrl/nvidia,tegra268-pinmux-aon.yaml | 78 +
.../nvidia,tegra268-pinmux-common.yaml | 84 +
.../pinctrl/nvidia,tegra268-pinmux-main.yaml | 136 ++
.../pinctrl/nvidia,tegra268-pinmux-uphy.yaml | 75 +
drivers/pinctrl/tegra/Kconfig | 11 +
drivers/pinctrl/tegra/Makefile | 1 +
drivers/pinctrl/tegra/pinctrl-tegra268.c | 1944 +++++++++++++++++
drivers/soc/tegra/Kconfig | 9 +
8 files changed, 2338 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra268-pinmux-aon.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra268-pinmux-common.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra268-pinmux-main.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra268-pinmux-uphy.yaml
create mode 100644 drivers/pinctrl/tegra/pinctrl-tegra268.c
base-commit: 72d3fcf802c45d00b300f25b848a93c3a2bd7c7e
--
2.17.1