Re: [PATCH 0/6 v8] gpio: Add block GPIO

2012-12-05 Thread Roland Stigge
Hi Wolfgang, On 05/12/12 19:44, Wolfgang Grandegger wrote: >> * There is probably an explicit interrupt configuration necessary (via >> struct gpio_block, and devicetree, respectively) since there are >> constellations where gpio_to_irq() isn't working. E.g., in contrast to >> controllers which ar

Re: [PATCH 0/6 v8] gpio: Add block GPIO

2012-12-05 Thread Wolfgang Grandegger
Hi Roland, On 12/04/2012 09:39 PM, Roland Stigge wrote: > Hi Wolfgang, > > On 03/12/12 10:17, Wolfgang Grandegger wrote: >> I re-tried v8 on my AT91-SAM9G45 board and it works fine if >> CONFIG_GPIO_SYSFS is enable. Unfortunately, the access via misc device >> fails if CONFIG_GPIO_SYSFS is not se

Re: [PATCH 0/6 v8] gpio: Add block GPIO

2012-12-04 Thread Roland Stigge
Hi Wolfgang, On 03/12/12 10:17, Wolfgang Grandegger wrote: > I re-tried v8 on my AT91-SAM9G45 board and it works fine if > CONFIG_GPIO_SYSFS is enable. Unfortunately, the access via misc device > fails if CONFIG_GPIO_SYSFS is not set. That's due to gpio_block_export() > returning -ENOSYS in gpio_b

Re: [PATCH 0/6 v8] gpio: Add block GPIO

2012-12-03 Thread Wolfgang Grandegger
Hi Roland, On 11/30/2012 07:03 PM, Roland Stigge wrote: > This set of patches adds: > > * Block GPIO API to gpiolib > * Sysfs support for GPIO API, to provide userland access > * Device interface for userland access (alternative to sysfs) > * Devicetree support to instantiate GPIO blocks via DT >

[PATCH 0/6 v8] gpio: Add block GPIO

2012-11-30 Thread Roland Stigge
This set of patches adds: * Block GPIO API to gpiolib * Sysfs support for GPIO API, to provide userland access * Device interface for userland access (alternative to sysfs) * Devicetree support to instantiate GPIO blocks via DT * Example implementations in several gpio drivers since they need sp