Skip to content

Touchscreen

The XP8800 uses a Parade / Cypress TrueTouch Gen5 capacitive controller. It uses the HID-over-I²C protocol. The mainline Linux driver cyttsp5 (compatible = "cypress,tt21000") operates with this protocol.

The controller can operate without custom software, if you follow the power sequence.

Controller summary

Item Value Confidence
Controller Parade/Cypress TrueTouch Gen5 Unit
HID vendor / product 0x04b4 / 0xc101 Unit
Silicon ID words 0x1591, 0x0250 (no Parade part number found) Unit
Firmware PIP 1.2, firmware 2.0, revision control 800007, config 0x0022, bootloader 2.0 Unit
Stock driver TTDA.03.07.844339, firmware file cyttsp5_fw.bin Stock
Bus I²C c178000, address 0x24 Unit
Geometry 13 × 23 electrodes, 62.89 × 111.02 mm, panel ID 1 Unit
Reported resolution 1080 × 1920, 32 slots Unit
Extra inputs The stock driver also has button and proximity inputs Stock

Pins and power

Signal Pin Notes
SDA / SCL TLMM 14 / 15 I²C c178000
Interrupt (attention) TLMM 67 Falling edge
Reset TLMM 66 Active low
Power enable TLMM 35
vdd PM660L L3 at 2.8 V Stock requests 2.8 V, 500 mA maximum
vddio / vddi2c PM660 L11 at 1.8 V I²C I/O rail

Power-sequence requirement: the controller does not send an ACK on I²C until PM660L L3 is on.

When L3 is at 2.8 V, power-enable is high, and reset is high, the controller sends a correct HID descriptor and system information. This is the most important item for bring-up.

Protocol

The mainline driver cyttsp5 uses the same HID framing as the unit:

Item Value
Packet ID 0xf7
Input register 0x0003
Output register 0x0004
HID descriptor register 0x01

The stock device tree sets the HID descriptor register to 0x01. The stock kernel contains the symbols cyttsp5_get_hid_descriptor and cyttsp5_hid_output_get_sysinfo. These symbols show that the protocol is the same.

Power and data path

flowchart LR
  SoC["SDM630 BLSP QUP<br/>I2C c178000"] <-->|SDA TLMM14 / SCL TLMM15| TOUCH["TrueTouch Gen5 @0x24"]
  IRQ["TLMM 67 IRQ (falling)"] --> SoC
  RST["TLMM 66 reset"] --> TOUCH
  EN["TLMM 35 power enable"] --> TOUCH
  L3["PM660L L3 2.8 V"] --> TOUCH
  L11["PM660 L11 1.8 V"] --> TOUCH

Verified behavior

When L3 is on and power-enable and reset are high, the controller sends a Cypress HID descriptor and system information at 0x24.

With mainline cyttsp5, the controller follows five touches at the same time. Two-finger tracking covers X 53–1030 and Y 58–1881 in a 1080 × 1920 coordinate space.

Nobody has tested glove use and wet use. The marketing information says that the panel can operate with gloves and with water. The stock driver can apply more tuning for these modes.