Input: stmpe - enforce device tree only mode
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Nov 2014 00:51:26 +0000 (16:51 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 16 Dec 2014 05:46:12 +0000 (21:46 -0800)
The STMPE keypad controller is only used with device tree configured
systems, so force the configuration to come from device tree only, and now
actually get the rows and cols from the device tree too.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/stmpe-keypad.txt
drivers/input/keyboard/Kconfig
drivers/input/keyboard/stmpe-keypad.c
include/linux/mfd/stmpe.h

index 1b97222..12bb771 100644 (file)
@@ -8,6 +8,8 @@ Optional properties:
  - debounce-interval        : Debouncing interval time in milliseconds
  - st,scan-count            : Scanning cycles elapsed before key data is updated
  - st,no-autorepeat         : If specified device will not autorepeat
+ - keypad,num-rows          : See ./matrix-keymap.txt
+ - keypad,num-columns       : See ./matrix-keymap.txt
 
 Example:
 
Simple merge
Simple merge
Simple merge