From dcba594ae7644f191b577d35598cbd638e6a816d Mon Sep 17 00:00:00 2001 From: "qingwei.xu" Date: Thu, 9 May 2019 14:58:59 +0800 Subject: [PATCH] power: Set the maximum CPU freq to 1.8GHz and GPU freq to 850MHz [1/1] PD#SWPL-8127 Problem: Set the maximum CPU freq to 1.8GHz and GPU freq to 850MHz Solution: Set the maximum CPU freq to 1.8GHz and GPU freq to 850MHz Verify: u223 Change-Id: I184da235469eca1f60842e3bf68ee897b1ea5307 Signed-off-by: qingwei.xu --- arch/arm/boot/dts/amlogic/g12a_s905y2_u221.dts | 33 +++++++++--------------- arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts | 33 +++++++++--------------- 2 files changed, 24 insertions(+), 42 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/g12a_s905y2_u221.dts b/arch/arm/boot/dts/amlogic/g12a_s905y2_u221.dts index 40d8376..c4703a6 100644 --- a/arch/arm/boot/dts/amlogic/g12a_s905y2_u221.dts +++ b/arch/arm/boot/dts/amlogic/g12a_s905y2_u221.dts @@ -696,20 +696,18 @@ opp-hz = /bits/ 64 <1512000000>; opp-microvolt = <831000>; }; -/* - * opp08 { - * opp-hz = /bits/ 64 <1608000000>; - * opp-microvolt = <871000>; - * }; - * opp09 { - * opp-hz = /bits/ 64 <1704000000>; - * opp-microvolt = <921000>; - * }; - * opp10 { - * opp-hz = /bits/ 64 <1800000000>; - * opp-microvolt = <981000>; - * }; - */ + opp08 { + opp-hz = /bits/ 64 <1608000000>; + opp-microvolt = <871000>; + }; + opp09 { + opp-hz = /bits/ 64 <1704000000>; + opp-microvolt = <921000>; + }; + opp10 { + opp-hz = /bits/ 64 <1800000000>; + opp-microvolt = <981000>; + }; }; cpufreq-meson { @@ -1374,13 +1372,6 @@ status = "okay"; }; -&gpu{ - /*max gpu is 500MHz*/ - tbl = <&dvfs285_cfg - &dvfs400_cfg - &dvfs500_cfg>; -}; - &amhdmitx { dongle_mode = <1>; }; diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts b/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts index 87e704d..48bc6a3 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts @@ -695,20 +695,18 @@ opp-hz = /bits/ 64 <1512000000>; opp-microvolt = <831000>; }; -/* - * opp08 { - * opp-hz = /bits/ 64 <1608000000>; - * opp-microvolt = <871000>; - * }; - * opp09 { - * opp-hz = /bits/ 64 <1704000000>; - * opp-microvolt = <921000>; - * }; - * opp10 { - * opp-hz = /bits/ 64 <1800000000>; - * opp-microvolt = <981000>; - * }; - */ + opp08 { + opp-hz = /bits/ 64 <1608000000>; + opp-microvolt = <871000>; + }; + opp09 { + opp-hz = /bits/ 64 <1704000000>; + opp-microvolt = <921000>; + }; + opp10 { + opp-hz = /bits/ 64 <1800000000>; + opp-microvolt = <981000>; + }; }; cpufreq-meson { @@ -1371,13 +1369,6 @@ status = "okay"; }; -&gpu{ - /*max gpu is 500MHz*/ - tbl = <&dvfs285_cfg - &dvfs400_cfg - &dvfs500_cfg>; -}; - &amhdmitx { dongle_mode = <1>; }; -- 2.7.4