From: Danilo Krummrich <danilokrummrich@dk-develop.de>
To: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
dmitry.torokhov@gmail.com, linus.walleij@linaro.org,
rdunlap@infradead.org, devicetree@vger.kernel.org
Cc: Danilo Krummrich <danilokrummrich@dk-develop.de>
Subject: [PATCH v8 0/2] serio: PS/2 gpio bit banging driver for serio bus
Date: Mon, 21 Aug 2017 15:31:10 +0200 [thread overview]
Message-ID: <20170821133112.22276-1-danilokrummrich@dk-develop.de> (raw)
v2: Removed one verbose print statement, changed another one to dev_dbg.
v3: - fixed compiler warning on blackfin
- depends on GPIOLIB
- clarify documentation
v4: - fixed concurrent calls to ps2_gpio_write (serio->write)
- use gpiod API·
- use generic device properties
- request irq separately, do not use gpiod_to_irq
- abort when gpio is connected via slow bus·
- Fixed a bug where PS2_CMD_RESEND is always send after tx failed once.
The makes the write functionallity work better, tough timing is still
critical.
- disable irq initially until ps2_gpip_open (serio->open) is called
v5: Checked again why timings are that hard to reach while in tx mode and·
discovered that there is an extra clock pulse between stop bit sent from
host and acknowledgement from device. By just skipping this clock pulse
tx works fine now, though it still happens sometimes that the timing can·
not be reached of course.
v6: - fixed typos
- use of_match_ptr
v7: remove unnecessary barriers
v8: - split patch to have a separate one for the dt binding
- remove ps2-gpio prefix in binding
Danilo Krummrich (2):
serio: PS/2 gpio bit banging driver for serio bus
dt-bindings: new binding for ps/2 gpio devices
.../devicetree/bindings/serio/ps2-gpio.txt | 22 +
Documentation/gpio/drivers-on-gpio.txt | 5 +
drivers/input/serio/Kconfig | 11 +
drivers/input/serio/Makefile | 1 +
drivers/input/serio/ps2-gpio.c | 453 +++++++++++++++++++++
5 files changed, 492 insertions(+)
create mode 100644 Documentation/devicetree/bindings/serio/ps2-gpio.txt
create mode 100644 drivers/input/serio/ps2-gpio.c
--
2.14.1
next reply other threads:[~2017-08-21 13:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-21 13:31 Danilo Krummrich [this message]
2017-08-21 13:31 ` [PATCH v8 1/2] serio: PS/2 gpio bit banging driver for serio bus Danilo Krummrich
2017-08-21 13:31 ` [PATCH v8 2/2] dt-bindings: new binding for ps/2 gpio devices Danilo Krummrich
[not found] ` <20170821133112.22276-3-danilokrummrich-q2z19idT6fYRctDU1SCqIg@public.gmane.org>
2017-08-21 19:19 ` Rob Herring
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=20170821133112.22276-1-danilokrummrich@dk-develop.de \
--to=danilokrummrich@dk-develop.de \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).