Skip to content

Input: edt-ft5x06 - add SPI transport and FocalTech FT8722 support

Luka Panio dri-devel linux-devicetree linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Input: edt-ft5x06 - split the bus independent core from the I2C driverdrivers/input/touchscreen/edt-ft5x06.c drivers/input/touchscreen/edt-ft5x06.h+179 -1270 replies
2/7Input: edt-ft5x06 - move the controller bring-up into a helperdrivers/input/touchscreen/edt-ft5x06.c+86 -680 replies
3/7Input: edt-ft5x06 - add an optional controller boot hookdrivers/input/touchscreen/edt-ft5x06.c drivers/input/touchscreen/edt-ft5x06.h+25 -20 replies
4/7Input: edt-ft5x06 - allow a chip specific touch data registerdrivers/input/touchscreen/edt-ft5x06.c drivers/input/touchscreen/edt-ft5x06.h+5 -20 replies
5/7dt-bindings: input: touchscreen: edt-ft5x06: Add FocalTech FT8722Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml+37 -02 replies
6/7Input: edt-ft5x06 - add SPI transport and FT8722 supportdrivers/input/touchscreen/Kconfig drivers/input/touchscreen/Makefile drivers/input/touchscreen/edt-ft5x06-spi.c+490 -02 replies
7/7Input: edt-ft5x06 - support following a DRM paneldrivers/input/touchscreen/Kconfig drivers/input/touchscreen/edt-ft5x06.c+151 -60 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] Input: edt-ft5x06 - add SPI transport and FocalTech FT8722 support

The FocalTech FT8722 is a touch and display driver (TDDI) found in the Nexphone (QCM6490). Its touch controller speaks the usual FocalTech register protocol handled by edt-ft5x06, but it is connected over SPI, has no flash and runs its firmware from RAM, and shares its power and reset with the display panel.

This series:

- splits the bus independent core of edt-ft5x06 from the I2C driver (patch 1) and moves the controller bring-up into a helper (patch 2),
- adds an optional per-chip boot hook, used to download the firmware after every reset (patch 3), and a per-chip touch data register (patch 4),
- documents the FT8722 touch controller as focaltech,ft8722-ts, keeping it distinct from the display side of the chip (patch 5),
- adds an SPI transport with the FT8722 firmware loader (patch 6),
- lets the driver follow a DRM panel, like i2c-hid does, so the touch controller is powered down and re-initialised together with the panel (patch 7).

Tested on the Nexphone by Nex Computers. A board DTS using it will follow separately.

Luka Panio (7):
Input: edt-ft5x06 - split the bus independent core from the I2C driver
Input: edt-ft5x06 - move the controller bring-up into a helper
Input: edt-ft5x06 - add an optional controller boot hook
Input: edt-ft5x06 - allow a chip specific touch data register
dt-bindings: input: touchscreen: edt-ft5x06: Add FocalTech FT8722
Input: edt-ft5x06 - add SPI transport and FT8722 support
Input: edt-ft5x06 - support following a DRM panel

 .../input/touchscreen/edt-ft5x06.yaml         |  37 ++
 drivers/input/touchscreen/Kconfig             |  15 +
 drivers/input/touchscreen/Makefile            |   1 +
 drivers/input/touchscreen/edt-ft5x06-spi.c    | 475 ++++++++++++++
 drivers/input/touchscreen/edt-ft5x06.c        | 585 ++++++++++++------
 drivers/input/touchscreen/edt-ft5x06.h        |  33 +
 6 files changed, 957 insertions(+), 189 deletions(-)
 create mode 100644 drivers/input/touchscreen/edt-ft5x06-spi.c
 create mode 100644 drivers/input/touchscreen/edt-ft5x06.h

base-commit: d419d682257d813f6cb7a28e42b35d0edf4ad038

Signature · 1 line
2.55.0