[PATCH v3] Input: matrix-keypad - Add device tree support

AnilKumar, Chimata anilkumar at ti.com
Mon Nov 5 19:29:12 EST 2012


+Luotao Fu

On Sat, Nov 03, 2012 at 00:25:53, Stephen Warren wrote:
> On 11/02/2012 05:03 AM, AnilKumar Ch wrote:
> > Add device tree support to matrix keypad driver and usage details
> > are added to device tree documentation. Driver was tested on AM335x
> > EVM.
> 
> > +++ b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt
> 
> > +Optional Properties:
> 
> > +- clustered-irq:	have clustered irq number, that is needed if the irq
> > +			is a combined irq source for the whole matix keypad.
> > +			This is useful if rows and columns of the keypad are
> > +			connected to a GPIO expander.
> > +- clustered-irq-flags:	clustered irq flags
> 
> Shouldn't the GPIO expander itself be an IRQ controller too? What are
> the clustered-irq-flags values?

These are clustered-irq corresponding flags whether the IRQ is
IRQF_TRIGGER_RISING (or) IRQF_TRIGGER_FALLING (or) both and etc.
I have given the pointers based on this patch
https://lkml.org/lkml/2010/5/27/45

I am not able to provide the further details because my hardware is
different. Luotao Fu have added the clustered-irq support he might
have some pointers here.

Hi Luotao Fu,

Do you have any comments here?

Thanks
AnilKumar


More information about the devicetree-discuss mailing list