Part Number: SK-AM62B-P1
Tool/software:
Hi,
I'm working on the SK-AM62B-P1, integrating a touch display.
I'm struggling on following: If I use a pin from a GPIO expander as the touch chip's interrupt line, the driver works without issue.
If I use a pin from the MPU itself as the interrupt, the finger touches are not detected.
Belo the working device tree part:
&main_i2c2 {
i2c-switch@71 {
i2c@0 {
touchscreen: focaltech@38 {
compatible = "edt,edt-ft5206";
reg = <0x38>;
interrupt-parent = <&exp1>;
interrupts = <22 GPIO_ACTIVE_LOW>; // TS_INT#
reset-gpios = <&main_gpio0 33 GPIO_ACTIVE_LOW>; // EXP_GPIO0_33
touchscreen-size-x = <1024>;
touchscreen-size-y = <600>;
};
};
};
};
Below the non-working part
&main_i2c2 {
i2c-switch@71 {
i2c@0 {
touchscreen: focaltech@38 {
compatible = "edt,edt-ft5206";
reg = <0x38>;
interrupt-parent = <&main_gpio1>;
interrupts = <22 GPIO_ACTIVE_LOW>; // EXP_GPIO1_22
reset-gpios = <&main_gpio0 42 GPIO_ACTIVE_LOW>; // EXP_GPIO0_42
touchscreen-size-x = <1024>;
touchscreen-size-y = <600>;
};
};
};
};
Are there some GPIOs that can't be used as interrupts ?