]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite55e82b08fa09e5790c3b9e70902c97a780f7091
tree059efc9592fb7a60cb7d50eef06890e10c7482cd
parentb06e277ad7454ab756b2424ffa8d8446570e4316
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