Tactility/Drivers/xpt2046-softspi-module
Ken Van Hoeylandt 85b61e1e43
Improve module configuration (#661)
DTS modules (device modules) often have a single source file with an empty `struct Module`.
The module's yaml file now allows a `dts-only` boolean to be set, so the source file becomes optional.
`devicetree.yaml` is renamed everywhere to `module.yaml`
2026-09-25 21:56:37 +02:00
..
2026-09-13 00:52:16 +02:00

XPT2046 Software SPI Touch Driver

A kernel driver for the XPT2046 resistive touch controller, bit-banged over plain GPIO pins instead of a hardware SPI peripheral. Use this instead of xpt2046-module when no SPI host is free for touch (e.g. both SPI2_HOST and SPI3_HOST are already claimed by the display and an SD card).

No reset or interrupt pin support (matches the controller's typical wiring: polled, no dedicated IRQ line wired on most panels using it).

See https://grobotronics.com/images/datasheets/xpt2046-datasheet.pdf

License: Apache v2.0