arm: dts: update vddcpu pwm regulator voltage-table [1/1]
authorBichao Zheng <bichao.zheng@amlogic.com>
Tue, 15 Jan 2019 08:46:00 +0000 (16:46 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 22 Feb 2019 05:26:37 +0000 (21:26 -0800)
PD#SWPL-4225

Problem:
TL1 hardware update DCDC of vddcpu

Solution:
update vddcpu voltage-table
[old]
voltage range: 1021mv - 721mv  step size: 10mv step: 30

[new]
voltage range: 1049mv - 689mv  step size: 10mv step: 36

Verify:
test pass on tl1_X301_v1 tl1_skt_v1

Change-Id: I3adea525940737490197566a8c85b5b00c375ed0
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
arch/arm/boot/dts/amlogic/mesontl1.dtsi
arch/arm/boot/dts/amlogic/tl1_pxp.dts
arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts
arch/arm/boot/dts/amlogic/tl1_t962x2_t309.dts
arch/arm/boot/dts/amlogic/tl1_t962x2_x301.dts
arch/arm64/boot/dts/amlogic/mesontl1.dtsi
arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts
arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts

index 0893940..dc41802 100644 (file)
 
        vddcpu0: pwmao_d-regulator {
                compatible = "pwm-regulator";
-               pwms = <&pwm_AO_cd MESON_PWM_1 1250 0>;
+               pwms = <&pwm_AO_cd MESON_PWM_1 1500 0>;
                regulator-name = "vddcpu0";
-               regulator-min-microvolt = <721000>;
-               regulator-max-microvolt = <1021000>;
+               regulator-min-microvolt = <689000>;
+               regulator-max-microvolt = <1049000>;
                regulator-always-on;
-               max-duty-cycle = <1250>;
+               max-duty-cycle = <1500>;
                /* Voltage Duty-Cycle */
-               voltage-table = <1021000 0>,
-                               <1011000 3>,
-                               <1001000 6>,
-                               <991000 10>,
-                               <981000 13>,
-                               <971000 16>,
-                               <961000 20>,
-                               <951000 23>,
-                               <941000 26>,
-                               <931000 30>,
-                               <921000 33>,
-                               <911000 36>,
-                               <901000 40>,
-                               <891000 43>,
-                               <881000 46>,
-                               <871000 50>,
-                               <861000 53>,
-                               <851000 56>,
-                               <841000 60>,
-                               <831000 63>,
-                               <821000 67>,
-                               <811000 70>,
-                               <801000 73>,
-                               <791000 76>,
-                               <781000 80>,
-                               <771000 83>,
-                               <761000 86>,
-                               <751000 90>,
-                               <741000 93>,
-                               <731000 96>,
-                               <721000 100>;
+               voltage-table = <1049000 0>,
+                               <1039000 3>,
+                               <1029000 6>,
+                               <1019000 8>,
+                               <1009000 11>,
+                               <999000 14>,
+                               <989000 17>,
+                               <979000 20>,
+                               <969000 23>,
+                               <959000 26>,
+                               <949000 29>,
+                               <939000 31>,
+                               <929000 34>,
+                               <919000 37>,
+                               <909000 40>,
+                               <899000 43>,
+                               <889000 45>,
+                               <879000 48>,
+                               <869000 51>,
+                               <859000 54>,
+                               <849000 56>,
+                               <839000 59>,
+                               <829000 62>,
+                               <819000 65>,
+                               <809000 68>,
+                               <799000 70>,
+                               <789000 73>,
+                               <779000 76>,
+                               <769000 79>,
+                               <759000 81>,
+                               <749000 84>,
+                               <739000 87>,
+                               <729000 89>,
+                               <719000 92>,
+                               <709000 95>,
+                               <699000 98>,
+                               <689000 100>;
                                status = "okay";
        };
 
index 35e106a..569e249 100644 (file)
 
                opp00 {
                        opp-hz = /bits/ 64 <100000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp01 {
                        opp-hz = /bits/ 64 <250000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp02 {
                        opp-hz = /bits/ 64 <500000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp03 {
                        opp-hz = /bits/ 64 <667000000>;
-                       opp-microvolt = <761000>;
+                       opp-microvolt = <769000>;
                };
                opp04 {
                        opp-hz = /bits/ 64 <1000000000>;
-                       opp-microvolt = <781000>;
+                       opp-microvolt = <789000>;
                };
                opp05 {
                        opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <801000>;
+                       opp-microvolt = <809000>;
                };
                opp06 {
                        opp-hz = /bits/ 64 <1398000000>;
-                       opp-microvolt = <831000>;
+                       opp-microvolt = <839000>;
                };
                opp07 {
                        opp-hz = /bits/ 64 <1512000000>;
-                       opp-microvolt = <861000>;
+                       opp-microvolt = <869000>;
                };
                opp08 {
                        opp-hz = /bits/ 64 <1608000000>;
-                       opp-microvolt = <891000>;
+                       opp-microvolt = <899000>;
                };
                opp09 {
                        opp-hz = /bits/ 64 <1704000000>;
-                       opp-microvolt = <921000>;
+                       opp-microvolt = <929000>;
                };
                opp10 {
                        opp-hz = /bits/ 64 <1800000000>;
-                       opp-microvolt = <981000>;
+                       opp-microvolt = <989000>;
                };
                opp11 {
                        opp-hz = /bits/ 64 <1908000000>;
-                       opp-microvolt = <1011000>;
+                       opp-microvolt = <1019000>;
                };
        };
 
index cb4e7ef..5422337 100644 (file)
 
                opp00 {
                        opp-hz = /bits/ 64 <100000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp01 {
                        opp-hz = /bits/ 64 <250000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp02 {
                        opp-hz = /bits/ 64 <500000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp03 {
                        opp-hz = /bits/ 64 <667000000>;
-                       opp-microvolt = <761000>;
+                       opp-microvolt = <769000>;
                };
                opp04 {
                        opp-hz = /bits/ 64 <1000000000>;
-                       opp-microvolt = <791000>;
+                       opp-microvolt = <799000>;
                };
                opp05 {
                        opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <801000>;
+                       opp-microvolt = <809000>;
                };
                opp06 {
                        opp-hz = /bits/ 64 <1404000000>;
-                       opp-microvolt = <831000>;
+                       opp-microvolt = <839000>;
                };
                opp07 {
                        opp-hz = /bits/ 64 <1500000000>;
-                       opp-microvolt = <861000>;
+                       opp-microvolt = <869000>;
                };
                opp08 {
                        opp-hz = /bits/ 64 <1608000000>;
-                       opp-microvolt = <891000>;
+                       opp-microvolt = <899000>;
                };
                opp09 {
                        opp-hz = /bits/ 64 <1704000000>;
-                       opp-microvolt = <921000>;
+                       opp-microvolt = <929000>;
                };
                opp10 {
                        opp-hz = /bits/ 64 <1800000000>;
-                       opp-microvolt = <981000>;
+                       opp-microvolt = <989000>;
                };
                opp11 {
                        opp-hz = /bits/ 64 <1908000000>;
-                       opp-microvolt = <1011000>;
+                       opp-microvolt = <1019000>;
                };
        };
 
index 06699ec..e57b34a 100644 (file)
 
                opp00 {
                        opp-hz = /bits/ 64 <100000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp01 {
                        opp-hz = /bits/ 64 <250000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp02 {
                        opp-hz = /bits/ 64 <500000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp03 {
                        opp-hz = /bits/ 64 <667000000>;
-                       opp-microvolt = <761000>;
+                       opp-microvolt = <769000>;
                };
                opp04 {
                        opp-hz = /bits/ 64 <1000000000>;
-                       opp-microvolt = <791000>;
+                       opp-microvolt = <799000>;
                };
                opp05 {
                        opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <801000>;
+                       opp-microvolt = <809000>;
                };
                opp06 {
                        opp-hz = /bits/ 64 <1404000000>;
-                       opp-microvolt = <831000>;
+                       opp-microvolt = <839000>;
                };
                opp07 {
                        opp-hz = /bits/ 64 <1500000000>;
-                       opp-microvolt = <861000>;
+                       opp-microvolt = <869000>;
                };
                opp08 {
                        opp-hz = /bits/ 64 <1608000000>;
-                       opp-microvolt = <891000>;
+                       opp-microvolt = <899000>;
                };
                opp09 {
                        opp-hz = /bits/ 64 <1704000000>;
-                       opp-microvolt = <921000>;
+                       opp-microvolt = <929000>;
                };
                opp10 {
                        opp-hz = /bits/ 64 <1800000000>;
-                       opp-microvolt = <981000>;
+                       opp-microvolt = <989000>;
                };
                opp11 {
                        opp-hz = /bits/ 64 <1908000000>;
-                       opp-microvolt = <1011000>;
+                       opp-microvolt = <1019000>;
                };
        };
 
index ca459d9..014a7c7 100644 (file)
 
                opp00 {
                        opp-hz = /bits/ 64 <100000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp01 {
                        opp-hz = /bits/ 64 <250000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp02 {
                        opp-hz = /bits/ 64 <500000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp03 {
                        opp-hz = /bits/ 64 <667000000>;
-                       opp-microvolt = <761000>;
+                       opp-microvolt = <769000>;
                };
                opp04 {
                        opp-hz = /bits/ 64 <1000000000>;
-                       opp-microvolt = <791000>;
+                       opp-microvolt = <799000>;
                };
                opp05 {
                        opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <801000>;
+                       opp-microvolt = <809000>;
                };
                opp06 {
                        opp-hz = /bits/ 64 <1404000000>;
-                       opp-microvolt = <831000>;
+                       opp-microvolt = <839000>;
                };
                opp07 {
                        opp-hz = /bits/ 64 <1500000000>;
-                       opp-microvolt = <861000>;
+                       opp-microvolt = <869000>;
                };
                opp08 {
                        opp-hz = /bits/ 64 <1608000000>;
-                       opp-microvolt = <891000>;
+                       opp-microvolt = <899000>;
                };
                opp09 {
                        opp-hz = /bits/ 64 <1704000000>;
-                       opp-microvolt = <921000>;
+                       opp-microvolt = <929000>;
                };
                opp10 {
                        opp-hz = /bits/ 64 <1800000000>;
-                       opp-microvolt = <981000>;
+                       opp-microvolt = <989000>;
                };
                opp11 {
                        opp-hz = /bits/ 64 <1908000000>;
-                       opp-microvolt = <1011000>;
+                       opp-microvolt = <1019000>;
                };
        };
 
index 17a1576..4ef262f 100644 (file)
 
        vddcpu0: pwmao_d-regulator {
                compatible = "pwm-regulator";
-               pwms = <&pwm_AO_cd MESON_PWM_1 1250 0>;
+               pwms = <&pwm_AO_cd MESON_PWM_1 1500 0>;
                regulator-name = "vddcpu0";
-               regulator-min-microvolt = <721000>;
-               regulator-max-microvolt = <1021000>;
+               regulator-min-microvolt = <689000>;
+               regulator-max-microvolt = <1049000>;
                regulator-always-on;
-               max-duty-cycle = <1250>;
+               max-duty-cycle = <1500>;
                /* Voltage Duty-Cycle */
-               voltage-table = <1021000 0>,
-                               <1011000 3>,
-                               <1001000 6>,
-                               <991000 10>,
-                               <981000 13>,
-                               <971000 16>,
-                               <961000 20>,
-                               <951000 23>,
-                               <941000 26>,
-                               <931000 30>,
-                               <921000 33>,
-                               <911000 36>,
-                               <901000 40>,
-                               <891000 43>,
-                               <881000 46>,
-                               <871000 50>,
-                               <861000 53>,
-                               <851000 56>,
-                               <841000 60>,
-                               <831000 63>,
-                               <821000 67>,
-                               <811000 70>,
-                               <801000 73>,
-                               <791000 76>,
-                               <781000 80>,
-                               <771000 83>,
-                               <761000 86>,
-                               <751000 90>,
-                               <741000 93>,
-                               <731000 96>,
-                               <721000 100>;
+               voltage-table = <1049000 0>,
+                               <1039000 3>,
+                               <1029000 6>,
+                               <1019000 8>,
+                               <1009000 11>,
+                               <999000 14>,
+                               <989000 17>,
+                               <979000 20>,
+                               <969000 23>,
+                               <959000 26>,
+                               <949000 29>,
+                               <939000 31>,
+                               <929000 34>,
+                               <919000 37>,
+                               <909000 40>,
+                               <899000 43>,
+                               <889000 45>,
+                               <879000 48>,
+                               <869000 51>,
+                               <859000 54>,
+                               <849000 56>,
+                               <839000 59>,
+                               <829000 62>,
+                               <819000 65>,
+                               <809000 68>,
+                               <799000 70>,
+                               <789000 73>,
+                               <779000 76>,
+                               <769000 79>,
+                               <759000 81>,
+                               <749000 84>,
+                               <739000 87>,
+                               <729000 89>,
+                               <719000 92>,
+                               <709000 95>,
+                               <699000 98>,
+                               <689000 100>;
                                status = "okay";
        };
 
index defeedb..e73c427 100644 (file)
 
                opp00 {
                        opp-hz = /bits/ 64 <100000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp01 {
                        opp-hz = /bits/ 64 <250000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp02 {
                        opp-hz = /bits/ 64 <500000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp03 {
                        opp-hz = /bits/ 64 <667000000>;
-                       opp-microvolt = <761000>;
+                       opp-microvolt = <769000>;
                };
                opp04 {
                        opp-hz = /bits/ 64 <1000000000>;
-                       opp-microvolt = <791000>;
+                       opp-microvolt = <799000>;
                };
                opp05 {
                        opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <801000>;
+                       opp-microvolt = <809000>;
                };
                opp06 {
                        opp-hz = /bits/ 64 <1404000000>;
-                       opp-microvolt = <831000>;
+                       opp-microvolt = <839000>;
                };
                opp07 {
                        opp-hz = /bits/ 64 <1500000000>;
-                       opp-microvolt = <861000>;
+                       opp-microvolt = <869000>;
                };
                opp08 {
                        opp-hz = /bits/ 64 <1608000000>;
-                       opp-microvolt = <891000>;
+                       opp-microvolt = <899000>;
                };
                opp09 {
                        opp-hz = /bits/ 64 <1704000000>;
-                       opp-microvolt = <921000>;
+                       opp-microvolt = <929000>;
                };
                opp10 {
                        opp-hz = /bits/ 64 <1800000000>;
-                       opp-microvolt = <981000>;
+                       opp-microvolt = <989000>;
                };
                opp11 {
                        opp-hz = /bits/ 64 <1908000000>;
-                       opp-microvolt = <1011000>;
+                       opp-microvolt = <1019000>;
                };
        };
 
index 65c1777..78cbdd2 100644 (file)
 
                opp00 {
                        opp-hz = /bits/ 64 <100000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp01 {
                        opp-hz = /bits/ 64 <250000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp02 {
                        opp-hz = /bits/ 64 <500000000>;
-                       opp-microvolt = <731000>;
+                       opp-microvolt = <739000>;
                };
                opp03 {
                        opp-hz = /bits/ 64 <667000000>;
-                       opp-microvolt = <761000>;
+                       opp-microvolt = <769000>;
                };
                opp04 {
                        opp-hz = /bits/ 64 <1000000000>;
-                       opp-microvolt = <791000>;
+                       opp-microvolt = <799000>;
                };
                opp05 {
                        opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <801000>;
+                       opp-microvolt = <809000>;
                };
                opp06 {
                        opp-hz = /bits/ 64 <1404000000>;
-                       opp-microvolt = <831000>;
+                       opp-microvolt = <839000>;
                };
                opp07 {
                        opp-hz = /bits/ 64 <1500000000>;
-                       opp-microvolt = <861000>;
+                       opp-microvolt = <869000>;
                };
                opp08 {
                        opp-hz = /bits/ 64 <1608000000>;
-                       opp-microvolt = <891000>;
+                       opp-microvolt = <899000>;
                };
                opp09 {
                        opp-hz = /bits/ 64 <1704000000>;
-                       opp-microvolt = <921000>;
+                       opp-microvolt = <929000>;
                };
                opp10 {
                        opp-hz = /bits/ 64 <1800000000>;
-                       opp-microvolt = <981000>;
+                       opp-microvolt = <989000>;
                };
                opp11 {
                        opp-hz = /bits/ 64 <1908000000>;
-                       opp-microvolt = <1011000>;
+                       opp-microvolt = <1019000>;
                };
        };