Input: tps65218-pwrbutton - add support for tps65217 variant
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Sat, 10 Sep 2016 17:42:53 +0000 (10:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 10 Sep 2016 17:47:49 +0000 (10:47 -0700)
commit722dc54628ca5cffd3b4581b523775aa422b55df
tree059efc9592fb7a60cb7d50eef06890e10c7482cd
parent3521a0f05d28e75612bbe1ee014bdfedf831b23f
Input: tps65218-pwrbutton - add support for tps65217 variant

The power button found in tps65217 device is very similar to the tps65218,
so let's enhance the driver to support both variants.

This driver enables us to use tps65217's power button as KEY_POWER on
am335x boards (directly connected button in chiliboard, accessible pin
via expansion header in beaglebone). This patch has been tested with
chiliboard.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
drivers/input/misc/Kconfig
drivers/input/misc/tps65218-pwrbutton.c