Skip to content

serio: PS/2 gpio bit banging driver for serio bus

Danilo Krummrich linux-devicetree linux-input lkml 9 versions – Applied

Status from this message: Applied, thank you.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest2 patches 4 repliesApplied
  2. v82 patches 1 replySuperseded
  3. v71 patch 2 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v61 patch0 repliesSuperseded
v51 patch1 replySuperseded
v41 patch1 replySuperseded
v31 patch4 repliesSuperseded
v21 patch2 repliesSuperseded
v11 patch11 repliesSuperseded

Patches in v9 Applied

#Subject and filesSizeRepliesApplied
1/2serio: PS/2 gpio bit banging driver for serio busDocumentation/gpio/drivers-on-gpio.txt drivers/input/serio/Kconfig drivers/input/serio/Makefile +1 more+470 -02 replies
2/2dt-bindings: new binding for ps/2 gpio devicesDocumentation/devicetree/bindings/serio/ps2-gpio.txt+23 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLinus WalleijRob Herring
1/2R-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [PATCH v9 0/2] serio: PS/2 gpio bit banging driver for serio bus

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
v9: In "dt-bindings: new binding for ps/2 gpio devices" required property list
was not matching the example node.

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         |  23 ++
 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, 493 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/serio/ps2-gpio.txt
 create mode 100644 drivers/input/serio/ps2-gpio.c
Signature · 1 line
2.14.1