Re: [PATCH V2 RESEND 1/2] regmap: irq: Add support for interrupt type

2013-03-16 Thread Laxman Dewangan
On Wednesday 13 March 2013 01:25 AM, Mark Brown wrote: * PGP Signed by an unknown key On Thu, Mar 07, 2013 at 10:03:17PM +0530, Laxman Dewangan wrote: /** + * The Regmap IRQ type Index + * REGMAP_IRQ_TYPE_NONE is used for setting inital value for clearing type. + */ +enum { + REGMAP_IR

Re: [PATCH V2 RESEND 1/2] regmap: irq: Add support for interrupt type

2013-03-12 Thread Mark Brown
On Thu, Mar 07, 2013 at 10:03:17PM +0530, Laxman Dewangan wrote: > /** > + * The Regmap IRQ type Index > + * REGMAP_IRQ_TYPE_NONE is used for setting inital value for clearing type. > + */ > +enum { > + REGMAP_IRQ_TYPE_NONE, > + REGMAP_IRQ_TYPE_RISING, > + REGMAP_IRQ_TYPE_FALLING, > +

[PATCH V2 RESEND 1/2] regmap: irq: Add support for interrupt type

2013-03-07 Thread Laxman Dewangan
Add support of setting the irq_type of the interrupt which is registered through regmap irq framework. The client who register the interrupt can pass the supported irq type through irq chip data along with the type mask and type value of each type which is supported. Client also need to provide th