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


Groups > linux.kernel > #1605796

[PATCH v3 01/11] ARM: sun8i: a33: add operating-points-v2 property to all nodes

From Quentin Schulz <quentin.schulz@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v3 01/11] ARM: sun8i: a33: add operating-points-v2 property to all nodes
Date 2017-03-21 17:40 +0100
Message-ID <tnuZd-5Ru-57@gated-at.bofh.it> (permalink)
References <tnu38-5ee-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The OPP are declared as shared but no operating points are declared for
cpu1, 2 and 3. Thus, the following error happens during the boot:

cpu cpu1: dev_pm_opp_of_get_sharing_cpus: Couldn't find tcpu_dev node.

This patch applies the operating points to each cpu of the A33.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
---

added in v2

 arch/arm/boot/dts/sun8i-a33.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi
index e1e74b8..39b2d78 100644
--- a/arch/arm/boot/dts/sun8i-a33.dtsi
+++ b/arch/arm/boot/dts/sun8i-a33.dtsi
@@ -75,16 +75,22 @@
 			operating-points-v2 = <&cpu0_opp_table>;
 		};
 
+		cpu@1 {
+			operating-points-v2 = <&cpu0_opp_table>;
+		};
+
 		cpu@2 {
 			compatible = "arm,cortex-a7";
 			device_type = "cpu";
 			reg = <2>;
+			operating-points-v2 = <&cpu0_opp_table>;
 		};
 
 		cpu@3 {
 			compatible = "arm,cortex-a7";
 			device_type = "cpu";
 			reg = <3>;
+			operating-points-v2 = <&cpu0_opp_table>;
 		};
 	};
 
-- 
2.9.3

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


Thread

[PATCH v3 01/11] ARM: sun8i: a33: add operating-points-v2 property to all nodes Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-21 17:40 +0100
  Re: [PATCH v3 01/11] ARM: sun8i: a33: add operating-points-v2  property to all nodes Chen-Yu Tsai <wens@csie.org> - 2017-03-22 04:40 +0100
    Re: [PATCH v3 01/11] ARM: sun8i: a33: add operating-points-v2  property to all nodes Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-03-22 09:00 +0100

csiph-web