<div dir="ltr"><div>HI Sam<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Sam Ravnborg <<a href="mailto:sam@ravnborg.org">sam@ravnborg.org</a>> 于2019年12月11日周三 上午2:54写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Kevin.<br>
<br>
Thanks for this new driver.<br>
A few somments triggered alone from the diffstat.<br>
> Kevin Tang (8):<br>
> dt-bindings: display: add Unisoc's drm master bindings<br>
> drm/sprd: add Unisoc's drm kms master<br>
> dt-bindings: display: add Unisoc's dpu bindings<br>
> drm/sprd: add Unisoc's drm display controller driver<br>
> dt-bindings: display: add Unisoc's mipi dsi&dphy bindings<br>
> drm/sprd: add Unisoc's drm mipi dsi&dphy driver<br>
> dt-bindings: display: add Unisoc's generic mipi panel bindings<br>
> drm/sprd: add Unisoc's drm generic mipi panel driver<br>
> <br>
> .../devicetree/bindings/display/sprd/dphy.txt | 49 +<br>
> .../devicetree/bindings/display/sprd/dpu.txt | 55 +<br>
> .../devicetree/bindings/display/sprd/drm.txt | 18 +<br>
> .../devicetree/bindings/display/sprd/dsi.txt | 68 +<br>
> .../devicetree/bindings/display/sprd/panel.txt | 110 ++<br>
<br>
New bindings in metaschema format (.yaml).<br></blockquote><div>dt bindings in yaml is on going, but this need sometime, so i upload txt format at first <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
And panel bindings in display/panel/<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> drivers/gpu/drm/Kconfig | 2 +<br>
> drivers/gpu/drm/Makefile | 1 +<br>
> drivers/gpu/drm/sprd/Kconfig | 14 +<br>
> drivers/gpu/drm/sprd/Makefile | 17 +<br>
> drivers/gpu/drm/sprd/disp_lib.c | 290 ++++<br>
> drivers/gpu/drm/sprd/disp_lib.h | 40 +<br>
> drivers/gpu/drm/sprd/dphy/Makefile | 7 +<br>
> drivers/gpu/drm/sprd/dphy/pll/Makefile | 3 +<br>
> drivers/gpu/drm/sprd/dphy/pll/megacores_sharkle.c | 640 +++++++++<br>
> drivers/gpu/drm/sprd/dphy/sprd_dphy_api.c | 254 ++++<br>
> drivers/gpu/drm/sprd/dphy/sprd_dphy_hal.h | 329 +++++<br>
> drivers/gpu/drm/sprd/dpu/Makefile | 8 +<br>
> drivers/gpu/drm/sprd/dpu/dpu_r2p0.c | 1464 ++++++++++++++++++++<br>
> drivers/gpu/drm/sprd/dsi/Makefile | 7 +<br>
> drivers/gpu/drm/sprd/dsi/core/Makefile | 3 +<br>
> drivers/gpu/drm/sprd/dsi/core/dsi_ctrl_r1p0.c | 1186 ++++++++++++++++<br>
> drivers/gpu/drm/sprd/dsi/core/dsi_ctrl_r1p0.h | 1417 +++++++++++++++++++<br>
> drivers/gpu/drm/sprd/dsi/core/dsi_ctrl_r1p0_ppi.c | 392 ++++++<br>
> drivers/gpu/drm/sprd/dsi/sprd_dsi_api.c | 544 ++++++++<br>
> drivers/gpu/drm/sprd/dsi/sprd_dsi_api.h | 28 +<br>
> drivers/gpu/drm/sprd/dsi/sprd_dsi_hal.h | 1102 +++++++++++++++<br>
> drivers/gpu/drm/sprd/sprd_dphy.c | 235 ++++<br>
> drivers/gpu/drm/sprd/sprd_dphy.h | 121 ++<br>
> drivers/gpu/drm/sprd/sprd_dpu.c | 1152 +++++++++++++++<br>
> drivers/gpu/drm/sprd/sprd_dpu.h | 217 +++<br>
> drivers/gpu/drm/sprd/sprd_drm.c | 287 ++++<br>
> drivers/gpu/drm/sprd/sprd_drm.h | 19 +<br>
> drivers/gpu/drm/sprd/sprd_dsi.c | 722 ++++++++++<br>
> drivers/gpu/drm/sprd/sprd_dsi.h | 210 +++<br>
> drivers/gpu/drm/sprd/sprd_gem.c | 178 +++<br>
> drivers/gpu/drm/sprd/sprd_gem.h | 30 +<br>
<br>
> drivers/gpu/drm/sprd/sprd_panel.c | 778 +++++++++++<br>
> drivers/gpu/drm/sprd/sprd_panel.h | 114 ++<br>
Please move panels to drivers/gpu/drm/panel/ and make sure to utilize<br>
the drm_panel infrastructure.<br></blockquote><div>Our drm panel driver is a generic mipi panel driver, <span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">not for a specific panel.</span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-"><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-"><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">All common properties related to LCD will be placed in the LCD node,</span></span> eg: "/lcds/lcd_mipi_dsi.dtsi"<br></span></span></span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-"><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-"><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">So if our customers need to adapt the new panel, just config LCD node, <span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">no need to rewrite drivers for new panels</span></span></span></span></span></span></span></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Sam<br>
</blockquote></div></div>