mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
pinctrl: Allow compile testing for K210, TB10X and ZYNQ
Pinctrl drivers for K210, TB10X and ZYNQ do not reference any machine headers, thus can be compile tested for increased build coverage. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/20250611-pinctrl-const-desc-v2-2-b11c1d650384@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
committed by
Linus Walleij
parent
9b36966945
commit
1982621dec
@@ -269,7 +269,8 @@ config PINCTRL_INGENIC
|
||||
|
||||
config PINCTRL_K210
|
||||
bool "Pinctrl driver for the Canaan Kendryte K210 SoC"
|
||||
depends on RISCV && SOC_CANAAN_K210 && OF
|
||||
depends on RISCV && SOC_CANAAN_K210 || COMPILE_TEST
|
||||
depends on OF
|
||||
select GENERIC_PINMUX_FUNCTIONS
|
||||
select GENERIC_PINCONF
|
||||
select GPIOLIB
|
||||
@@ -554,8 +555,8 @@ config PINCTRL_SX150X
|
||||
- 16 bits: sx1509q, sx1506q
|
||||
|
||||
config PINCTRL_TB10X
|
||||
bool
|
||||
depends on OF && ARC_PLAT_TB10X
|
||||
bool "Pinctrl for TB10X" if COMPILE_TEST
|
||||
depends on OF && ARC_PLAT_TB10X || COMPILE_TEST
|
||||
select GPIOLIB
|
||||
|
||||
config PINCTRL_TPS6594
|
||||
@@ -590,7 +591,7 @@ config PINCTRL_TH1520
|
||||
|
||||
config PINCTRL_ZYNQ
|
||||
bool "Pinctrl driver for Xilinx Zynq"
|
||||
depends on ARCH_ZYNQ
|
||||
depends on ARCH_ZYNQ || COMPILE_TEST
|
||||
select PINMUX
|
||||
select GENERIC_PINCONF
|
||||
help
|
||||
|
||||
Reference in New Issue
Block a user