mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 00:19:36 +00:00

The ABX500 module depends hard on AB8500_CORE it cannot
be compile-tested in isolation.
Fixes: 720abc5c58
("pinctrl: abx500: enable building modules with COMPILE_TEST=y")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/20250417-abx500-pinctrl-v1-1-0691ad29e2a6@linaro.org
40 lines
931 B
Plaintext
40 lines
931 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
if (ARCH_U8500 || COMPILE_TEST)
|
|
|
|
config PINCTRL_ABX500
|
|
bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions"
|
|
depends on AB8500_CORE
|
|
select GENERIC_PINCONF
|
|
help
|
|
Select this to enable the ABx500 family IC GPIO driver
|
|
|
|
config PINCTRL_AB8500
|
|
bool "AB8500 pin controller driver"
|
|
depends on PINCTRL_ABX500 && (ARCH_U8500 || COMPILE_TEST)
|
|
|
|
config PINCTRL_AB8505
|
|
bool "AB8505 pin controller driver"
|
|
depends on PINCTRL_ABX500 && (ARCH_U8500 || COMPILE_TEST)
|
|
|
|
endif
|
|
|
|
if (ARCH_U8500 || ARCH_NOMADIK || COMPILE_TEST)
|
|
|
|
config PINCTRL_NOMADIK
|
|
bool "Nomadik pin controller driver"
|
|
depends on OF
|
|
select PINMUX
|
|
select PINCONF
|
|
select GPIOLIB
|
|
select GPIO_NOMADIK
|
|
|
|
config PINCTRL_STN8815
|
|
bool "STN8815 pin controller driver"
|
|
depends on PINCTRL_NOMADIK && ARCH_NOMADIK
|
|
|
|
config PINCTRL_DB8500
|
|
bool "DB8500 pin controller driver"
|
|
depends on PINCTRL_NOMADIK && ARCH_U8500
|
|
|
|
endif
|