Re: [PATCH 1/1] drm/sun4i: tcon: Fix setting PLL rate when using DSI

2023-03-21 Thread Roman Beranek
On Tue Mar 21, 2023 at 8:55 PM CET, Frank Oltmanns wrote: > My apologies, I wasn’t patient enough. Frank, there's no need to apologize, in my judgement. You weren't impatient, we simply happened to run into a coordination problem for which, I think, neither of us was particularly to blamew. Take

Re: [PATCH 1/1] drm/sun4i: tcon: Fix setting PLL rate when using DSI

2023-03-21 Thread Frank Oltmanns
Hi Maxime, On 2023-03-21 at 15:57:39 +0100, Maxime Ripard wrote: > 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,

Re: [PATCH 1/1] drm/sun4i: tcon: Fix setting PLL rate when using DSI

2023-03-21 Thread Maxime Ripard
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

[PATCH 1/1] drm/sun4i: tcon: Fix setting PLL rate when using DSI

2023-03-19 Thread Frank Oltmanns
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