Thread (90 messages) 90 messages, 3 authors, 2019-07-23

Re: [PATCH v1 43/50] ARM: dts: exynos: add bus_isp in Exynos5422

From: Lukasz Luba <hidden>
Date: 2019-07-17 10:12:15
Also in: linux-clk, linux-devicetree, linux-samsung-soc, lkml

On 7/17/19 12:02 PM, Krzysztof Kozlowski wrote:
On Mon, 15 Jul 2019 at 14:45, Lukasz Luba [off-list ref] wrote:
quoted
Add bus_isp which changes ACLK400_ISP clock speed according to the bus
documentation in the documentation. The bus_isp OPP table has been
aligned to the new parent rate.
Title and msg needs fixing.

Please squash it with patch 18.
You are right, it needs to be squashed. As I mentioned earlier Barek
suggested offline to make 'atomic modifications' of OPPs and PLL/clocks
rates for all affected children in the clock tree.

Regards,
Lukasz
Best regards,
Krzysztof
quoted
This patch sets the proper parent and
picks the init frequency before the devfreq governor starts working.
It sets also parent rate (DPLL to 1200MHz).

Signed-off-by: Lukasz Luba <redacted>
---
  arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 12 ++++++++++++
  1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
index 990fe03fce75..852cb3dd495d 100644
--- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
+++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
@@ -166,6 +166,18 @@
         status = "okay";
  };

+&bus_isp {
+       devfreq = <&bus_wcore>;
+       assigned-clocks = <&clock CLK_MOUT_ACLK400_ISP>,
+                         <&clock CLK_MOUT_SW_ACLK400_ISP>,
+                         <&clock CLK_DOUT_ACLK400_ISP>,
+                         <&clock CLK_FOUT_DPLL>;
+       assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>,
+                                <&clock CLK_DOUT_ACLK400_ISP>;
+       assigned-clock-rates = <0>, <0>, <400000000>, <1200000000>;
+       status = "okay";
+};
+
  &cpu0 {
         cpu-supply = <&buck6_reg>;
  };
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help