]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: gpio: Add Tegra238 support
authorPrathamesh Shete <pshete@nvidia.com>
Thu, 14 May 2026 12:48:34 +0000 (12:48 +0000)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 18 May 2026 09:12:01 +0000 (11:12 +0200)
commit4002ccd266b665f1097e20addbe8f3baeb2136f9
tree6073d5ea02719d3b3d073c5967f8d4928c696300
parent553e26a45e0e66698c1e0043b705933102ac3edc
dt-bindings: gpio: Add Tegra238 support

Extend the existing Tegra186 GPIO controller device tree bindings with
support for the GPIO controllers found on Tegra238. Tegra238 has two
GPIO controllers: the main controller and always-on (AON) controller.
The number of pins is slightly different, but the programming model
remains the same.

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

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