<div dir="ltr"><div dir="ltr"><br></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 28, 2024 at 8:47 PM Philippe CORNU <<a href="mailto:philippe.cornu@foss.st.com">philippe.cornu@foss.st.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 1/29/24 11:41, Raphael Gallais-Pou wrote:<br>
> <br>
> This patch series aims to add several features of the dw-mipi-dsi phy<br>
> driver that are missing or need to be updated.<br>
> <br>
> First patch update a PM macro.<br>
> <br>
> Second patch adds runtime PM functionality to the driver.<br>
> <br>
> Third patch adds a clock provider generated by the PHY itself.  As<br>
> explained in the commit log of the second patch, a clock declaration is<br>
> missing.  Since this clock is parent of 'dsi_k', it leads to an orphan<br>
> clock.  Most importantly this patch is an anticipation for future<br>
> versions of the DSI PHY, and its inclusion within the display subsystem<br>
> and the DRM framework.<br>
> <br>
> Last patch fixes a corner effect introduced previously.  Since 'dsi' and<br>
> 'dsi_k' are gated by the same bit on the same register, both reference<br>
> work as peripheral clock in the device-tree.<br>
></blockquote><div><br></div><div>This patch (commit id:185f99b614427360) seems to break the dsi of stm32f469 chip. </div><div>I'm not familiar with the drm and the clock framework, maybe it's because there is no</div><div> "ck_dsi_phy" defined for stm32f469.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
> ---<br>
> Changes in v3-resend:<br>
>       - Removed last patch as it has been merged<br>
> <a href="https://lore.kernel.org/lkml/bf49f4c9-9e81-4c91-972d-13782d996aaa@foss.st.com/" rel="noreferrer" target="_blank">https://lore.kernel.org/lkml/bf49f4c9-9e81-4c91-972d-13782d996aaa@foss.st.com/</a><br>
> <br>
> Changes in v3:<br>
>       - Fix smatch warning (disable dsi->pclk when clk_register fails)<br>
> <br>
> Changes in v2:<br>
>       - Added patch 1/4 to use SYSTEM_SLEEP_PM_OPS instead of old macro<br>
>         and removed __maybe_used for accordingly<br>
>       - Changed SET_RUNTIME_PM_OPS to RUNTIME_PM_OPS<br>
> <br>
> Raphael Gallais-Pou (3):<br>
>    drm/stm: dsi: use new SYSTEM_SLEEP_PM_OPS() macro<br>
>    drm/stm: dsi: expose DSI PHY internal clock<br>
> <br>
> Yannick Fertre (1):<br>
>    drm/stm: dsi: add pm runtime ops<br>
> <br>
>   drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 279 ++++++++++++++++++++++----<br>
>   1 file changed, 238 insertions(+), 41 deletions(-)<br>
> <br>
<br>
Hi Raphaël & Yannick,<br>
Applied on drm-misc-next.<br>
Many thanks,<br>
Philippe :-)<br>
_______________________________________________<br>
Linux-stm32 mailing list<br>
<a href="mailto:Linux-stm32@st-md-mailman.stormreply.com" target="_blank">Linux-stm32@st-md-mailman.stormreply.com</a><br>
<a href="https://st-md-mailman.stormreply.com/mailman/listinfo/linux-stm32" rel="noreferrer" target="_blank">https://st-md-mailman.stormreply.com/mailman/listinfo/linux-stm32</a><br>
</blockquote></div></div>