Skip to contentSkip to conversation

gpio: qixis: select CONFIG_REGMAP_MMIO

PATCH Applied Arnd Bergmann 2 participants 2 messages Dec 4, 2025 – Dec 5, 2025 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: qixis: select CONFIG_REGMAP_MMIO

From: Arnd Bergmann <[email protected]>

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")
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/Kconfig +1 -0
index 93ab737c6adb..a1fd130a2408 100644
@@ -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
Signature · 1 line
2.39.5
#1 lore raw
Quoted 8 lines · Arnd Bergmann

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,

Signature · 1 line
Bartosz Golaszewski <[email protected]>