arm64: dts: exynos5433: add ctrl-alg flag in trip points
authorLukasz Luba <l.luba@partner.samsung.com>
Thu, 8 Nov 2018 11:08:45 +0000 (12:08 +0100)
committerLukasz Luba <l.luba@partner.samsung.com>
Fri, 17 May 2019 07:15:47 +0000 (09:15 +0200)
The flags enable sched_power to work with these thermal zones.

Signed-off-by: Lukasz Luba <l.luba@partner.samsung.com>
arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi

index 5beb4538dfdc78b2389c17e82acfa94c4773e13f..c58edfbce239fa5d189b600a6e49e7154a0a0415 100644 (file)
@@ -23,6 +23,7 @@ thermal-zones {
                                temperature = <70000>;  /* millicelsius */
                                hysteresis = <1000>;    /* millicelsius */
                                type = "active";
+                               ctrl-alg = <1>;
                        };
                        atlas0_alert_2: atlas0-alert-2 {
                                temperature = <75000>;  /* millicelsius */
@@ -43,6 +44,7 @@ thermal-zones {
                                temperature = <90000>;  /* millicelsius */
                                hysteresis = <1000>;    /* millicelsius */
                                type = "active";
+                               ctrl-alg = <2>;
                        };
                        atlas0_alert_6: atlas0-alert-6 {
                                temperature = <95000>;  /* millicelsius */
@@ -195,6 +197,7 @@ thermal-zones {
                                temperature = <75000>;  /* millicelsius */
                                hysteresis = <1000>;    /* millicelsius */
                                type = "active";
+                               ctrl-alg = <1>;
                        };
                        apollo_alert_3: apollo-alert-3 {
                                temperature = <80000>;  /* millicelsius */
@@ -210,6 +213,7 @@ thermal-zones {
                                temperature = <90000>;  /* millicelsius */
                                hysteresis = <1000>;    /* millicelsius */
                                type = "active";
+                               ctrl-alg = <2>;
                        };
                        apollo_alert_6: apollo-alert-6 {
                                temperature = <95000>;  /* millicelsius */
@@ -304,11 +308,13 @@ thermal-zones {
                                temperature = <55000>;
                                hysteresis = <1000>;
                                type = "passive";
+                               ctrl-alg = <1>;
                        };
                        target: target {
                                temperature = <70000>;
                                hysteresis = <1000>;
                                type = "passive";
+                               ctrl-alg = <2>;
                        };
                };