]> asedeno.scripts.mit.edu Git - linux.git/commit
input: stpmic1: Add STPMIC1 onkey driver
authorPascal PAILLET-LME <p.paillet@st.com>
Mon, 14 Jan 2019 10:05:17 +0000 (10:05 +0000)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 Jan 2019 14:00:26 +0000 (14:00 +0000)
commit9eb9cc932cfa43ac53d82b1b8d593a3a975be99e
tree8c4d22c0f8e2f695cba21e84e801f3ca03e8c9ee
parentd1f1c76896c012e71ea76e48fc039df72cc30a69
input: stpmic1: Add STPMIC1 onkey driver

The STPMIC1 pmic is able to manage an onkey button. This driver exposes
the STPMIC1 onkey as an input device. It can also be configured to
shut-down the power supplies on a long key-press with an adjustable
duration.

Signed-off-by: Pascal Paillet <p.paillet@st.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/stpmic1_onkey.c [new file with mode: 0644]