]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
thermal: ti-soc-thermal: Remove CPU_THERMAL Dependency from TI_THERMAL
authorKeerthy <j-keerthy@ti.com>
Mon, 16 Jan 2017 10:13:02 +0000 (15:43 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Sun, 19 Feb 2017 01:43:56 +0000 (17:43 -0800)
Currently when CPU_THERMAL is not defined the thermal sensors
are not even exposed consequently no cooling is possible. CPU_THERMAL
eventually depends on CPUFREQ. CPPUFREQ is not the only cooling
for CPU.

The thermal shutdown for critical temperatures is another
cooling solution which will currently not get enabled if CPU_THERMAL
is not defined. Remove this dependency so as to have the last level
of thermal protection working even without CPUFREQ defined.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/ti-soc-thermal/Kconfig

index ea8283f08aa68020cf3f7e5c7e7927d2be5b8b84..fe0e877f84d014c18db574ff332721b5b8e54ce3 100644 (file)
@@ -11,7 +11,6 @@ config TI_SOC_THERMAL
 config TI_THERMAL
        bool "Texas Instruments SoCs thermal framework support"
        depends on TI_SOC_THERMAL
-       depends on CPU_THERMAL
        help
          If you say yes here you want to get support for generic thermal
          framework for the Texas Instruments on die bandgap temperature sensor.