GPIO: Handling multiple lines at once

From: Roland Stigge
Date: Tue Jan 18 2011 - 11:15:35 EST


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