Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH] gpio: davinci: select GPIOLIB_IRQCHIP
@ 2025-05-21  7:24 Bartosz Golaszewski
  2025-05-21  7:27 ` Peng Fan
  0 siblings, 1 reply; 10+ messages in thread
From: Bartosz Golaszewski @ 2025-05-21  7:24 UTC (permalink / raw)
  To: Linus Walleij, Peng Fan
  Cc: linux-gpio, linux-kernel, Bartosz Golaszewski, kernel test robot

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

This driver uses gpiochip_irq_reqres() and gpiochip_irq_relres() which
are only built with GPIOLIB_IRQCHIP=y. Add the missing Kconfig select.

Fixes: 3f50bb3124d7 ("gpio: davinci: Make irq_chip immutable")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505210606.PudPm5pC-lkp@intel.com/
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Another one signalled by the build bot. Peng: if you could go through
the other patches you sent and verify their dependencies are satisfied,
that would be awesome.

 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index bbc71cdde9ed6..5bc31b56b5157 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -253,6 +253,7 @@ config GPIO_DAVINCI
 	tristate "TI Davinci/Keystone GPIO support"
 	default y if ARCH_DAVINCI
 	depends on ((ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)) || COMPILE_TEST
+	select GPIOLIB_IRQCHIP
 	help
 	  Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
 
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH] gpio: davinci: select GPIOLIB_IRQCHIP
@ 2025-05-21  7:20 Peng Fan (OSS)
  2025-05-21  7:29 ` Peng Fan
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Peng Fan (OSS) @ 2025-05-21  7:20 UTC (permalink / raw)
  To: linus.walleij, brgl; +Cc: linux-gpio, linux-kernel, Peng Fan, kernel test robot

From: Peng Fan <peng.fan@nxp.com>

This driver uses gpiochip_irq_reqres() and gpiochip_irq_relres() which
are only built with GPIOLIB_IRQCHIP=y. Add the missing Kconfig select.

Fixes: 3f50bb3124d7 ("gpio: davinci: Make irq_chip immutable")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505210606.PudPm5pC-lkp@intel.com/
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

Hi Bartosz,

 I follow same approach as you did.
 My last build using multi defconfig was not enough.
 I tried build all arch/arm/configs/*, no errors with this patch applied.

Thanks,
Peng

 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index a559d5bb8249..c3465fd82b08 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -253,6 +253,7 @@ config GPIO_DAVINCI
 	tristate "TI Davinci/Keystone GPIO support"
 	default y if ARCH_DAVINCI
 	depends on ((ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)) || COMPILE_TEST
+	select GPIOLIB_IRQCHIP
 	help
 	  Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
 
-- 
2.37.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-05-22  6:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-21  7:24 [PATCH] gpio: davinci: select GPIOLIB_IRQCHIP Bartosz Golaszewski
2025-05-21  7:27 ` Peng Fan
2025-05-21  7:50   ` Peng Fan
2025-05-21  8:06     ` Bartosz Golaszewski
2025-05-22  6:16       ` Peng Fan
  -- strict thread matches above, loose matches on Subject: below --
2025-05-21  7:20 Peng Fan (OSS)
2025-05-21  7:29 ` Peng Fan
2025-05-21  7:29 ` Bartosz Golaszewski
2025-05-21  7:33   ` Peng Fan
2025-05-21 10:13 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox