Skip to contentSkip to conversation

gpio: tegra: Add missing dependencies

PATCH Applied Thierry Reding 2 participants 2 messages Jan 18, 2021 – Jan 19, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: tegra: Add missing dependencies

From: Thierry Reding <[email protected]>

Commit efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip") moved the Tegra GPIO driver to the generic GPIO IRQ chip infrastructure and made the IRQ domain hierarchical, so the driver needs to pull in the support infrastructure via the GPIOLIB_IRQCHIP and IRQ_DOMAIN_HIERARCHY Kconfig options.

Fixes efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip")
---
 drivers/gpio/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpio/Kconfig +2 -0
index 75f6c37620ea..013a1055939d 100644
@@ -597,6 +597,8 @@ config GPIO_TEGRA
 	default ARCH_TEGRA
 	depends on ARCH_TEGRA || COMPILE_TEST
 	depends on OF_GPIO
+	select GPIOLIB_IRQCHIP
+	select IRQ_DOMAIN_HIERARCHY
 	help
 	  Say yes here to support GPIO pins on NVIDIA Tegra SoCs.
 
Signature · 1 line
2.30.0
#1 lore raw
Quoted 30 lines · Thierry Reding

From: Thierry Reding <[email protected]>

Commit efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip") moved the Tegra GPIO driver to the generic GPIO IRQ chip infrastructure and made the IRQ domain hierarchical, so the driver needs to pull in the support infrastructure via the GPIOLIB_IRQCHIP and IRQ_DOMAIN_HIERARCHY Kconfig options.

Fixes efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip")
---
 drivers/gpio/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpio/Kconfig +2 -1
index 75f6c37620ea..013a1055939d 100644
@@ -597,6 +597,8 @@ config GPIO_TEGRA
        default ARCH_TEGRA
        depends on ARCH_TEGRA || COMPILE_TEST
        depends on OF_GPIO
+       select GPIOLIB_IRQCHIP
+       select IRQ_DOMAIN_HIERARCHY
        help
          Say yes here to support GPIO pins on NVIDIA Tegra SoCs.
 
--
Quoted 2 lines

2.30.0

Applied, thanks!

Bartosz