[PATCH] pinctrl: samsung: Allow pin value to be initialized using pinfunc.

Linus Walleij linus.walleij at linaro.org
Mon Dec 9 05:22:44 EST 2013


On Thu, Dec 5, 2013 at 4:07 PM, Mark Brown <broonie at kernel.org> wrote:
> On Tue, Dec 03, 2013 at 10:29:42AM +0100, Linus Walleij wrote:
>
>> So a suggested patch to support weak hogs would be interesting
>> to look at. Can you provide details on how you think this would
>> work?
>
> Or should we be going and applying the default state to all devices on
> init without worrying about a driver appearing?

That doesn't really work: if you have an unused device not in the
DT you usually mark it "disabled", and then the DT core doesn't
even create a platform_device for this node.

So doing this would involve parsing the tree and ... yuck.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list