pinctrl: fix PINCTRL_GENERIC_MUX not always being selectable

CONFIG_MULTIPLEXER can only be enabled indirectly. If it's not already
enabled, then CONFIG_PINCTRL_GENERIC_MUX cannot be selected at all in
menuconfig. That's because it depends on MULTIPLEXER.

Follow similar consumers of the multiplexer core and select MULTIPLEXER
instead. This way the driver will be visible in menuconfig as long as
PINCTRL is selected.

Fixes: 34acc5a8ad ("pinctrl: add generic board-level pinctrl driver using mux framework")
Signed-off-by: Alvin Šipraga <alvin.sipraga@analog.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
Alvin Šipraga
2026-07-27 14:20:08 +02:00
committed by Linus Walleij
parent 87b42c8b21
commit 465f276bb9

View File

@@ -274,8 +274,8 @@ config PINCTRL_GEMINI
config PINCTRL_GENERIC_MUX
tristate "Generic Pinctrl driver by using multiplexer"
depends on MULTIPLEXER
depends on OF
select MULTIPLEXER
select PINMUX
select GENERIC_PINCTRL
help