[GIT PULL] SPEAr pinctrl updates for v-3.5

Linus Walleij linus.walleij at linaro.org
Wed Jun 20 04:25:30 EDT 2012

On Tue, Jun 19, 2012 at 4:11 PM, viresh kumar <viresh.linux at gmail.com> wrote:

> @Grant: Can we have your comments here please. Or any other better
> solution to the problem
> we are facing. I do hope, my last suggestion is not that bad.

I did hunt Grant down in Hong Kong (this make me sound like some
secret agent...) and we discussed this with Dong Aisheng.

The outcome was basically this work item from Linaro:

So the idea is that GPIO drivers should register their pin ranges
instead of the other way around (pinctrl drivers register them, as it
is done today), and that we need to move the mapping to be
GPIO-driver local, which in turn mandates stashing the
struct gpio_chip into the GPIO range mapping.

Not a simple refactoring but probably necessary (all current users need
to be switched over).

Interested? ;-)

Linus Walleij

More information about the linux-arm-kernel mailing list