[PATCH v1 34/50] ARM: dts: exynos: set parent clocks to PWM in Exynos5420

From: Lukasz Luba
Date: Mon Jul 15 2019 - 08:46:25 EST


Change the parent of PWM clock to the CPLL which has 666MHz.
The PWM's divider uses /10 rate so it would set 66.6MHz.

Signed-off-by: Lukasz Luba <l.luba@xxxxxxxxxxxxxxxxxxx>
---
arch/arm/boot/dts/exynos5420.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index 79f635043247..a361dd5a6036 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -1473,6 +1473,8 @@

&pwm {
clocks = <&clock CLK_PWM>;
+ assigned-clocks = <&clock CLK_MOUT_PWM>;
+ assigned-clock-parents = <&clock CLK_MOUT_SCLK_CPLL>;
clock-names = "timers";
};

--
2.17.1