Re: [patch/rfc 2.6.19-rc5] arch-neutral GPIO calls

From: Bill Gatliff
Date: Tue Nov 21 2006 - 22:36:56 EST


David:

David Brownell wrote:

I know some folk say they "need" to remux after boot in non-exceptional cases,
but the ability to do that (or not) really seems like a separate discussion.



I don't need to REmux, but I don't want to bother setting up the routing manually at all. I think the GPIO management stuff can do it properly on my behalf, given the information we have to acquire to get the GPIO API to work in the first place.

Kind of like with request_irq() and enable_irq(). The driver is saying, "I don't care what's actually behind this interrupt source X, I just want it routed over to me". If we commit to hiding the muxing behind the API, instead of defining a new, parallel API, we get that kind of mentality for GPIO as well.


That's all. Go forth and code. :)


b.g.

--
Bill Gatliff
bgat@xxxxxxxxxxxxxxx

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