Re: [PATCH v2] gpio: mcp23s08: Add irq functionality for i2c chips

2014-01-10 Thread Lars Poeschel
On Friday 10 January 2014 16:08:36, Gerhard Sittig wrote: > On Fri, Jan 10, 2014 at 15:22 +0100, Lars Poeschel wrote: > > --- a/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt > > +++ b/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt > > > > @@ -38,12 +38,37 @@ Required device sp

Re: [PATCH v2] gpio: mcp23s08: Add irq functionality for i2c chips

2014-01-10 Thread Gerhard Sittig
On Fri, Jan 10, 2014 at 15:22 +0100, Lars Poeschel wrote: > > --- a/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt > +++ b/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt > @@ -38,12 +38,37 @@ Required device specific properties (only for SPI chips): > removed. > - spi-max

[PATCH v2] gpio: mcp23s08: Add irq functionality for i2c chips

2014-01-10 Thread Lars Poeschel
From: Lars Poeschel This adds interrupt functionality for i2c chips to the driver. They can act as a interrupt-controller and generate interrupts, if the inputs change. This is tested with a mcp23017 chip on an arm based platform. v2: - some more word about irq-mirror property in binding doc - u