基于msm8953调试st7785m屏幕——Lane通道配置

前人种树,后人乘凉;创造不易,请勿迁移~ 

author

daisy.skye的博客_CSDN博客-嵌入式,Qt,Linux领域博主

https://blog.csdn.net/qq_40715266?type=lately

文件路径

bootable/bootloader/lk/dev/gcdb/display/include/panel_st7785m_wvga_video.h

lane参数

使用两个lane通道配置参数

static struct lane_configuration st7785m_wvga_video_lane_config = {

2, 0, 1, 1, 0, 0, 0

};

参数解析

struct lane_configuration {

    uint8_t dsi_lanes;

    uint8_t dsi_lanemap;

    uint8_t lane0_state;

    uint8_t lane1_state;

    uint8_t lane2_state;

    uint8_t lane3_state;

    uint8_t force_clk_lane_hs;

};

lane通道总数,以及每个lane通道的状态

lane 通道0

更改为lane使用一个的通道需要更改参数为

static struct lane_configuration st7785m_wvga_video_lane_config = {

1, 0, 1, 0, 0, 0, 0

};

dtsi配置

kernel/msm-3.18/arch/arm/boot/dts/P322/dsi-panel-st7785m-video.dtsi

        qcom,mdss-dsi-lane-0-state;

        // qcom,mdss-dsi-lane-1-state;

猜你喜欢

转载自blog.csdn.net/qq_40715266/article/details/131284060