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


Groups > linux.kernel > #1643219 > unrolled thread

[PATCH v2 0/4] amend some properties related clk and cpu for rk322x

Started byFrank Wang <frank.wang@rock-chips.com>
First post2017-05-17 12:20 +0200
Last post2017-05-19 13:30 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 0/4] amend some properties related clk and cpu for rk322x Frank Wang <frank.wang@rock-chips.com> - 2017-05-17 12:20 +0200
    [PATCH v2 2/4] arm: dts: rk322x: add operating-points-v2 property for cpu Frank Wang <frank.wang@rock-chips.com> - 2017-05-17 12:20 +0200
      Re: [PATCH v2 2/4] arm: dts: rk322x: add operating-points-v2 property for cpu Heiko Stuebner <heiko@sntech.de> - 2017-05-19 13:30 +0200

#1643219 — [PATCH v2 0/4] amend some properties related clk and cpu for rk322x

FromFrank Wang <frank.wang@rock-chips.com>
Date2017-05-17 12:20 +0200
Subject[PATCH v2 0/4] amend some properties related clk and cpu for rk322x
Message-ID<tI4dH-1LO-15@gated-at.bofh.it>
These series of patches amend some assigned-clocks and add cpu opp table
for rk322x SoCs.

the following patches on patchwork are required for this change.
https://patchwork.kernel.org/patch/9627639/
https://patchwork.kernel.org/patch/9703945/
https://patchwork.kernel.org/patch/9703939/
https://patchwork.kernel.org/patch/9707517/

Changes from v1:
 - Updated the 'Signed-off-by' tag with original authors' email id.
 - Updated the 'Acked-by' tag from Viresh Kumar <viresh.kumar@linaro.org>.

Elaine Zhang (1):
  arm: dts: rk322x: add some assigned-clocks

Finley Xiao (2):
  arm: dts: rk322x: add operating-points-v2 property for cpu
  arm: dts: rk3229: add a new cpu opp table

Rocky Hao (1):
  arm: dts: rk322x: update tsadc's frequence setting

 arch/arm/boot/dts/rk3229-cpu-opp.dtsi | 85 +++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/rk322x.dtsi         | 52 ++++++++++++++++++---
 2 files changed, 131 insertions(+), 6 deletions(-)
 create mode 100644 arch/arm/boot/dts/rk3229-cpu-opp.dtsi

-- 
2.0.0

[toc] | [next] | [standalone]


#1643220 — [PATCH v2 2/4] arm: dts: rk322x: add operating-points-v2 property for cpu

FromFrank Wang <frank.wang@rock-chips.com>
Date2017-05-17 12:20 +0200
Subject[PATCH v2 2/4] arm: dts: rk322x: add operating-points-v2 property for cpu
Message-ID<tI4dJ-1LO-49@gated-at.bofh.it>
In reply to#1643219
From: Finley Xiao <finley.xiao@rock-chips.com>

This patch adds a new opp table for cpu on rk322x SoC.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 arch/arm/boot/dts/rk322x.dtsi | 36 ++++++++++++++++++++++++++++++++----
 1 file changed, 32 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi
index 64368b0..9a9da1f 100644
--- a/arch/arm/boot/dts/rk322x.dtsi
+++ b/arch/arm/boot/dts/rk322x.dtsi
@@ -66,10 +66,7 @@
 			compatible = "arm,cortex-a7";
 			reg = <0xf00>;
 			resets = <&cru SRST_CORE0>;
-			operating-points = <
-				/* KHz    uV */
-				 816000 1000000
-			>;
+			operating-points-v2 = <&cpu0_opp_table>;
 			#cooling-cells = <2>; /* min followed by max */
 			clock-latency = <40000>;
 			clocks = <&cru ARMCLK>;
@@ -80,6 +77,7 @@
 			compatible = "arm,cortex-a7";
 			reg = <0xf01>;
 			resets = <&cru SRST_CORE1>;
+			operating-points-v2 = <&cpu0_opp_table>;
 		};
 
 		cpu2: cpu@f02 {
@@ -87,6 +85,7 @@
 			compatible = "arm,cortex-a7";
 			reg = <0xf02>;
 			resets = <&cru SRST_CORE2>;
+			operating-points-v2 = <&cpu0_opp_table>;
 		};
 
 		cpu3: cpu@f03 {
@@ -94,6 +93,35 @@
 			compatible = "arm,cortex-a7";
 			reg = <0xf03>;
 			resets = <&cru SRST_CORE3>;
+			operating-points-v2 = <&cpu0_opp_table>;
+		};
+	};
+
+	cpu0_opp_table: opp_table0 {
+		compatible = "operating-points-v2";
+		opp-shared;
+
+		opp-408000000 {
+			opp-hz = /bits/ 64 <408000000>;
+			opp-microvolt = <950000>;
+			clock-latency-ns = <40000>;
+			opp-suspend;
+		};
+		opp-600000000 {
+			opp-hz = /bits/ 64 <600000000>;
+			opp-microvolt = <975000>;
+		};
+		opp-816000000 {
+			opp-hz = /bits/ 64 <816000000>;
+			opp-microvolt = <1000000>;
+		};
+		opp-1008000000 {
+			opp-hz = /bits/ 64 <1008000000>;
+			opp-microvolt = <1175000>;
+		};
+		opp-1200000000 {
+			opp-hz = /bits/ 64 <1200000000>;
+			opp-microvolt = <1275000>;
 		};
 	};
 
-- 
2.0.0

[toc] | [prev] | [next] | [standalone]


#1645529 — Re: [PATCH v2 2/4] arm: dts: rk322x: add operating-points-v2 property for cpu

FromHeiko Stuebner <heiko@sntech.de>
Date2017-05-19 13:30 +0200
SubjectRe: [PATCH v2 2/4] arm: dts: rk322x: add operating-points-v2 property for cpu
Message-ID<tIOgy-1r7-9@gated-at.bofh.it>
In reply to#1643220
Am Mittwoch, 17. Mai 2017, 18:16:15 CEST schrieb Frank Wang:
> From: Finley Xiao <finley.xiao@rock-chips.com>
> 
> This patch adds a new opp table for cpu on rk322x SoC.
> 
> Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
> Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

applied for 4.13 after adapting the subject a bit


Thanks
Heiko

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web