[PATCH v18] Add matrix keypad driver support for Mediatek SoCs

Fengping Yu fengping.yu at mediatek.com
Tue Sep 8 07:56:11 EDT 2020


Change since v17:
- modify how to get keycode in keypad isr function
- update keypad, num-columns and keypad, num-rows descriptions
- replace variable ret as error in probe function

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

 .../devicetree/bindings/input/mtk-kpd.yaml    |  83 +++++++
 arch/arm64/configs/defconfig                  |   1 +
 drivers/input/keyboard/Kconfig                |  11 +
 drivers/input/keyboard/Makefile               |   1 +
 drivers/input/keyboard/mtk-kpd.c              | 218 ++++++++++++++++++
 5 files changed, 314 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-arm-kernel mailing list