[PATCH v15] Add matrix keypad driver support Mediatek SoCs

Fengping yu fengping.yu at mediatek.com
Mon Jul 20 22:23:21 EDT 2020


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



More information about the Linux-mediatek mailing list