Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1716217

[PATCH 1/2] ARM: dts: rockchip: add cpu opp table for rv1108

From Andy Yan <andy.yan@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] ARM: dts: rockchip: add cpu opp table for rv1108
Date 2017-08-21 11:10 +0200
Message-ID <ugQSB-2pE-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Add cpu opp table for rv1108 to support frequency
from 408MHZ to 1008MHZ.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
---

 arch/arm/boot/dts/rv1108-evb.dts | 4 ++++
 arch/arm/boot/dts/rv1108.dtsi    | 9 +++++++++
 2 files changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts
index 32fb09a..e517aa3 100644
--- a/arch/arm/boot/dts/rv1108-evb.dts
+++ b/arch/arm/boot/dts/rv1108-evb.dts
@@ -104,6 +104,10 @@
 	};
 };
 
+&cpu0 {
+	cpu-supply = <&vdd_core>;
+};
+
 &i2c0 {
 	status = "okay";
 	i2c-scl-rising-time-ns = <275>;
diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
index 064cec3..6ebf07c 100644
--- a/arch/arm/boot/dts/rv1108.dtsi
+++ b/arch/arm/boot/dts/rv1108.dtsi
@@ -69,6 +69,15 @@
 			device_type = "cpu";
 			compatible = "arm,cortex-a7";
 			reg = <0xf00>;
+			operating-points = <
+				/* KHz    uV */
+				408000	975000
+				600000	975000
+				816000	1025000
+				1008000	1150000
+			>;
+			clock-latency = <40000>;
+			clocks = <&cru ARMCLK>;
 		};
 	};
 
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] ARM: dts: rockchip: add cpu opp table for rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-21 11:10 +0200
  [PATCH 2/2] cpufreq: dt: add support for rockchip rv1108 Andy Yan <andy.yan@rock-chips.com> - 2017-08-21 11:20 +0200
    Re: [PATCH 2/2] cpufreq: dt: add support for rockchip rv1108 Heiko Stuebner <heiko@sntech.de> - 2017-08-23 01:00 +0200
  Re: [PATCH 1/2] ARM: dts: rockchip: add cpu opp table for rv1108 Heiko Stuebner <heiko@sntech.de> - 2017-08-21 17:40 +0200

csiph-web