]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit73eef3884b0cdc9a551b84856e8bdc50a2fb5356
tree7a36faea60f0f41c3677b9cd6735e3befaad6d05
parent48a8c67cbe39ce97fc5f3e926f900a6415a2fead
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]