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 | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi index 5beb4538dfdc..c58edfbce239 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi @@ -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>; }; };