]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: tegra186: Add support for Tegra264
authorPrathamesh Shete <pshete@nvidia.com>
Wed, 28 Jan 2026 08:51:13 +0000 (08:51 +0000)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Thu, 29 Jan 2026 08:31:04 +0000 (09:31 +0100)
commitaf9b4a56f0000fb11057e204ddfb05d72ba4dba0
tree61b5f55f3cd45de15cf4f96c85af18888503eb8c
parentb565717e1d50078b8f13f3f796e707d24a6f3fdc
gpio: tegra186: Add support for Tegra264

Extend the existing Tegra186 GPIO controller driver with support for the
GPIO controller found on Tegra264.

Use the "wakeup-parent" phandle from the GPIO device tree node to
ensure the GPIO driver associates with the intended PMC device.
Relying only on compatible-based lookup can select an unexpected
PMC node, so fall back to compatible-based lookup when the phandle
is not present.

Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/20260128085114.1137725-2-pshete@nvidia.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-tegra186.c