[PATCH v3 3/7] arm64: dts: allwinner: a64: assign PLL_MIPI to CLK_TCON0
Assign pll-mipi parent to tcon0's source clock via 'assigned-clocks'. Signed-off-by: Roman Beranek --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 62f45f71ec65..e6a194db420d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -411,6 +411,8 @@ tcon0: lcd-controller@1c0c000 { #clock-cells = <0>; resets = < RST_BUS_TCON0>, < RST_BUS_LVDS>; reset-names = "lcd", "lvds"; + assigned-clocks = < CLK_TCON0>; + assigned-clock-parents = < CLK_PLL_MIPI>; ports { #address-cells = <1>; -- 2.34.1
Re: [PATCH v3 3/7] arm64: dts: allwinner: a64: assign PLL_MIPI to CLK_TCON0
Dne četrtek, 27. april 2023 ob 11:27:11 CEST je Maxime Ripard napisal(a): > On Thu, Apr 27, 2023 at 11:16:07AM +0200, Roman Beranek wrote: > > Assign pll-mipi parent to tcon0's source clock via 'assigned-clocks'. > > > > Signed-off-by: Roman Beranek > > Again, you should be doing it in the driver, not the device tree. Agreed, fixing this in driver instead of DT is better as it allows kernel to work with older DTs and still have proper DSI output. Best regards, Jernej > > Maxime
Re: [PATCH v3 3/7] arm64: dts: allwinner: a64: assign PLL_MIPI to CLK_TCON0
On Thu, Apr 27, 2023 at 11:16:07AM +0200, Roman Beranek wrote: > Assign pll-mipi parent to tcon0's source clock via 'assigned-clocks'. > > Signed-off-by: Roman Beranek Again, you should be doing it in the driver, not the device tree. Maxime signature.asc Description: PGP signature