Most LCD displays now have embedded touch screen controllers that can be interfaced through I2C or SPI buses. The ConnectCore 95 BSP supports external Goodix capacitive touch controller for the AUO 10.1" LVDS LCD display.
On the ConnectCore 95 Development Kit:
-
Goodix touch controller is connected via the LPI2C7 port in the LVDS0 and LVDS1 interfaces at address 0x14. The interrupt line of LVDS0 touch is routed to GPIO2_24 of the i.MX95 CPU. The interrupt line of LVDS1 touch is routed to MCA_IO4 of the ConnectCore 95 SMARC SOM.
Kernel configuration
You can manage the Goodix touch controller support through the following kernel configuration option:
-
Goodix I2C touchscreen (
CONFIG_TOUCHSCREEN_GOODIX)
This option is enabled as built-in on the default ConnectCore 95 kernel configuration file.
Kernel driver
| File | Description |
|---|---|
Goodix touchscreen driver |
Device tree bindings and customization
The Goodix touch screen device tree binding is documented at Documentation/devicetree/bindings/input/touchscreen/goodix.yaml
Definition of the Goodix touch screen controller
The touch screen controller is defined as part of the LVDS display device tree overlay:
Since these are optional peripherals, you must enable the corresponding device tree overlay. Check Device tree files and overlays for reference.