]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: sunxi-ng: v3s: Fix TCON clock parents
authorPaul Kocialkowski <paulk@sys-base.io>
Tue, 1 Jul 2025 20:11:23 +0000 (22:11 +0200)
committerChen-Yu Tsai <wens@csie.org>
Thu, 3 Jul 2025 15:31:05 +0000 (23:31 +0800)
The TCON clock can be parented to both the video PLL and the periph0 PLL.
Add the latter, which was missing from the list.

Fixes: d0f11d14b0bc ("clk: sunxi-ng: add support for V3s CCU")
Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
Link: https://patch.msgid.link/20250701201124.812882-5-paulk@sys-base.io
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/clk/sunxi-ng/ccu-sun8i-v3s.c

index 86d933d1ac722afbdb0815b88610f9349af630e8..52e4369664c587b55d0e70b1c1d415850faff610 100644 (file)
@@ -350,7 +350,7 @@ static SUNXI_CCU_M_WITH_MUX_GATE(de_clk, "de", de_parents,
                                 0x104, 0, 4, 24, 2, BIT(31),
                                 CLK_SET_RATE_PARENT);
 
-static const char * const tcon_parents[] = { "pll-video" };
+static const char * const tcon_parents[] = { "pll-video", "pll-periph0" };
 static SUNXI_CCU_M_WITH_MUX_GATE(tcon_clk, "tcon", tcon_parents,
                                 0x118, 0, 4, 24, 3, BIT(31), 0);