[PATCH 1/2] pinctrl: add function to parse generic pinconfig properties from a dt node

Linus Walleij linus.walleij at linaro.org
Thu Jun 13 11:31:45 EDT 2013

On Thu, Jun 13, 2013 at 4:35 PM, Heiko Stübner <heiko at sntech.de> wrote:
> Am Donnerstag, 13. Juni 2013, 10:11:28 schrieb Linus Walleij:
>> Tisdagen den 13:e Juni 2013 klock 12:22 AM, skrev Heiko Stübner

>> > The only other candidate I could find was low-power-mode which really
>> > could use a "1" as default. All the other pinconf options either use
>> > custom arguments or ignore teir argument.
>> A "1" for what? Not quite following....
> According to the pinconf header docs, low-power-mode also expects an argument
> of 1 or 0. So it's default value should change too ... or we could rename the
> property, like "low-power-enable" and "low-power-disable", which might make
> the dt more readable than an arbitary low-power-mode = <0>;

Oh yes, sorry, of course. Go ahead with this.

Linus Walleij

More information about the linux-arm-kernel mailing list