]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: gpio: Add Tegra264 support
authorPrathamesh Shete <pshete@nvidia.com>
Wed, 28 Jan 2026 08:51:12 +0000 (08:51 +0000)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Thu, 29 Jan 2026 08:30:54 +0000 (09:30 +0100)
commitb565717e1d50078b8f13f3f796e707d24a6f3fdc
treebaacb97ad55dee5685906e55417a9c3102f47955
parentaa7e37fd770bafaaf856ab77735296955b93e377
dt-bindings: gpio: Add Tegra264 support

Extend the existing Tegra186 GPIO controller device tree bindings with
support for the GPIO controller found on Tegra264. The number of pins
is slightly different, but the programming model remains the same.

Add a new header, include/dt-bindings/gpio/nvidia,tegra264-gpio.h,
that defines port IDs as well as the TEGRA264_MAIN_GPIO() helper,
both of which are used in conjunction to create a unique specifier
for each pin.

On Tegra, GPIO wake events are latched and routed via the PMC.
Document the standard DT property, wakeup-parent, which is a phandle to
the PMC interrupt controller that provides the parent wake interrupt
domain for the GPIO controller. If the property is absent the driver
falls back to a compatible-based lookup.

Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260128085114.1137725-1-pshete@nvidia.com
[Bartosz: fixed whitespace errors]
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Documentation/devicetree/bindings/gpio/nvidia,tegra186-gpio.yaml
include/dt-bindings/gpio/nvidia,tegra264-gpio.h [new file with mode: 0644]