mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* GPIO: Handling multiple lines at once
@ 2011-01-18 16:15 Roland Stigge
  2011-01-19  6:28 ` Ben Nizette
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Stigge @ 2011-01-18 16:15 UTC (permalink / raw)
  To: linux-kernel

Hi,

in the standard gpio interface (see Documentation/gpio.txt), we have an
interface to manipulate single GPIO lines.

Several drivers are implementing an interface for devices that can
handle multiple lines at once. E.g. Maxim MAX7301
(drivers/gpio/max7301.c). There, you can get/set/configure 8 bits at
once which is really helpful if you are handling 8 bit data as
bytes/characters via the lines.

Is there an appropriate interface for this case that I'm somehow missing
from the docs and the code?

Or do I need to create it myself?

Or is this a use case not considered "GPIO" at all?

Please CC me.

Thanks in advance!

Roland

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-19  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-18 16:15 GPIO: Handling multiple lines at once Roland Stigge
2011-01-19  6:28 ` Ben Nizette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®