Re: [PATCH RFC 01/11 v4] gpio: Add a block GPIO API to gpiolib

2012-10-15 Thread Ryan Mallon
On 16/10/12 10:31, Roland Stigge wrote: > The recurring task of providing simultaneous access to GPIO lines (especially > for bit banging protocols) needs an appropriate API. > > This patch adds a kernel internal "Block GPIO" API that enables simultaneous > access to several GPIOs. This is done by

[PATCH RFC 01/11 v4] gpio: Add a block GPIO API to gpiolib

2012-10-15 Thread Roland Stigge
The recurring task of providing simultaneous access to GPIO lines (especially for bit banging protocols) needs an appropriate API. This patch adds a kernel internal "Block GPIO" API that enables simultaneous access to several GPIOs. This is done by abstracting GPIOs to an n-bit word: Once requeste