Skip to content

RFC input: add DFROBOT touchscreen controller

Tim Harvey linux-input 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: Add vendor prefix for DFRobotDocumentation/devicetree/bindings/vendor-prefixes.yaml+2 -00 replies
2/3dt-bindings: touchscreen: Add dfr0550 bindingsDocumentation/devicetree/bindings/input/touchscreen/dfr0550.yaml+53 -00 replies
3/3input: touchscreen: add dfr0550 supportMAINTAINERS drivers/input/touchscreen/Kconfig drivers/input/touchscreen/Makefile +1 more+226 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] input: add DFROBOT touchscreen controller

The DFROBOT DFR0678 [1] and DFR0550 [2] touchscreen displays are meant to be compatible with the official RaspberryPi 7in display. However instead of directly conntecting the FT5x06 touch controller to the I2C bus going to the host processor they route it through an MCU and emulate a virtual FT5x06 controller but don't do a very good job at it. The method the RaspberryPi firmware used to read the touch data is supported (which consists of reading R2 to get the number of touch points, then reading 4 bytes of data for each point in discrete I2C transactions. If you try to use the FT5x06 driver which reads all registers starting at R0 at once you will get invalid point data.

This controller lacks an interrupt and does not send UP events so polling mode is used and event ID tracking is used to emulate UP events.

This series adds dt bindings and a standalone driver for this touch controller as opposed to an RFC series I sent out that attempts to add support to the existing edt-ft5x06 driver.

Tim
[1] - https://www.dfrobot.com/product-2193.html
[2] - https://www.dfrobot.com/product-1784.html

Tim Harvey (3):
dt-bindings: Add vendor prefix for DFRobot
dt-bindings: touchscreen: Add dfr0550 bindings
input: touchscreen: add dfr0550 support

 .../bindings/input/touchscreen/dfr0550.yaml   |  53 +++++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   5 +
 drivers/input/touchscreen/Kconfig             |  12 +
 drivers/input/touchscreen/Makefile            |   1 +
 drivers/input/touchscreen/dfr0550.c           | 208 ++++++++++++++++++
 6 files changed, 281 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/dfr0550.yaml
 create mode 100644 drivers/input/touchscreen/dfr0550.c
Signature · 1 line
2.17.1