Working DT config for TP FFC-10P connector
&i2c3 {
status = "okay";
pinctrl-0 = <&i2c3_sck_a_pins>, <&i2c3_sda_a_pins>;
pinctrl-names = "default";
// TP connector or GPIO header
goodix@5d {
compatible = "goodix,gt9110";
reg = <0x5d>;
interrupt-parent = <&gpio_intc>;
reset-gpios = <&gpio_expander 6 GPIO_ACTIVE_HIGH>;
interrupts = <66 IRQ_TYPE_EDGE_RISING>; // TP FFC pin 6 TP_INT
irq-gpios = <&gpio GPIOA_5 GPIO_ACTIVE_HIGH>;
touchscreen-swapped-x-y;
// touchscreen-inverted-x;
touchscreen-inverted-y;
};
};