RK3288 驱动4.3寸屏有亮点的解决方法

路径:

u-boot/include/configs/rk32plat.h

把这个注释掉

#define CONFIG_RK1000_TVE

把下面的补丁包打上:

diff –git a/drivers/video/rockchip/lcdc/rk_vop_full.h b/drivers/video/rockchip/lcdc/rk_vop_full.h index 0bd74b1..675b36eb 100644 — a/drivers/video/rockchip/lcdc/rk_vop_full.h +++ b/drivers/video/rockchip/lcdc/rk_vop_full.h @@ -14,8 +14,8 @@ * */ -#ifndef RK322X_LCDC_H_ -#define RK322X_LCDC_H_ +#ifndef RK_VOP_FULL_H_ +#define RK_VOP_FULL_H_ #include<linux/rk_fb.h> #include<linux/io.h> diff –git a/drivers/video/rockchip/transmitter/rk32_lvds.c b/drivers/video/rockchip/transmitter/rk32_lvds.c index 3e8394f..9d0b0b4 100755 — a/drivers/video/rockchip/transmitter/rk32_lvds.c +++ b/drivers/video/rockchip/transmitter/rk32_lvds.c @@ -114,6 +114,12 @@ static int rk32_lvds_en(void) lvds_writel(lvds, 0x110, 0x3f); lvds_writel(lvds, 0x114, 0x3f); lvds_writel(lvds, 0x134, 0x0a); + if (screen->lcdc_id == 0) + val = 0x20000000 | ( screen->pin_dclk << 1) << 12; + else + val = 0x80000000 | ( screen->pin_dclk << 1) << 14; + + grf_writel(val, RK3288_GRF_SOC_CON15); } else { lvds_writel(lvds, LVDS_CH0_REG_0, 0xbf); lvds_writel(lvds, LVDS_CH0_REG_1, 0x3f);
<

免责声明:文章内容来自互联网,本站不对其真实性负责,也不承担任何法律责任,如有侵权等情况,请与本站联系删除。
转载请注明出处:RK3288 驱动4.3寸屏有亮点的解决方法 https://www.yhzz.com.cn/a/16204.html

上一篇 2023-05-13
下一篇 2023-05-13

相关推荐

联系云恒

在线留言: 我要留言
客服热线:400-600-0310
工作时间:周一至周六,08:30-17:30,节假日休息。