From: Fengping Yu <fengping.yu@mediatek.com>
To: Marco Felsch <m.felsch@pengutronix.de>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Yingjoe Chen <yingjoe.chen@mediatek.com>
Cc: <linux-input@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH v6] Add mtk matrix keypad driver for keypad on MTK SoC
Date: Sat, 9 May 2020 10:04:56 +0800 [thread overview]
Message-ID: <20200509020458.8359-1-fengping.yu@mediatek.com> (raw)
Change since v5:
- remove unnecessary include files
- remove redundant comments and newlines
- use local irqnr variable instead of member variable of mtk_keypad struct
- use regmap to read and write registers
- drop kpd_get_dts_info directly into probe function
- use devm_add_action_or_reset to avoid goto error handling when do clk setting
- use devm_request_threaded_irq api to request irq
- remove platform_set_drvdata
fengping.yu (3):
dt-bindings: Change keypad documentation schema
drivers: input: keyboard: Add mtk keypad driver
configs: defconfig: Add CONFIG_KEYBOARD_MTK_KPD=y
.../devicetree/bindings/input/mtk-kpd.txt | 61 -------
.../devicetree/bindings/input/mtk-kpd.yaml | 93 +++++++++++
arch/arm64/configs/defconfig | 1 +
drivers/input/keyboard/Kconfig | 5 +-
drivers/input/keyboard/mtk-kpd.c | 151 ++++++++----------
5 files changed, 163 insertions(+), 148 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/input/mtk-kpd.txt
create mode 100644 Documentation/devicetree/bindings/input/mtk-kpd.yaml
--
2.18.0
next reply other threads:[~2020-05-09 2:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-09 2:04 Fengping Yu [this message]
2020-05-09 9:39 ` [PATCH v6] Add mtk matrix keypad driver for keypad on MTK SoC Marco Felsch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200509020458.8359-1-fengping.yu@mediatek.com \
--to=fengping.yu@mediatek.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=m.felsch@pengutronix.de \
--cc=yingjoe.chen@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox