Re: [PATCH 1/4 resend] [x86] Add generic GPIO support to x86

Florian Fainelli
2007-10-25T12:30:45Z

Hi,

Le jeudi 25 octobre 2007, Thomas Gleixner a écrit :
> It might be useful for everyone to check, whether the existing GPIO
> functionality can be extended, reworked to match the needs of Geode as
> well. Extending / reworking an existing interface is definitely
> better than adding a new incompatible one.

Of course. Just because Geode is the only x86 potential user of such an API
does not mean it should impose its design. Remember that this patch is part
of a serie to add support for the RDC R-321x SoC, which becomes another
x86-family user.

Looking at what Geode can do, and what RDC can do, I guess there are only few
functions that are generic, all the drain, multiplexing, direction things are
only available on the Geode board.
------------------------------