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

2014-01-16 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. v3: - be a bit more clear that the irq functionality is also

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,1

[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

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

2014-01-07 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 on a mcp23017 chip. Signed-off-by: Lars Poeschel --- .../devicetree/bindings/gpio/gpio-mcp23s08.txt | 21