From 2dd92a6fa9d60481ba2bc9bf46baa196f2c598ae Mon Sep 17 00:00:00 2001 From: Hong Guo Date: Tue, 9 Apr 2019 14:11:02 +0800 Subject: [PATCH] CPUFREQ: add cpufreq function for tm2 [1/1] PD#SWPL-6732 Problem: add cpufreq function for tm2. Solution: add cpufreq function for tm2. Verify: test passed on tm2_t962x3_ab301.dts Change-Id: I33755d84fe14257e8e35440d2767b075d0c5890e Signed-off-by: Hong Guo --- arch/arm/boot/dts/amlogic/tm2_t962x3_ab301.dts | 27 ++++++++++++------------ arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts | 27 ++++++++++++------------ 2 files changed, 26 insertions(+), 28 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/tm2_t962x3_ab301.dts b/arch/arm/boot/dts/amlogic/tm2_t962x3_ab301.dts index 02e60f0b..b0a6eb2 100644 --- a/arch/arm/boot/dts/amlogic/tm2_t962x3_ab301.dts +++ b/arch/arm/boot/dts/amlogic/tm2_t962x3_ab301.dts @@ -1102,58 +1102,57 @@ }; }; /*thermal zone end*/ - /*DCDC for MP8756GD*/ cpu_opp_table0: cpu_opp_table0 { compatible = "operating-points-v2"; opp-shared; opp00 { opp-hz = /bits/ 64 <100000000>; - opp-microvolt = <729000>; + opp-microvolt = <730000>; }; opp01 { opp-hz = /bits/ 64 <250000000>; - opp-microvolt = <729000>; + opp-microvolt = <730000>; }; opp02 { opp-hz = /bits/ 64 <500000000>; - opp-microvolt = <729000>; + opp-microvolt = <730000>; }; opp03 { opp-hz = /bits/ 64 <667000000>; - opp-microvolt = <749000>; + opp-microvolt = <750000>; }; opp04 { opp-hz = /bits/ 64 <1000000000>; - opp-microvolt = <769000>; + opp-microvolt = <770000>; }; opp05 { opp-hz = /bits/ 64 <1200000000>; - opp-microvolt = <779000>; + opp-microvolt = <780000>; }; opp06 { opp-hz = /bits/ 64 <1404000000>; - opp-microvolt = <789000>; + opp-microvolt = <790000>; }; opp07 { opp-hz = /bits/ 64 <1500000000>; - opp-microvolt = <799000>; + opp-microvolt = <800000>; }; opp08 { opp-hz = /bits/ 64 <1608000000>; - opp-microvolt = <809000>; + opp-microvolt = <810000>; }; opp09 { opp-hz = /bits/ 64 <1704000000>; - opp-microvolt = <849000>; + opp-microvolt = <850000>; }; opp10 { opp-hz = /bits/ 64 <1800000000>; - opp-microvolt = <899000>; + opp-microvolt = <900000>; }; opp11 { opp-hz = /bits/ 64 <1908000000>; - opp-microvolt = <949000>; + opp-microvolt = <950000>; }; }; @@ -1161,7 +1160,7 @@ compatible = "amlogic, cpufreq-meson"; pinctrl-names = "default"; pinctrl-0 = <&pwm_ao_d_pins3>; - status = "disabled"; + status = "okay"; }; tuner: tuner { diff --git a/arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts b/arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts index 47673d9..03f908eb 100644 --- a/arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts +++ b/arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts @@ -1097,58 +1097,57 @@ }; };/*thermal zone end*/ - /*DCDC for MP8756GD*/ cpu_opp_table0: cpu_opp_table0 { compatible = "operating-points-v2"; opp-shared; opp00 { opp-hz = /bits/ 64 <100000000>; - opp-microvolt = <699000>; + opp-microvolt = <730000>; }; opp01 { opp-hz = /bits/ 64 <250000000>; - opp-microvolt = <699000>; + opp-microvolt = <730000>; }; opp02 { opp-hz = /bits/ 64 <500000000>; - opp-microvolt = <709000>; + opp-microvolt = <730000>; }; opp03 { opp-hz = /bits/ 64 <667000000>; - opp-microvolt = <719000>; + opp-microvolt = <750000>; }; opp04 { opp-hz = /bits/ 64 <1000000000>; - opp-microvolt = <729000>; + opp-microvolt = <770000>; }; opp05 { opp-hz = /bits/ 64 <1200000000>; - opp-microvolt = <749000>; + opp-microvolt = <780000>; }; opp06 { opp-hz = /bits/ 64 <1404000000>; - opp-microvolt = <769000>; + opp-microvolt = <790000>; }; opp07 { opp-hz = /bits/ 64 <1500000000>; - opp-microvolt = <779000>; + opp-microvolt = <800000>; }; opp08 { opp-hz = /bits/ 64 <1608000000>; - opp-microvolt = <789000>; + opp-microvolt = <810000>; }; opp09 { opp-hz = /bits/ 64 <1704000000>; - opp-microvolt = <829000>; + opp-microvolt = <850000>; }; opp10 { opp-hz = /bits/ 64 <1800000000>; - opp-microvolt = <879000>; + opp-microvolt = <900000>; }; opp11 { opp-hz = /bits/ 64 <1908000000>; - opp-microvolt = <929000>; + opp-microvolt = <950000>; }; }; @@ -1156,7 +1155,7 @@ compatible = "amlogic, cpufreq-meson"; pinctrl-names = "default"; pinctrl-0 = <&pwm_ao_d_pins3>; - status = "disabled"; + status = "okay"; }; tuner: tuner { -- 2.7.4