]> 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)
commit36f2e7f3193e8e1b6916f61c21844a9834f76fa4
tree7a36faea60f0f41c3677b9cd6735e3befaad6d05
parentf7485a90a794a702c97251d0ecccf716bbed52ca
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]