[PATCH v6 3/7] mux: add help text for MULTIPLEXER config option

Josua Mayer josua at solid-run.com
Wed Jan 28 06:47:14 PST 2026


On 21/01/2026 12:59, Geert Uytterhoeven wrote:
> Hi Josua,
>
> On Wed, 21 Jan 2026 at 11:02, Josua Mayer <josua at solid-run.com> wrote:
>> Add help text for CONFIG_MULTIPLEXER to allow enabling this option
>> through the kernel configuration without explicit "select" driver
>> dependencies.
>>
>> Signed-off-by: Josua Mayer <josua at solid-run.com>
> Thanks for your patch!
>
>> --- a/drivers/mux/Kconfig
>> +++ b/drivers/mux/Kconfig
>> @@ -5,6 +5,14 @@
>>
>>   config MULTIPLEXER
>>          tristate
>> +       help
>> +         Generic Multiplexer Support.
>> +
>> +         This framework is designed to abstract multiplexer handling for
>> +         devices via various GPIO-, MMIO/Regmap or specific multiplexer
>> +         controller chips.
>> +
>> +         If unsure, say no.
>>
>>   menu "Multiplexer drivers"
>>          depends on MULTIPLEXER
>>
> Unfortunately it doesn't work like that. As the tristate has no prompt
> specified, the user will never be asked about this.
> You should use something like below:
>
> --- a/drivers/mux/Kconfig
> +++ b/drivers/mux/Kconfig
> @@ -4,10 +4,8 @@
>   #
>
>   config MULTIPLEXER
> -       tristate
> +       tristate "Generic Multiplexer Support" if COMPILE_TEST
>          help
> -         Generic Multiplexer Support.
> -
>            This framework is designed to abstract multiplexer handling for
>            devices via various GPIO-, MMIO/Regmap or specific multiplexer
>            controller chips.
Thank you, changed with v7




More information about the linux-phy mailing list