[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200407053610.20996-1-fengping.yu@mediatek.com>
Date: Tue, 7 Apr 2020 13:36:09 +0800
From: Fengping yu <fengping.yu@...iatek.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Yingjoe Chen <yingjoe.chen@...iatek.com>,
Rob Herring <robh+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>
CC: <linux-kernel@...r.kernel.org>, <wsd_upstream@...iatek.com>,
<linux-mediatek@...ts.infradead.org>, <linux-input@...r.kernel.org>
Subject: [PATCH v3] drivers:input:keyboard: add mtk keypad driver
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
Powered by blists - more mailing lists