Input: stmpe-keypad - add support for Device Tree bindings
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Nov 2012 16:55:21 +0000 (08:55 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 24 Nov 2012 08:21:49 +0000 (00:21 -0800)
commit6ea32387a0c7fb9ca0213fd22b47c5a1ca4c2972
treecdae4cc6b20eb6190493e4cddd602ecab3e11cf0
parente2619cf78e19476bfd7ceaefa9eff0847529346e
Input: stmpe-keypad - add support for Device Tree bindings

This patch allows the STMPE driver to be successfully probed and
initialised when Device Tree support is enabled. Besides the usual
platform data changes, we also separate the process of filling in
the 'in use' pin bitmap, as we have to extract the information from
Device Tree in the DT boot case.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/stmpe-keypad.txt [new file with mode: 0644]
drivers/input/keyboard/stmpe-keypad.c
drivers/mfd/stmpe.c