[PATCH 1/2] gpio: add pin biasing and drive mode to gpiolib

Linus Walleij linus.walleij at linaro.org
Tue Apr 26 03:48:02 EDT 2011


2011/4/25 Rohit Vaswani <rvaswani at codeaurora.org>:

> Another API to select this would make it more powerful. At boot a lot of
> gpios are configured by the board-file.

Yeah I have already revised this patchset...

> How do you feel about another API that can accepts the gpio config
> parameters (void *data) and set them all at once?
> This would make it more generic to suit different gpio parameters that an
> arch might have.

It's done that way now, and as Alan noted it fits hand-in-glove with
devicetree initialization that way too.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list