|
GT9XX 的10.1寸触摸屏初始化异常
发表于 2017-4-10 14:53:44
浏览:8899
|
回复:1
打印
只看该作者
[复制链接]
楼主
本帖最后由 anbot 于 2017-4-10 14:59 编辑
最近项目需要10.1寸屏,firefly官方的10.1寸屏没货,于是在3288 plus集成了别人已经在使用的驱动gt9xx(主要是替换了drivers/input/touchstreen/gt9xx/ 里面的东西),系统启动遇到下面的信息,奇怪的时候,系统也能正常启动,触摸也没问题,而且在reload板子也没问题。请教了一些大牛,说是GPIO/UART/SPI的复用导致的,因此把dts里面全部检查一遍,关掉了关掉的,还是有问题,请各位大牛看看,不胜感激!!
[ 1.492272] <<-GT9XX-INFO->> GTP driver installing...
[ 1.492457] ___gt9xx_ts_probe() start____
[ 1.492471] <<-GT9XX-INFO->> GT9XX Driver Version: V2.2<2014/01/14>
[ 1.492483] <<-GT9XX-INFO->> GT9XX Driver Built@18:05:33, Mar 16 2017
[ 1.492494] <<-GT9XX-INFO->> GT9XX I2C Address: 0x14
[ 1.492531] <<-GT9XX-INFO->> ++++++++++++1GT9XX I2C Address: 168
[ 1.492542] <<-GT9XX-INFO->> ************2GT9XX I2C Address: 233
[ 1.492553] ------------[ cut here ]------------
[ 1.492574] WARNING: at drivers/gpio/gpiolib.c:160 gpio_ensure_requested+0x4c/0xb4()
[ 1.492586] autorequest GPIO-168
[ 1.492595] Modules linked in:
[ 1.492611] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0 #20
[ 1.492643] [<c0013ec4>] (unwind_backtrace+0x0/0xe0) from [<c001176c>] (show_stack+0x10/0x14)
[ 1.492666] [<c001176c>] (show_stack+0x10/0x14) from [<c00369f8>] (warn_slowpath_common+0x4c/0x68)
[ 1.492687] [<c00369f8>] (warn_slowpath_common+0x4c/0x68) from [<c0036a94>] (warn_slowpath_fmt+0x2c/0x3c)
[ 1.492707] [<c0036a94>] (warn_slowpath_fmt+0x2c/0x3c) from [<c029c470>] (gpio_ensure_requested+0x4c/0xb4)
[ 1.492728] [<c029c470>] (gpio_ensure_requested+0x4c/0xb4) from [<c029c530>] (gpiod_direction_input+0x58/0x1f0)
[ 1.492752] [<c029c530>] (gpiod_direction_input+0x58/0x1f0) from [<c0513c9c>] (gt9xx_ts_probe+0x130/0x320)
[ 1.492775] [<c0513c9c>] (gt9xx_ts_probe+0x130/0x320) from [<c0525344>] (i2c_device_probe+0xa8/0xd4)
[ 1.492798] [<c0525344>] (i2c_device_probe+0xa8/0xd4) from [<c03086f8>] (really_probe+0xa8/0x20c)
[ 1.492819] [<c03086f8>] (really_probe+0xa8/0x20c) from [<c0308954>] (driver_probe_device+0x30/0x48)
[ 1.492840] [<c0308954>] (driver_probe_device+0x30/0x48) from [<c03089cc>] (__driver_attach+0x60/0x84)
[ 1.492860] [<c03089cc>] (__driver_attach+0x60/0x84) from [<c0307194>] (bus_for_each_dev+0x50/0x90)
[ 1.492880] [<c0307194>] (bus_for_each_dev+0x50/0x90) from [<c0307f48>] (bus_add_driver+0xac/0x20c)
[ 1.492901] [<c0307f48>] (bus_add_driver+0xac/0x20c) from [<c0308eb8>] (driver_register+0x9c/0x138)
[ 1.492922] [<c0308eb8>] (driver_register+0x9c/0x138) from [<c0527080>] (i2c_register_driver+0x40/0xac)
[ 1.492942] [<c0527080>] (i2c_register_driver+0x40/0xac) from [<c00086a4>] (do_one_initcall+0x34/0xc8)
[ 1.492964] [<c00086a4>] (do_one_initcall+0x34/0xc8) from [<c0b9db28>] (do_initcalls+0x70/0xa0)
[ 1.492983] [<c0b9db28>] (do_initcalls+0x70/0xa0) from [<c0b9dbe8>] (kernel_init_freeable+0x90/0x130)
[ 1.493004] [<c0b9dbe8>] (kernel_init_freeable+0x90/0x130) from [<c0836998>] (kernel_init+0x8/0xe4)
[ 1.493026] [<c0836998>] (kernel_init+0x8/0xe4) from [<c000da98>] (ret_from_fork+0x14/0x3c)
[ 1.493040] ---[ end trace 25d95a13c94a9695 ]---
[ 1.493081] ------------[ cut here ]------------
[ 1.493098] WARNING: at drivers/gpio/gpiolib.c:160 gpio_ensure_requested+0x4c/0xb4()
[ 1.493109] autorequest GPIO-233
[ 1.493118] Modules linked in:
[ 1.493131] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 3.10.0 #20
[ 1.493152] [<c0013ec4>] (unwind_backtrace+0x0/0xe0) from [<c001176c>] (show_stack+0x10/0x14)
[ 1.493172] [<c001176c>] (show_stack+0x10/0x14) from [<c00369f8>] (warn_slowpath_common+0x4c/0x68)
[ 1.493191] [<c00369f8>] (warn_slowpath_common+0x4c/0x68) from [<c0036a94>] (warn_slowpath_fmt+0x2c/0x3c)
[ 1.493210] [<c0036a94>] (warn_slowpath_fmt+0x2c/0x3c) from [<c029c470>] (gpio_ensure_requested+0x4c/0xb4)
[ 1.493230] [<c029c470>] (gpio_ensure_requested+0x4c/0xb4) from [<c029c530>] (gpiod_direction_input+0x58/0x1f0)
[ 1.493251] [<c029c530>] (gpiod_direction_input+0x58/0x1f0) from [<c0513cb8>] (gt9xx_ts_probe+0x14c/0x320)
[ 1.493271] [<c0513cb8>] (gt9xx_ts_probe+0x14c/0x320) from [<c0525344>] (i2c_device_probe+0xa8/0xd4)
[ 1.493290] [<c0525344>] (i2c_device_probe+0xa8/0xd4) from [<c03086f8>] (really_probe+0xa8/0x20c)
[ 1.493310] [<c03086f8>] (really_probe+0xa8/0x20c) from [<c0308954>] (driver_probe_device+0x30/0x48)
[ 1.493330] [<c0308954>] (driver_probe_device+0x30/0x48) from [<c03089cc>] (__driver_attach+0x60/0x84)
[ 1.493350] [<c03089cc>] (__driver_attach+0x60/0x84) from [<c0307194>] (bus_for_each_dev+0x50/0x90)
[ 1.493369] [<c0307194>] (bus_for_each_dev+0x50/0x90) from [<c0307f48>] (bus_add_driver+0xac/0x20c)
[ 1.493389] [<c0307f48>] (bus_add_driver+0xac/0x20c) from [<c0308eb8>] (driver_register+0x9c/0x138)
[ 1.493408] [<c0308eb8>] (driver_register+0x9c/0x138) from [<c0527080>] (i2c_register_driver+0x40/0xac)
[ 1.493427] [<c0527080>] (i2c_register_driver+0x40/0xac) from [<c00086a4>] (do_one_initcall+0x34/0xc8)
[ 1.493446] [<c00086a4>] (do_one_initcall+0x34/0xc8) from [<c0b9db28>] (do_initcalls+0x70/0xa0)
[ 1.493466] [<c0b9db28>] (do_initcalls+0x70/0xa0) from [<c0b9dbe8>] (kernel_init_freeable+0x90/0x130)
[ 1.493485] [<c0b9dbe8>] (kernel_init_freeable+0x90/0x130) from [<c0836998>] (kernel_init+0x8/0xe4)
[ 1.493504] [<c0836998>] (kernel_init+0x8/0xe4) from [<c000da98>] (ret_from_fork+0x14/0x3c)
[ 1.493517] ---[ end trace 25d95a13c94a9696 ]---
[ 1.493534] <<-GT9XX-INFO->> Guitar reset
[ 1.590443] [WLAN_RFKILL]: wifi turn on power. 156
[ 1.622357] <<-GT9XX-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -11! Process reset.
[ 1.622371] <<-GT9XX-INFO->> Guitar reset
[ 1.738055] <<-GT9XX-ERROR->> GTP i2c test failed time 1.
[ 1.760141] <<-GT9XX-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -11! Process reset.
[ 1.760156] <<-GT9XX-INFO->> Guitar reset
[ 1.797093] wifi_platform_bus_enumerate device present 1
[ 1.797107] ======== Card detection to detect SDIO card! ========
[ 1.797119] mmc2:mmc host rescan start!
[ 1.875814] <<-GT9XX-ERROR->> GTP i2c test failed time 2.
[ 1.897866] <<-GT9XX-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -11! Process reset.
[ 1.897881] <<-GT9XX-INFO->> Guitar reset
[ 2.013575] <<-GT9XX-ERROR->> GTP i2c test failed time 3.
[ 2.013584] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out 800000Hz for init[mmc2]
[ 2.035597] <<-GT9XX-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -11! Process reset.
[ 2.035611] <<-GT9XX-INFO->> Guitar reset
|
|