Debugging st7785m screen based on msm8953 - Lane channel configuration

The predecessors plant trees, and the descendants enjoy the shade; creation is not easy, please do not relocate~ 

author

daisy.skye's blog_CSDN blog-embedded, Qt, Linux field blogger

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

file path

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

lane parameter

Use two lane channel configuration parameters

static struct lane_configuration st7785m_wvga_video_lane_config = {

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

};

Parameter analysis

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;

};

The total number of lane channels, and the status of each lane channel

lane channel 0

Changing to lane using a channel requires changing the parameter to

static struct lane_configuration st7785m_wvga_video_lane_config = {

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

};

dtsi configuration

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;

Guess you like

Origin blog.csdn.net/qq_40715266/article/details/131284060