[9610] arm64: dtsi: Modify thermal cooling device setting.
authorChungwoo Park <cww.park@samsung.com>
Tue, 15 May 2018 12:51:45 +0000 (21:51 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:37:40 +0000 (17:37 +0900)
Change-Id: I9eb17a42a4457001f471407486e109853004a8f0
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
arch/arm64/boot/dts/exynos/exynos9610.dtsi

index d11aac52e01bbec4abc195773ee7e6047326048c..417e36e02a6e69467df0b984ac130ff0aae703fa 100644 (file)
                        enable-method = "psci";
                        cpu-idle-states = <&BOOTCL_CPU_SLEEP>;
                        sched-energy-data = <&A53_ENERGY>;
-                       #cooling-cells = <2>; /* min followed by max */
                };
                cpu1: cpu@101 {
                        device_type = "cpu";
                        enable-method = "psci";
                        cpu-idle-states = <&NONBOOTCL_CPU_SLEEP>;
                        sched-energy-data = <&A73_ENERGY>;
-                       #cooling-cells = <2>; /* min followed by max */
                };
                cpu5: cpu@1 {
                        device_type = "cpu";
                        cooling-maps {
                                map0 {
                                     trip = <&big_control_temp>;
-                                    cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                                    cooling-device = <&cpufreq_domain1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
                               };
                        };
                };
                                map0 {
                                     trip = <&little_alert0>;
                                     /* Corresponds to 1534MHz at freq_table */
-                                    cooling-device = <&cpu0 0 0>;
+                                    cooling-device = <&cpufreq_domain0 0 0>;
                                };
                                map1 {
                                     trip = <&little_alert1>;
                                     /* Corresponds to 1326MHz at freq_table */
-                                    cooling-device = <&cpu0 0 0>;
+                                    cooling-device = <&cpufreq_domain0 0 0>;
                               };
                                map2 {
                                     trip = <&little_alert2>;
                                     /* Corresponds to 1118MHz at freq_table */
-                                    cooling-device = <&cpu0 0 0>;
+                                    cooling-device = <&cpufreq_domain0 0 0>;
                                };
                                map3 {
                                     trip = <&little_alert3>;
                                     /* Corresponds to 910MHz at freq_table */
-                                    cooling-device = <&cpu0 0 0>;
+                                    cooling-device = <&cpufreq_domain0 0 0>;
                                };
                                map4 {
                                     trip = <&little_alert4>;
                                     /* Corresponds to 702MHz at freq_table */
-                                    cooling-device = <&cpu0 0 0>;
+                                    cooling-device = <&cpufreq_domain0 0 0>;
                                };
                                map5 {
                                     trip = <&little_alert5>;
                                     /* Corresponds to 403MHz at freq_table */
-                                    cooling-device = <&cpu0 0 0>;
+                                    cooling-device = <&cpufreq_domain0 0 0>;
                               };
                                map6 {
                                     trip = <&little_alert6>;
                                     /* Corresponds to 403MHz at freq_table */
-                                    cooling-device = <&cpu0 0 0>;
+                                    cooling-device = <&cpufreq_domain0 0 0>;
                                };
                                map7 {
                                     trip = <&little_hot>;
                                     /* Corresponds to 403MHz at freq_table */
-                                    cooling-device = <&cpu0 0 0>;
+                                    cooling-device = <&cpufreq_domain0 0 0>;
                                };
                        };
                };
        };
 
        cpufreq {
-               domain@0 {
+               cpufreq_domain0: domain@0 {
                        device_type = "cpufreq-domain";
                        sibling-cpus = "0-3";
                        cal-id = <ACPM_DVFS_CPUCL0>;
                        pm_qos-min-class = <3>;
                        pm_qos-max-class = <4>;
 
+                       #cooling-cells = <2>; /* min followed by max */
+
                        dm-constraints {
                                mif-perf {
                                        const-type = <CONSTRAINT_MIN>;
                        };
                };
 
-               domain@1 {
+               cpufreq_domain1: domain@1 {
                        device_type = "cpufreq-domain";
                        sibling-cpus = "4-7";
                        cal-id = <ACPM_DVFS_CPUCL1>;
                        pm_qos-min-class = <5>;
                        pm_qos-max-class = <6>;
 
+                       #cooling-cells = <2>; /* min followed by max */
+
                        dm-constraints {
                                mif-perf {
                                        const-type = <CONSTRAINT_MIN>;