hello
I am using goodix-gt811 ctp 7 inch and i have not problem to use this 
module but when i modprobe gpio-sunxi , the interrupt of my ctp disable
1- when gt811_ts is intalled and i modprobe gpio-sunxi ,this message shown 
on Putty
the message is :
 <6>sunxi_gpio driver init ver 1.3
<3>IRQ handler type mismatch for IRQ 60
<3>current handler: Goodix-TS
[<c0015340>] (unwind_backtrace+0x0/0x134) from [<c0094b80>] 
(__setup_irq+0x3b8/0                                     x404)
[<c0094b80>] (__setup_irq+0x3b8/0x404) from [<c0094d04>] 
(request_threaded_irq+0                                     xb0/0x138)
[<c0094d04>] (request_threaded_irq+0xb0/0x138) from [<bf0d4ca8>] 
(sunxi_gpio_pro                                     be+0x3e4/0x490 
[gpio_sunxi])
[<bf0d4ca8>] (sunxi_gpio_probe+0x3e4/0x490 [gpio_sunxi]) from [<c04bba50>] 
(driv                                     er_probe_device+0xb4/0x354)
[<c04bba50>] (driver_probe_device+0xb4/0x354) from [<c04bbdc0>] 
(__driver_attach                                     +0x8c/0x90)
[<c04bbdc0>] (__driver_attach+0x8c/0x90) from [<c04b9dd0>] 
(bus_for_each_dev+0x6                                     0/0x94)
[<c04b9dd0>] (bus_for_each_dev+0x60/0x94) from [<c04bb000>] 
(bus_add_driver+0xd0                                     /0x28c)
[<c04bb000>] (bus_add_driver+0xd0/0x28c) from [<c04bc394>] 
(driver_register+0x78                                     /0x13c)
[<c04bc394>] (driver_register+0x78/0x13c) from [<c00086c0>] 
(do_one_initcall+0x1                                     1c/0x174)
[<c00086c0>] (do_one_initcall+0x11c/0x174) from [<c008244c>] 
(sys_init_module+0x                                     78/0x19c)
[<c008244c>] (sys_init_module+0x78/0x19c) from [<c000ec00>] 
(ret_fast_syscall+0x                                     0/0x30)
<3>Can't request irq 60
<4>gpio-sunxi: probe of gpio-sunxi failed with error -16

2- when gpio-sunxi  is intalled and i modprobe gt811_ts,this message shown 
on Putty
the message is :

===========================goodix_ts_init=====================
ctp_fetch_sysconfig_para.
ctp_fetch_sysconfig_para: after: ctp_twi_addr is 0x5d, dirty_addr_buf: 
0x5d. dirty_addr_buf[1]: 0xfffe
ctp_fetch_sysconfig_para: ctp_twi_id is 1.
<6>ctp_fetch_sysconfig_para: screen_max_x = 800.
<6>ctp_fetch_sysconfig_para: screen_max_y = 480.
<6>ctp_fetch_sysconfig_para: revert_x_flag = 0.
<6>ctp_fetch_sysconfig_para: revert_y_flag = 0.
<6>ctp_fetch_sysconfig_para: exchange_x_y_flag = 0.
goodix_ts_init: after fetch_sysconfig_para:  normal_i2c: 0x5d. 
normal_i2c[1]: 0xfffe
<4>i2c-core: driver [Goodix-TS] using legacy suspend method
<4>i2c-core: driver [Goodix-TS] using legacy resume method
incomplete xfer (0x48)
<6>ctp_detect: Detected chip Goodix-TS at adapter 1, address 0x5d
<6>Goodix-TS 1-005d: Install gt811 driver.
<6>Goodix-TS 1-005d: Driver Release Date:2012-02-08
======goodix_gt811 probe======
ctp_set_irq_mode: config gpio to int mode.
<6>ctp_set_irq_mode, 231: gpio_int_info, port = 8, port_num = 15.
 INTERRUPT CONFIG
<6>Goodix-TS 1-005d: GT811 init info:X_MAX=4096,Y_MAX=4096,TRIG_MODE=RISING 
EDGE
<6>input: gt80x as /devices/virtual/input/input4
<3>IRQ handler type mismatch for IRQ 60
<3>current handler: sunxi-gpio
[<c0015340>] (unwind_backtrace+0x0/0x134) from [<c0094b80>] 
(__setup_irq+0x3b8/0x404)
[<c0094b80>] (__setup_irq+0x3b8/0x404) from [<c0094d04>] 
(request_threaded_irq+0xb0/0x138)
[<c0094d04>] (request_threaded_irq+0xb0/0x138) from [<bf0e1388>] 
(goodix_ts_probe+0x480/0x794 [gt811_ts])
[<bf0e1388>] (goodix_ts_probe+0x480/0x794 [gt811_ts]) from [<c05714dc>] 
(i2c_device_probe+0xb8/0x118)
[<c05714dc>] (i2c_device_probe+0xb8/0x118) from [<c04bba50>] 
(driver_probe_device+0xb4/0x354)
[<c04bba50>] (driver_probe_device+0xb4/0x354) from [<c04b9e70>] 
(bus_for_each_drv+0x58/0x8c)
[<c04b9e70>] (bus_for_each_drv+0x58/0x8c) from [<c04bb930>] 
(device_attach+0x90/0xa4)
[<c04bb930>] (device_attach+0x90/0xa4) from [<c04badd4>] 
(bus_probe_device+0x84/0xa8)
[<c04badd4>] (bus_probe_device+0x84/0xa8) from [<c04b9454>] 
(device_add+0x520/0x60c)
[<c04b9454>] (device_add+0x520/0x60c) from [<c0571824>] 
(i2c_new_device+0x128/0x1c0)
[<c0571824>] (i2c_new_device+0x128/0x1c0) from [<c0572d40>] 
(i2c_do_add_adapter+0x1ac/0x254)
[<c0572d40>] (i2c_do_add_adapter+0x1ac/0x254) from [<c04b9dd0>] 
(bus_for_each_dev+0x60/0x94)
[<c04b9dd0>] (bus_for_each_dev+0x60/0x94) from [<c05722fc>] 
(i2c_for_each_dev+0x34/0x48)
[<c05722fc>] (i2c_for_each_dev+0x34/0x48) from [<c0573654>] 
(i2c_register_driver+0x84/0xe8)
[<c0573654>] (i2c_register_driver+0x84/0xe8) from [<c00086c0>] 
(do_one_initcall+0x11c/0x174)
[<c00086c0>] (do_one_initcall+0x11c/0x174) from [<c008244c>] 
(sys_init_module+0x78/0x19c)
[<c008244c>] (sys_init_module+0x78/0x19c) from [<c000ec00>] 
(ret_fast_syscall+0x0/0x30)
<3>Goodix-TS 1-005d: Cannot allocate ts INT!ERRNO:-16

this messages shows both of them use  IRQ 60
how can i resolve this problem
thanks for your help

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to