input: Add MediaTek PMIC keys support
authorChen Zhong <chen.zhong@mediatek.com>
Wed, 25 Oct 2017 13:16:03 +0000 (21:16 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 16 Apr 2018 14:16:11 +0000 (15:16 +0100)
commit3e9f0b3e2b27c0aa1d8d317ff293d9832659d6e9
tree7a36faea60f0f41c3677b9cd6735e3befaad6d05
parent8f59e8cb90e8b8af6576800a358808f2868f573a
input: Add MediaTek PMIC keys support

This patch add support to handle MediaTek PMIC MT6397/MT6323 key
interrupts including pwrkey and homekey, also add setting for
long press key shutdown behavior.

Signed-off-by: Chen Zhong <chen.zhong@mediatek.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/input/keyboard/Kconfig
drivers/input/keyboard/Makefile
drivers/input/keyboard/mtk-pmic-keys.c [new file with mode: 0644]