Re: [PATCH 1/2] gpio: add pin biasing and drive mode to gpiolib
From: Linus Walleij
Date: Tue Apr 26 2011 - 03:48:09 EST
2011/4/25 Rohit Vaswani <rvaswani@xxxxxxxxxxxxxx>:
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/