]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Revert "ARM: dts: am33xx: Move to operating-points-v2 table and ti-cpufreq driver"
authorDave Gerlach <d-gerlach@ti.com>
Wed, 14 Sep 2016 23:26:53 +0000 (16:26 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 14 Sep 2016 23:26:53 +0000 (16:26 -0700)
This reverts commit 4317be1162108bcdf50dc53dfb48eac94dcff25c.

The original commit updated the cpufreq operating points tables for
am33xx but was merged before the driver making use of the node was
merged, which breaks the existing cpufreq implementation on the system,
so revert the patch until the ti-cpufreq driver is merged.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am33xx.dtsi

index 98748c61ed99bcdb3c5a2b76ca8da3f3c733286f..9e214bfd32d2d3f393291e740523ade1bfeff657 100644 (file)
                        device_type = "cpu";
                        reg = <0>;
 
-                       operating-points-v2 = <&cpu0_opp_table>;
-                       ti,syscon-efuse = <&scm_conf 0x7fc 0x1fff 0>;
-                       ti,syscon-rev = <&scm_conf 0x600>;
+                       /*
+                        * To consider voltage drop between PMIC and SoC,
+                        * tolerance value is reduced to 2% from 4% and
+                        * voltage value is increased as a precaution.
+                        */
+                       operating-points = <
+                               /* kHz    uV */
+                               720000  1285000
+                               600000  1225000
+                               500000  1125000
+                               275000  1125000
+                       >;
+                       voltage-tolerance = <2>; /* 2 percentage */
 
                        clocks = <&dpll_mpu_ck>;
                        clock-names = "cpu";
                };
        };
 
-       cpu0_opp_table: opp_table0 {
-               compatible = "operating-points-v2";
-
-               /*
-                * The three following nodes are marked with opp-suspend
-                * because the can not be enabled simultaneously on a
-                * single SoC.
-                */
-               opp50@300000000 {
-                       opp-hz = /bits/ 64 <300000000>;
-                       opp-microvolt = <950000 931000 969000>;
-                       opp-supported-hw = <0x06 0x0010>;
-                       opp-suspend;
-               };
-
-               opp100@275000000 {
-                       opp-hz = /bits/ 64 <275000000>;
-                       opp-microvolt = <1100000 1078000 1122000>;
-                       opp-supported-hw = <0x01 0x00FF>;
-                       opp-suspend;
-               };
-
-               opp100@300000000 {
-                       opp-hz = /bits/ 64 <300000000>;
-                       opp-microvolt = <1100000 1078000 1122000>;
-                       opp-supported-hw = <0x06 0x0020>;
-                       opp-suspend;
-               };
-
-               opp100@500000000 {
-                       opp-hz = /bits/ 64 <500000000>;
-                       opp-microvolt = <1100000 1078000 1122000>;
-                       opp-supported-hw = <0x01 0xFFFF>;
-               };
-
-               opp100@600000000 {
-                       opp-hz = /bits/ 64 <600000000>;
-                       opp-microvolt = <1100000 1078000 1122000>;
-                       opp-supported-hw = <0x06 0x0040>;
-               };
-
-               opp120@600000000 {
-                       opp-hz = /bits/ 64 <600000000>;
-                       opp-microvolt = <1200000 1176000 1224000>;
-                       opp-supported-hw = <0x01 0xFFFF>;
-               };
-
-               opp120@720000000 {
-                       opp-hz = /bits/ 64 <720000000>;
-                       opp-microvolt = <1200000 1176000 1224000>;
-                       opp-supported-hw = <0x06 0x0080>;
-               };
-
-               oppturbo@720000000 {
-                       opp-hz = /bits/ 64 <720000000>;
-                       opp-microvolt = <1260000 1234800 1285200>;
-                       opp-supported-hw = <0x01 0xFFFF>;
-               };
-
-               oppturbo@800000000 {
-                       opp-hz = /bits/ 64 <800000000>;
-                       opp-microvolt = <1260000 1234800 1285200>;
-                       opp-supported-hw = <0x06 0x0100>;
-               };
-
-               oppnitro@1000000000 {
-                       opp-hz = /bits/ 64 <1000000000>;
-                       opp-microvolt = <1325000 1298500 1351500>;
-                       opp-supported-hw = <0x04 0x0200>;
-               };
-       };
-
        pmu {
                compatible = "arm,cortex-a8-pmu";
                interrupts = <3>;