LCD调试

此处以6739 1g版本为例(kernel 4.19),基于参考配置的主要修改点如下:
1. 两个配置文件defconfig:
kernel-4.19\arch\arm\configs\k39tv1_bsp_1g_k419_debug_defconfig:
kernel-4.19\arch\arm\configs\k39tv1_bsp_1g_k419_defconfig:
CONFIG_LCM_HEIGHT="1280"
CONFIG_LCM_WIDTH="720"
CONFIG_CUSTOM_KERNEL_LCM="nt35521_hd_dsi_vdo_truly_nt50358"
CONFIG_MTK_RT4801H_SUPPORT=y --- 带RT4801H偏压时使用
2.device\mediateksample\k39tv1_bsp_1g_k419\ProjectConfig.mk文件:
BOOT_LOGO = hd720 --- 根据屏分辨率来选择开机logo 位置在                  vendor\mediatek\proprietary\bootable\bootloader\lk\dev\logo
LCM_HEIGHT = 1280
LCM_WIDTH = 720
3.lk: vendor\mediatek\proprietary\bootable\bootloader\lk\project\k39tv1_bsp_1g_k419.mk文件:
CUSTOM_LK_LCM="nt35521_hd_dsi_vdo_truly_nt50358"
BOOT_LOGO := hd720
4.驱动文件kernel与lk中:
kernel-4.19\drivers\misc\mediatek\lcm\nt35521_hd_

你可能感兴趣的:(MTK平台驱动,Android,OS,MTK,LCM,LCD,驱动开发)