Hi,
I have connected FT5x06 7" capacitive touch screen on I2C0 of AM335x EVM and connected
GPIO1_21 -> INT
GPIO1_22 -> RST
Have modified my dts as :
edt_ft5406_ts_pins: edt_ft5406_ts_pins { pinctrl-single,pins = < 0x54 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_a6.gpio1_22 */ 0x58 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_a6.gpio1_21 */ >; }; &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins>; status = "okay"; clock-frequency = <400000>; tps: tps@2d { reg = <0x2d>; }; edt-ft5406@38 { status = "okay"; compatible = "edt,edt-ft5406", "edt,edt-ft5x06"; pinctrl-names = "default"; pinctrl-0 = <&edt_ft5406_ts_pins>; reg = <0x38>; interrupt-parent = <&gpio1>; interrupts = <21 1>; reset-gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>; touchscreen-size-x = <800>; touchscreen-size-y = <480>; }; };
My problem is touch is not getting detected when I touch the screen. I looked inside /proc/interrupts when I touch the screen the edt-ft5x06 interrupt count doesn't increases.
That means interrupts are either not being generated by ft5x06 or not being detected by s/w driver.
I then wrote a simple driver and installed IRQ on GPIO1_21. Whenever I touch the screen, ISR is getting invoked.
That means edt-ft5x06 driver is not getting the interrupts.
How can I fix my issue ?
thanks
Ankur