]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: mt7623: Remove "cooling-{min|max}-level" for CPU nodes
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 9 Feb 2018 08:58:03 +0000 (14:28 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Feb 2018 17:06:21 +0000 (18:06 +0100)
The "cooling-min-level" and "cooling-max-level" properties are not
parsed by any part of the kernel currently and the max cooling state of
a CPU cooling device is found by referring to the cpufreq table instead.

Remove the unused properties from the CPU nodes.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt
arch/arm/boot/dts/mt7623.dtsi

index f6403089edcf80d6cabc56607b49464f8b44b5ac..d36f07e0a2bb43af831d64c6b671f18a6e7a82ef 100644 (file)
@@ -21,8 +21,6 @@ Optional properties:
               flow is handled by hardware, hence no software "voltage tracking" is
               needed.
 - #cooling-cells:
-- cooling-min-level:
-- cooling-max-level:
        Please refer to Documentation/devicetree/bindings/thermal/thermal.txt
        for detail.
 
@@ -67,8 +65,6 @@ Example 1 (MT7623 SoC):
                clock-names = "cpu", "intermediate";
                operating-points-v2 = <&cpu_opp_table>;
                #cooling-cells = <2>;
-               cooling-min-level = <0>;
-               cooling-max-level = <7>;
        };
        cpu@1 {
                device_type = "cpu";
index b750da5362f7eab6007d8836b286a5e06424ebb3..8e7c65464c9d0ab8da13b88ff37d54bb0cb37e4d 100644 (file)
@@ -87,8 +87,6 @@ cpu0: cpu@0 {
                        clock-names = "cpu", "intermediate";
                        operating-points-v2 = <&cpu_opp_table>;
                        #cooling-cells = <2>;
-                       cooling-min-level = <0>;
-                       cooling-max-level = <7>;
                        clock-frequency = <1300000000>;
                };