RE: [PATCH v3] Input: matrix-keypad - Add device tree support
From: AnilKumar, Chimata <hidden>
Date: 2012-11-05 08:29:12
+Luotao Fu On Sat, Nov 03, 2012 at 00:25:53, Stephen Warren wrote:
On 11/02/2012 05:03 AM, AnilKumar Ch wrote:quoted
Add device tree support to matrix keypad driver and usage details are added to device tree documentation. Driver was tested on AM335x EVM.quoted
+++ b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.txtquoted
+Optional Properties:quoted
+- 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 flagsShouldn'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