IMX 6Q 触屏失效
OKMX6Q-C开发板 使用20160922的资料 LVDS屏会有抖动 使用20171215的资料 触屏失效(使用sdk内的img和重新编译源码得到的img都是一样的效果 触屏失效)请给出解决方法 解决方案:
diff --git a/kernel_imx/arch/arm/mach-mx6/board-mx6q_sabresd.c b/kernel_imx/arch/arm/mach-mx6/board-mx6q_sabresd.c
index 6451ebd..95f2bd8 100755
--- a/kernel_imx/arch/arm/mach-mx6/board-mx6q_sabresd.c
+++ b/kernel_imx/arch/arm/mach-mx6/board-mx6q_sabresd.c
@@ -2247,6 +2247,7 @@ static void __init mx6_sabresd_board_init(void)
imx6q_add_device_gpio_leds();
gt928_reset(0x5d);/* set gt928 to 0x5d*/
gt911_reset(0x14);/* set gt911 to 0x14*/
+
imx6q_add_imx_i2c(0, &mx6q_sabresd_i2c_data);
imx6q_add_imx_i2c(1, &mx6q_sabresd_i2c_data);
imx6q_add_imx_i2c(2, &mx6q_sabresd_i2c_data);
@@ -2257,13 +2258,13 @@ static void __init mx6_sabresd_board_init(void)
i2c_register_board_info(1, mxc_i2c1_board_info,
ARRAY_SIZE(mxc_i2c1_board_info));
-/* if(screen_type0==SCREEN_LCD)
+ if(screen_type0==SCREEN_LCD)
i2c_register_board_info(2, mxc_i2c2_board_info2,
ARRAY_SIZE(mxc_i2c2_board_info2));
else if(screen_type1==SCREEN_LVDS||screen_type0==SCREEN_LVDS)
i2c_register_board_info(2, mxc_i2c2_board_info1,
ARRAY_SIZE(mxc_i2c2_board_info1));
- else*/
+// else
i2c_register_board_info(2, mxc_i2c2_board_info2,
ARRAY_SIZE(mxc_i2c2_board_info2));
页:
[1]