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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Friday, October 19, 2007 - 5:32 pm

On Fri, 19 Oct 2007 14:01:56 +0200, Florian Fainelli wrote:


Its reasonable to expect that the API will expand over time as it is
thrust into new situations.  There is nothing wrong with the existing API,
it does an admirable job of simple GPIO frobbing.  But on the Geode, GPIOs
can do much more then just simple input and output.  We can cause events,
use input filtering for debouncing, set various drain options, and more.
And these are not bullet points from the datasheet that we want to
implement for completeness; these functions are actually being used right
now in the kernel on real hardware.  Just because other architectures
haven't found a need to expand the API doesn't mean that we shouldn't
expand it now.  And bear in mind, the Geode isn't unique - I'll bet beers
that there are MIPS and ARM architectures that have these features too,
and they would use the API if it existed.

Jordan

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/4 resend] [x86] Add generic GPIO support to x86, Jordan Crouse, (Fri Oct 19, 5:32 pm)
Re: [PATCH 1/4 resend] [x86] Add generic GPIO support to x86, Haavard Skinnemoen, (Sun Oct 21, 12:06 pm)