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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux