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


Groups > linux.kernel > #1287609

[PATCH v6 04/10] ARM: STi: STiH407: Provide generic (safe) DVFS configuration

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v6 04/10] ARM: STi: STiH407: Provide generic (safe) DVFS configuration
Date 2015-12-09 17:10 +0100
Message-ID <qDPtw-2aV-19@gated-at.bofh.it> (permalink)
References <qDPjP-1RQ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


You'll notice that the voltage cell is populated with 0's.  Voltage
information is very platform specific, even depends on 'cut' and
'substrate' versions.  Thus it is left blank for a generic (safe)
implementation.  If other nodes/properties are provided by the
bootloader, the ST CPUFreq driver will over-ride these generic
values.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 arch/arm/boot/dts/stih407-family.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 81f8121..9fa1e58 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -22,15 +22,29 @@
 			device_type = "cpu";
 			compatible = "arm,cortex-a9";
 			reg = <0>;
+
 			/* u-boot puts hpen in SBC dmem at 0xa4 offset */
 			cpu-release-addr = <0x94100A4>;
+
+					 /* kHz     uV   */
+			operating-points = <1500000 0
+					    1200000 0
+					    800000  0
+					    500000  0>;
 		};
 		cpu@1 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a9";
 			reg = <1>;
+
 			/* u-boot puts hpen in SBC dmem at 0xa4 offset */
 			cpu-release-addr = <0x94100A4>;
+
+					 /* kHz     uV   */
+			operating-points = <1500000 0
+					    1200000 0
+					    800000  0
+					    500000  0>;
 		};
 	};
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH v6 00/10] cpufreq: Introduce ST's CPUFreq driver Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:00 +0100
  [PATCH v6 05/10] ARM: STi: STiH407: Provide CPU with clocking information Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:00 +0100
  [PATCH v6 10/10] MAINTAINERS: Add ST's CPUFreq driver to the STI file list Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:00 +0100
  [PATCH v6 07/10] ARM: STi: STiH407: Provide CPU with a means to look-up Major number Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:00 +0100
  [PATCH v6 03/10] ARM: multi_v7_defconfig: Enable support for PWM Regulators Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:00 +0100
  [PATCH v6 08/10] cpufreq: st: Provide runtime initialised driver for ST's platforms Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:00 +0100
    Re: [PATCH v6 08/10] cpufreq: st: Provide runtime initialised driver  for ST's platforms Viresh Kumar <viresh.kumar@linaro.org> - 2015-12-10 03:10 +0100
      Re: [PATCH v6 08/10] cpufreq: st: Provide runtime initialised driver  for ST's platforms Lee Jones <lee.jones@linaro.org> - 2015-12-10 09:30 +0100
    [PATCH v6.1 08/10] cpufreq: st: Provide runtime initialised driver  for ST's platforms Lee Jones <lee.jones@linaro.org> - 2015-12-10 10:20 +0100
      Re: [PATCH v6.1 08/10] cpufreq: st: Provide runtime initialised  driver for ST's platforms Viresh Kumar <viresh.kumar@linaro.org> - 2015-12-10 10:30 +0100
  [PATCH v6 09/10] dt: cpufreq: st: Provide bindings for ST's CPUFreq implementation Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:00 +0100
  [PATCH v6 06/10] ARM: STi: STiH407: Link CPU with its voltage supply Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:10 +0100
  [PATCH v6 04/10] ARM: STi: STiH407: Provide generic (safe) DVFS configuration Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:10 +0100
  [PATCH v6 01/10] ARM: multi_v7_defconfig: Enable ST's PWM driver Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:10 +0100
  [PATCH v6 02/10] ARM: multi_v7_defconfig: Enable ST's Power Reset driver Lee Jones <lee.jones@linaro.org> - 2015-12-09 17:10 +0100
  Re: [PATCH v6 00/10] cpufreq: Introduce ST's CPUFreq driver Viresh Kumar <viresh.kumar@linaro.org> - 2015-12-10 03:20 +0100

csiph-web