Main is some professional term can't find the corresponding information online is not very good. Now I posted in dtsi I see hope the great god can help me to cut it for screen driven process
If you have related document recommended be obliged!
Mdss_mdp: end, mdss_mdp @ 1 a00000 {
Compatible="end, mdss_mdp";
Reg=& lt; 0 x01a00000 0 x90000 & gt; ,
<0 x01ab0000 0 x1040 & gt;;
Reg - names="mdp_phys vbif_phys", "";
Interrupts=& lt; 72 0 0 & gt;;
VDD - supply=& lt; & Gdsc_mdss & gt;;
/* Bus Scale Settings */
End, among MSM - bus, name="mdss_mdp";
End, among MSM - bus, num - cases=& lt; 3 & gt;;
End, among MSM - bus, num - paths=& lt; 1 & gt;;
End, among MSM - bus, vectors - KBps=
<22 512 0 0 & gt; ,
<22, 512, 6400000 & gt; ,
<22, 512, 6400000 & gt;;
.
}
Mdss_dsi: end, mdss_dsi @ {0
Compatible="end, MDSS - dsi";
Hw - config="single_dsi";
# address - cells=& lt; 1 & gt;;
# size - cells=& lt; 1 & gt;;
GDSC - supply=& lt; & Gdsc_mdss & gt;;
Vdda - supply=& lt; & Pm8953_s3 & gt;;
Vcca - supply=& lt; & Pm8953_l3 & gt;;
/* Bus Scale Settings */
End, among MSM - bus, name="mdss_dsi";
End, among MSM - bus, num - cases=& lt; 2 & gt;;
End, among MSM - bus, num - paths=& lt; 1 & gt;;
End, among MSM - bus, vectors - KBps=
<22 512 0 0 & gt; ,
<22, 512, 1000 & gt;;
.
Mdss_dsi0: end, mdss_dsi_ctrl0 @ 1 a94000 {
Compatible="end, MDSS - dsi - CTRL";
Label="MDSS DSI CTRL - & gt; 0 ";
The cell - index=& lt; 0 & gt;;
Reg=& lt; 0 x1a94000 0 x400 & gt; ,
<0 x1a94400 0 x580 & gt; ,
<0 x193e000 0 x30 & gt;;
Reg - names="dsi_ctrl dsi_phy", ""," mmss_misc_phys ";
End, timing - db - mode;
End, MDSS - MDP=& lt; & Mdss_mdp & gt;;
VDD - supply=& lt; & Pm8953_l17 & gt;;
Vddio - supply=& lt; & Pm8953_l6 & gt;;
.
}
.
End, mdss_wb_panel {
Compatible="end, mdss_wb";
End, mdss_pan_res=& lt; 640 640 & gt;;
End, mdss_pan_bpp=& lt; 24 & gt;;
End, MDSS - fb - map=& lt; & Mdss_fb1 & gt;;
};
}
& Mdss_dsi0 {
/delete - property/lab - supply;//lab - supply=& lt; & Lcdb_ldo_vreg & gt;;
/delete - property/ibb - supply;//ibb - supply=& lt; & Lcdb_ncp_vreg & gt;;
///delete - property/VDD - supply;
End, regulator - "- mode;/* zhuyifeng fixme */
//update by zhushiqiang for bug23036 20190104 begin
End, dsi - pref - prim - pan=& lt; & Dsi_cpt_claa053wd41_3xb_ili9881_720p_video & gt;;
//update by zhushiqiang for bug23036 20190104 end
/* end, platform - bklight - en - gpio=& lt; & Pm8953_gpios 4 0 & gt;; */
Pinctrl - names="mdss_default mdss_sleep", "";
Pinctrl - 0=& lt; & Mdss_dsi_active & amp; Mdss_te_active & gt;;
Pinctrl - 1=& lt; & Mdss_dsi_suspend & amp; Mdss_te_suspend & gt;;
End, platform - te - gpio=& lt; & TLMM 24 0 & gt;;
End, platform - reset - gpio=& lt; & TLMM 61 & gt;;
};
This is my in several dtsi respectively to find the feeling of relevant information
End, dsi - pref - prim - pan=& lt; & Dsi_cpt_claa053wd41_3xb_ili9881_720p_video & gt;;
Can be seen from this sentence in this type of the screen should be ili9881 I also can find the corresponding 9881 dtis (basic screen and is not to)
But I can't find the corresponding ili9881 driver in the kernel,
The great god, please help to explain what is the meaning of this a few nouns and the corresponding relationship is what
Mdss_dsi mdss_dsi0 mdss_mdp mdss_wb_panel
By the way, could you help manage me find screen driven process,
Be very grateful!
CodePudding user response:
1, you are looking for DTS is correct, display driver code in mdss_dsi_panel. C, you can have a look at the drivers/video/fbdev/among MSM/directory the file below, all show the relevant code here2, mdss_dsi is this node refers to msm8953 dsi interface, 8953 platform, there are two dsi interface, mdss_dsi0 said one of the dsi interface,
3, mdss_mdp refers to display processor, you can understand the CPU for processing display data, realize the image rotation, the function such as overlay,
4, mdss_wb_panel against fb1 (relative to the fb0) configuration, can be understood as the second virtual screen
5, the relevant display driver process you can refer to the following document:
80 - sc NP925-1 the Android screen debug guide
80 - P3255-23 Display Quick Start