linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v8 0/2] serio: PS/2 gpio bit banging driver for serio bus
@ 2017-08-21 13:31 Danilo Krummrich
  2017-08-21 13:31 ` [PATCH v8 1/2] " Danilo Krummrich
  2017-08-21 13:31 ` [PATCH v8 2/2] dt-bindings: new binding for ps/2 gpio devices Danilo Krummrich
  0 siblings, 2 replies; 4+ messages in thread
From: Danilo Krummrich @ 2017-08-21 13:31 UTC (permalink / raw)
  To: linux-kernel, linux-input, dmitry.torokhov, linus.walleij,
	rdunlap, devicetree
  Cc: Danilo Krummrich

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-21 19:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 13:31 [PATCH v8 0/2] serio: PS/2 gpio bit banging driver for serio bus Danilo Krummrich
2017-08-21 13:31 ` [PATCH v8 1/2] " 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

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).