[PATCH v15] Add matrix keypad driver support Mediatek SoCs

Fengping yu
2020-07-21T02:25:37Z

Change since v14:
- add PTR_ERR to resolve compiler warning
- add IRQF_ONESHOT flag to request_irq

fengping.yu (3):
dt-bindings: Add keypad devicetree documentation
drivers: input:keyboard: Add mtk keypad driver
configs: defconfig: Add CONFIG_KEYBOARD_MTK_KPD=m

.../devicetree/bindings/input/mtk-kpd.yaml | 96 ++++++++
arch/arm64/configs/defconfig | 1 +
drivers/input/keyboard/Kconfig | 11 +
drivers/input/keyboard/Makefile | 1 +
drivers/input/keyboard/mtk-kpd.c | 209 ++++++++++++++++++
5 files changed, 318 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/mtk-kpd.yaml
create mode 100644 drivers/input/keyboard/mtk-kpd.c

--
2.18.0