平台是:V3S Tina3.5  tsc2007.c
问题:驱动加载成功。中断申请成功,但是中断没反应,查看中断号。发现中断号与串口uart0 中断号是重复的,都是32。
这是启动的日志。 gpio 转 irq 出来是55中断号。 55 放到devm_request_threaded_irq 去申请中断,成功申请成功,但是中断不响应。如上边所示。
[    4.055787] ============ pin 193 for TSC2007_power==============
[    4.063039] tsc2007 0-0048: x= 0 y=0 z=0
[    4.067400] tsc2007 0-0048: poll_period= 1)
[    4.072460] tsc2007 0-0048: ti,x-plate-ohms = 660)
[    4.084670] tsc2007 0-0048: =========== ts->gpio 192 ==============
[    4.101097] tsc2007 0-0048: test_irq, 55
[    4.105492] tsc2007 0-0048: &client->dev c0cb2660, irq 56 name :tsc2007
[    4.116767] input: TSC2007 Touchscreen as /devices/platform/soc/twi0/i2c-0/0-0048/input/input1展示所有中断,32这个中断向量是重复的:
 17:       5731     GIC-0  29 Level     arch_timer
 18:          0     GIC-0  30 Level     arch_timer
 55:          0  sunxi_pio_edge  32 Edge      tsc2007
 87:      10104     GIC-0  82 Level     1c02000.dma-controller
 90:         68     GIC-0  32 Level     uart0
 93:         14     GIC-0  38 Level     twi0
 94:          0     GIC-0  90 Level     cedar_dev
 95:       9778     GIC-0 118 Level     dispaly
 97:        119     GIC-0 103 Level     sunxi_usb_udc
100:          0     GIC-0  62 Level     sunxikbd
102:          0     GIC-0 117 Level     vfe_cci离线