linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] drivers:input:keyboard: add mtk keypad driver
@ 2020-04-07  5:36 Fengping yu
  0 siblings, 0 replies; only message in thread
From: Fengping yu @ 2020-04-07  5:36 UTC (permalink / raw)
  To: Dmitry Torokhov, Andy Shevchenko, Yingjoe Chen, Rob Herring,
	Matthias Brugger
  Cc: linux-mediatek, linux-kernel, wsd_upstream, linux-input


This patchset add support to MediaTek matrix keypad.

Change since v2:
- remove extra space and redundant lines
- remove useless code
- update keypad devicetree document debounce time unit
- change to use devm_platform_ioremap_resource() to simplify resource management
- use bitmap to store and check keypad state

fengping.yu (2):
  add dt-binding document for MediaTek Keypad
  add MediaTek keypad driver

 .../devicetree/bindings/input/mtk-kpd.txt     |  61 +++++
 arch/arm64/configs/defconfig                  |   1 +
 drivers/input/keyboard/Kconfig                |   7 +
 drivers/input/keyboard/Makefile               |   1 +
 drivers/input/keyboard/mtk-kpd.c              | 258 ++++++++++++++++++
 5 files changed, 328 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/mtk-kpd.txt
 create mode 100644 drivers/input/keyboard/mtk-kpd.c

--
2.18.0

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-07  5:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07  5:36 [PATCH v3] drivers:input:keyboard: add mtk keypad driver Fengping yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).