summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/motorola-mapphone-common.dtsi
diff options
context:
space:
mode:
authorCarl Philipp Klemm <philipp@uvos.xyz>2020-12-30 10:42:32 +0200
committerTony Lindgren <tony@atomide.com>2021-01-26 13:18:06 +0200
commit19e367147ea8864dff1fb153cfab6d8e8da10324 (patch)
tree672858d76ac545f796b007b54092f845273c58d1 /arch/arm/boot/dts/motorola-mapphone-common.dtsi
parent5c3db2d4d4ed747e714387362afe007e6ae5e2d3 (diff)
ARM: dts: motorola-mapphone: Add 1.2GHz OPP
The omap4430 HS HIGH performance devces support 1.2GHz opp, lower speed variants do not. However for mapphone devices Motorola seems to have decided that this does not really matter for the SoC variants they have tested to use, and decided to clock all devices, including the ones with STANDARD performance chips at 1.2GHz upon release of the 3.0.8 vendor kernel shiped with Android 4.0. Therefore it seems safe to do the same, but let's only do it for Motorola devices as the others have not been tested. Note that we prevent overheating with the passive cooling device cpu_alert0 configured in the dts file that starts lowering the speed as needed. This also removes the "failed to find current OPP for freq 1200000000" warning. Cc: Merlijn Wajer <merlijn@wizzup.org> Cc: Pavel Machek <pavel@ucw.cz> Cc: Sebastian Reichel <sre@kernel.org> Signed-off-by: Carl Philipp Klemm <philipp@uvos.xyz> [tony@atomide.com: made motorola specific, updated comments] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/motorola-mapphone-common.dtsi')
-rw-r--r--arch/arm/boot/dts/motorola-mapphone-common.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/motorola-mapphone-common.dtsi b/arch/arm/boot/dts/motorola-mapphone-common.dtsi
index 9573ddc4ed9c..a4423ff0df39 100644
--- a/arch/arm/boot/dts/motorola-mapphone-common.dtsi
+++ b/arch/arm/boot/dts/motorola-mapphone-common.dtsi
@@ -177,6 +177,21 @@
temperature = <80000>; /* millicelsius */
};
+&cpu0 {
+ /*
+ * Note that the 1.2GiHz mode is enabled for all SoC variants for
+ * the Motorola Android Linux v3.0.8 based kernel.
+ */
+ operating-points = <
+ /* kHz uV */
+ 300000 1025000
+ 600000 1200000
+ 800000 1313000
+ 1008000 1375000
+ 1200000 1375000
+ >;
+};
+
&dss {
status = "okay";
};