summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/Kconfig
diff options
context:
space:
mode:
authorPascal PAILLET-LME <p.paillet@st.com>2019-01-14 10:05:17 +0000
committerLee Jones <lee.jones@linaro.org>2019-01-16 14:00:26 +0000
commit9eb9cc932cfa43ac53d82b1b8d593a3a975be99e (patch)
tree8c4d22c0f8e2f695cba21e84e801f3ca03e8c9ee /drivers/input/misc/Kconfig
parentd1f1c76896c012e71ea76e48fc039df72cc30a69 (diff)
downloadlinux-9eb9cc932cfa43ac53d82b1b8d593a3a975be99e.tar.gz
linux-9eb9cc932cfa43ac53d82b1b8d593a3a975be99e.tar.bz2
linux-9eb9cc932cfa43ac53d82b1b8d593a3a975be99e.zip
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>
Diffstat (limited to 'drivers/input/misc/Kconfig')
-rw-r--r--drivers/input/misc/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
index ca59a2be9bc5..279fb02a0f14 100644
--- a/drivers/input/misc/Kconfig
+++ b/drivers/input/misc/Kconfig
@@ -851,4 +851,15 @@ config INPUT_SC27XX_VIBRA
To compile this driver as a module, choose M here. The module will
be called sc27xx_vibra.
+config INPUT_STPMIC1_ONKEY
+ tristate "STPMIC1 PMIC Onkey support"
+ depends on MFD_STPMIC1
+ help
+ Say Y to enable support of onkey embedded into STPMIC1 PMIC. onkey
+ can be used to wakeup from low power modes and force a shut-down on
+ long press.
+
+ To compile this driver as a module, choose M here: the
+ module will be called stpmic1_onkey.
+
endif