Thread (4 messages) 4 messages, 2 authors, 2012-11-02

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

From: AnilKumar, Chimata <hidden>
Date: 2012-11-02 08:21:16
Also in: linux-input

On Wed, Oct 31, 2012 at 21:00:59, Stephen Warren wrote:
On 10/31/2012 05:54 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
diff --git a/Documentation/devicetree/bindings/input/matrix-keypad.txt b/Documentation/devicetree/bindings/input/matrix-keypad.txt
new file mode 100644
quoted
+- compatible:		Should be "gpio-matix-keypad"
There's a typo there.

Given that compatible value, shouldn't the file be named
gpio-matrix-keypad.txt then?
Stephen,

Thanks for the comments.

I agree and I have same thing in my mind but the driver name
is matrix-keypad.c. And I think we have to change the driver
file names as well. (drivers/../matrix_keypad.c, linux/input/
matrix_keypad.h).
It seems like the property linux,keymap should be mentioned here too,
with a note to read matrix-keymap.txt for the definition.
I will add a point to specify "details of linux,keymap are available at
matrix-keymap.txt"
quoted
+Optional Properties:
quoted
+- clustered-irq:	have clustered irq number
+- clustered-irq-flags:	have clustered irq flags
Explaining what those mean would be useful.
Sure.

Thanks
AnilKumar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help