[PATCH 1/1] drm/sun4i: tcon: Fix setting PLL rate when using DSI
Maxime Ripard
maxime at cerno.tech
Tue Mar 21 14:57:39 UTC 2023
Hi,
On Sun, Mar 19, 2023 at 05:07:04PM +0100, Frank Oltmanns wrote:
> Set the required PLL rate by adjusting the dotclock rate when calling
> clk_set_rate() when using DSI.
>
> According to the Allwinners A64's BSP code, a TCON divider of 4 has to
> be used and the PLL rate needs to be set to the following frequency when
> using DSI:
> PLL rate = DCLK * bpp / lanes
>
> After this change the common mode set function would only contain
> setting the resolution. Therefore, dissolve the function and transfer
> the functionality to the individual mode set functions.
>
> Signed-off-by: Frank Oltmanns <frank at oltmanns.dev>
This is similar to:
https://lore.kernel.org/all/20230320161636.24411-1-romanberanek@icloud.com/
What's the story there?
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20230321/819f7985/attachment-0001.sig>
More information about the dri-devel
mailing list