[PATCH 1/2] pinctrl: add pinctrl-mxs support

Linus Walleij linus.walleij at linaro.org
Tue Apr 24 09:07:35 EDT 2012


On Tue, Apr 24, 2012 at 6:05 AM, Shawn Guo <shawn.guo at linaro.org> wrote:

> For example, all available mxs pin configuration options are only 3,
> mA, voltage and pull-up, and they sit on different bit field of
> different registers.  I feel much more comfortable with using properties
> rather than a raw value to represent them, while I feel the raw value
> binding makes some sense to imx, since it has many pin configuration
> options and all these options sit in one register.

Hm, that's pretty interesting - but are imx and mxs even going to use the
same driver then? Maybe I'm not following - are they similar
in all other aspects than for this pin config stuff?

Whether to use properties or raw values or not I cleverly leave up
to the platform to define and solve, unless they want to use
the generic pinprops library.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list