Re: [PATCH] pinctrl: hide subsystem from the populace

From: Linus Walleij
Date: Wed Nov 09 2011 - 09:11:39 EST


On Mon, Nov 7, 2011 at 5:23 PM, Stephen Warren <swarren@xxxxxxxxxx> wrote:
> Linus Walleij wrote at Monday, November 07, 2011 7:15 AM:

>>  if PINCTRL
>>
>> +menu "Pin controllers"
>> +     depends on PINCTRL
>> +
>>  config PINMUX
>>       bool "Support pinmux controllers"
>>       help
>
> But shouldn't PINMUX and PINMUX_${soc} also have their help text removed;
> it seems like if a SoC selects PINCTRL, it would also select PINMUX if
> appropriate, and the relevant PINMUX_${soc} too?

Yep, you're absolutely right, let's cut the crap.

> I assume there are also patches for arch/arm/mach-${foo}/Kconfig somewhere
> to select PINCTRL when appropriate; they didn't show up in my inbox, but
> I haven't checked my sub-folders yet, so perhaps they're already there.

The U300 one is already in arch/arm/mach-u300/Kconfig

The SirfPrimaII will be part of that platform (still out-of-tree).
They have to start somewhere ... those guys need pinmux to even
get the UART working.

Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/