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

From: Florian Fainelli
Date: Thu Oct 25 2007 - 08:30:55 EST


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.
------------------------------
-
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/