[PATCH v2 1/7] clk: sunxi-ng: a64: propagate rate change from pll-mipi

Maxime Ripard maxime at cerno.tech
Tue Apr 25 16:09:01 UTC 2023


Hi,

On Tue, Apr 18, 2023 at 09:40:02AM +0200, Roman Beranek wrote:
> Propagating rate change from tcon0 all the way to pll-video0 allows for
> greater precision in matching requested display timing.
> 
> Signed-off-by: Roman Beranek <me at crly.cz>
> ---
>  drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c b/drivers/clk/sunxi-ng/ccu-sun50i-a64.c
> index 41519185600a..dd6212286dcd 100644
> --- a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c
> +++ b/drivers/clk/sunxi-ng/ccu-sun50i-a64.c
> @@ -179,7 +179,8 @@ static struct ccu_nkm pll_mipi_clk = {
>  	.common		= {
>  		.reg		= 0x040,
>  		.hw.init	= CLK_HW_INIT("pll-mipi", "pll-video0",
> -					      &ccu_nkm_ops, CLK_SET_RATE_UNGATE),
> +					      &ccu_nkm_ops, CLK_SET_RATE_UNGATE
> +							  | CLK_SET_RATE_PARENT),

The OR should be on the previous line

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/20230425/2c31ab23/attachment.sig>


More information about the dri-devel mailing list