The ConnectCore 6 SBC supports external Goodix capacitive touch controller for the AUO 10.1" LVDS LCD display, connected through port I2C3. It also supports touch controller for Fusion 7" and Fusion 10.1" LVDS LCD displays, but not by default. See Enable support for a Fusion display for details.

Kernel configuration

You can manage the touch screen driver support through the kernel configuration:

  • Goodix I2C touchscreen (CONFIG_TOUCHSCREEN_GOODIX)

This option is enabled as built-in on the ConnectCore 6 SBC kernel configuration file.

Kernel driver

The driver for the touch screen interface is located at:

File Description

/drivers/input/touchscreen/goodix.c

Goodix touch screen driver

Device tree bindings and customization

The touch screen interface is connected to ConnectCore 6 SBC via port I2C3 at address 0x14. The interrupt line is routed:

  • to GPIO7_11 on the i.MX6 CPU for LVDS0

  • to GPIO3_23 on the i.MX6 CPU for LVDS1

Definition of the Goodix touch screen controller

ConnectCore 6 SBC device tree
&i2c3 {

    [...]

    goodix_touch: gt911@14 {
        compatible = "goodix,gt9271";
        reg = <0x14>;
        /* Interrupt for LVDS0 */
        interrupt-parent = <&gpio7>;
        interrupts = <11 IRQ_TYPE_EDGE_RISING>;
        irq-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
        /* Interrupt for LVDS1 */
        //interrupt-parent = <&gpio3>;
        //interrupts = <23 IRQ_TYPE_EDGE_RISING>;
        //irq-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
        skip-firmware-request;
        status = "disabled";
    };

    [...]
};