* [PATCH] gpio: qixis: select CONFIG_REGMAP_MMIO
@ 2025-12-04 9:48 Arnd Bergmann
2025-12-05 8:53 ` Bartosz Golaszewski
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2025-12-04 9:48 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Frank Li, Ioana Ciornei,
Michael Walle
Cc: Arnd Bergmann, linux-gpio, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
The regmap drivers need to be selected by each user, without that there
can be configurations that fail to link:
x86_64-linux-ld: drivers/gpio/gpio-qixis-fpga.o: in function `qixis_cpld_gpio_probe':
gpio-qixis-fpga.c:(.text+0x13a): undefined reference to `__devm_regmap_init_mmio_clk'
Fixes: e88500247dc3 ("gpio: add QIXIS FPGA GPIO controller")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/gpio/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 93ab737c6adb..a1fd130a2408 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1568,6 +1568,7 @@ config GPIO_QIXIS_FPGA
tristate "NXP QIXIS FPGA GPIO support"
depends on MFD_SIMPLE_MFD_I2C || COMPILE_TEST
select GPIO_REGMAP
+ select REGMAP_MMIO
help
This enables support for the GPIOs found in the QIXIS FPGA which is
integrated on some NXP Layerscape boards such as LX2160ARDB and
--
2.39.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] gpio: qixis: select CONFIG_REGMAP_MMIO
2025-12-04 9:48 [PATCH] gpio: qixis: select CONFIG_REGMAP_MMIO Arnd Bergmann
@ 2025-12-05 8:53 ` Bartosz Golaszewski
0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2025-12-05 8:53 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Frank Li, Ioana Ciornei,
Michael Walle, Arnd Bergmann
Cc: Bartosz Golaszewski, Arnd Bergmann, linux-gpio, linux-kernel
On Thu, 04 Dec 2025 10:48:47 +0100, Arnd Bergmann wrote:
> The regmap drivers need to be selected by each user, without that there
> can be configurations that fail to link:
>
> x86_64-linux-ld: drivers/gpio/gpio-qixis-fpga.o: in function `qixis_cpld_gpio_probe':
> gpio-qixis-fpga.c:(.text+0x13a): undefined reference to `__devm_regmap_init_mmio_clk'
>
>
> [...]
Applied, thanks!
[1/1] gpio: qixis: select CONFIG_REGMAP_MMIO
https://git.kernel.org/brgl/linux/c/db9c67bfca8585bb7f00f289056e7b83502861c8
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-05 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-04 9:48 [PATCH] gpio: qixis: select CONFIG_REGMAP_MMIO Arnd Bergmann
2025-12-05 8:53 ` Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox