This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: am437x adc0 used for touchscreen, can not trigger interrupt

Other Parts Discussed in Thread: AM4379

Tool/software: Linux

Hi, all:

  I am working on bringing up ADC0 on the AM4379 in SDK ti-processor-sdk-linux-rt-am437x-evm-03.01.00.06, the hardware used ADC0_AIN7(XP),ADC0_AIN6(XN),ADC0_AIN5(YP),ADC0_AIN4(YN) for the touchscreen wires, so I configure the DTS as following:

tscadc: tscadc@44e0d000 {

compatible = "ti,am3359-tscadc";
reg = <0x44e0d000 0x1000>;
ti,hwmods = "adc_tsc";
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&adc_tsc_fck>;
clock-names = "fck";
status = "disabled";

tsc {
compatible = "ti,am3359-tsc";
};

adc {
#io-channel-cells = <1>;
compatible = "ti,am3359-adc";
};

};

&tscadc {

status = "okay";

tsc {
ti,wires = <4>;
ti,x-plate-resistance = <200>;

ti,coordinate-readouts = <5>;

ti,wire-config = <0x43 0x52 0x61 0x70>;

ti,charge-delay = <400>;
};

adc {
ti,adc-channels = <0 1 2 3>;
};

};

The problem is that when I touch the screen, the interrupt of ti_am335x_tsc can not trigger,  I cat the directory "/sys/class/input/event0/devices/name" in my file system, I get "ti_tsc",  

I don't know what problem, Can you help me? Thank you.