[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <560c538494f80ec67b553d26365bfaf0918f4215.1500552941.git.michal.simek@xilinx.com>
Date: Thu, 20 Jul 2017 14:17:02 +0200
From: Michal Simek <michal.simek@...inx.com>
To: linux-arm-kernel@...ts.infradead.org
Cc: Shubhrajyoti Datta <shubhrajyoti.datta@...inx.com>,
Sören Brinkmann <soren.brinkmann@...inx.com>,
Punnaiah Choudary Kalluri
<punnaiah.choudary.kalluri@...inx.com>, monstr@...str.eu,
"Edgar E. Iglesias" <edgar.iglesias@...inx.com>,
Carlo Caione <carlo@...lessm.com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Marc Zyngier <marc.zyngier@....com>,
Duc Dang <dhdang@....com>,
Bharat Kumar Gogada <bharat.kumar.gogada@...inx.com>,
Moritz Fischer <mdf@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Stefan Krsmanovic <stefan.krsmanovic@...ios.com>,
Will Deacon <will.deacon@....com>,
Catalin Marinas <catalin.marinas@....com>,
Mark Rutland <mark.rutland@....com>
Subject: [PATCH 03/10] arm64: zynqmp: Add operating points
From: Shubhrajyoti Datta <shubhrajyoti.datta@...inx.com>
Adding operating-points-v2 for zynqmp.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@...inx.com>
Signed-off-by: Michal Simek <michal.simek@...inx.com>
---
arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 8e6cf0cf3a69..50636e098724 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -24,6 +24,7 @@
compatible = "arm,cortex-a53", "arm,armv8";
device_type = "cpu";
enable-method = "psci";
+ operating-points-v2 = <&cpu_opp_table>;
reg = <0x0>;
cpu-idle-states = <&CPU_SLEEP_0>;
};
@@ -33,6 +34,7 @@
device_type = "cpu";
enable-method = "psci";
reg = <0x1>;
+ operating-points-v2 = <&cpu_opp_table>;
cpu-idle-states = <&CPU_SLEEP_0>;
};
@@ -41,6 +43,7 @@
device_type = "cpu";
enable-method = "psci";
reg = <0x2>;
+ operating-points-v2 = <&cpu_opp_table>;
cpu-idle-states = <&CPU_SLEEP_0>;
};
@@ -49,6 +52,7 @@
device_type = "cpu";
enable-method = "psci";
reg = <0x3>;
+ operating-points-v2 = <&cpu_opp_table>;
cpu-idle-states = <&CPU_SLEEP_0>;
};
@@ -66,6 +70,31 @@
};
};
+ cpu_opp_table: cpu_opp_table {
+ compatible = "operating-points-v2";
+ opp-shared;
+ opp00 {
+ opp-hz = /bits/ 64 <1199999988>;
+ opp-microvolt = <1000000>;
+ clock-latency-ns = <500000>;
+ };
+ opp01 {
+ opp-hz = /bits/ 64 <599999994>;
+ opp-microvolt = <1000000>;
+ clock-latency-ns = <500000>;
+ };
+ opp02 {
+ opp-hz = /bits/ 64 <399999996>;
+ opp-microvolt = <1000000>;
+ clock-latency-ns = <500000>;
+ };
+ opp03 {
+ opp-hz = /bits/ 64 <299999997>;
+ opp-microvolt = <1000000>;
+ clock-latency-ns = <500000>;
+ };
+ };
+
pmu {
compatible = "arm,armv8-pmuv3";
interrupt-parent = <&gic>;
--
1.9.1
Powered by blists - more mailing lists