From: Otavio Salvador <otavio@ossystems.com.br>
Date: Sun, 25 Nov 2018 21:19:07 +0000 (-0200)
Subject: ARM: dts: rockchip: Pass the 'clock-latency' property on rv1108
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=84ea3a131b6813f7d2b5282e3fe93a4a490cfd25;p=linux.git

ARM: dts: rockchip: Pass the 'clock-latency' property on rv1108

Like it is done on cpu nodes of other Rockchip SoCs, pass the
'clock-latency' property to the CPU node, so that cpufreq driver
can take the latency into account when switching frequencies.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---

diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
index 8413d5ca900b9..e5f8dcc5fbdac 100644
--- a/arch/arm/boot/dts/rv1108.dtsi
+++ b/arch/arm/boot/dts/rv1108.dtsi
@@ -32,6 +32,7 @@
 			device_type = "cpu";
 			compatible = "arm,cortex-a7";
 			reg = <0xf00>;
+			clock-latency = <40000>;
 			clocks = <&cru ARMCLK>;
 			#cooling-cells = <2>; /* min followed by max */
 			dynamic-power-coefficient = <75>;