thermal: arm: dra752: Remove TSHUT configuration
authorKeerthy <j-keerthy@ti.com>
Fri, 6 Jan 2017 06:01:42 +0000 (11:31 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Sun, 19 Feb 2017 01:44:07 +0000 (17:44 -0800)
Technical Reference Manual [1] mandates that software should
not be configuring the thermal shutdown thresholds. Hence
removing TSHUT_CONFIG.

[1] http://www.ti.com/lit/ug/sprui30b/sprui30b.pdf

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reported-by: Ravikumar Kattekola <rk@ti.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/ti-soc-thermal/dra752-thermal-data.c

index 58b5c6694cd4361472b34fa941890e5121d3dba9..0a3f88dd883e072f5a28cc6a2c7344491506c338 100644 (file)
@@ -416,8 +416,7 @@ int dra752_adc_to_temp[DRA752_ADC_END_VALUE - DRA752_ADC_START_VALUE + 1] = {
 
 /* DRA752 data */
 const struct ti_bandgap_data dra752_data = {
-       .features = TI_BANDGAP_FEATURE_TSHUT_CONFIG |
-                       TI_BANDGAP_FEATURE_FREEZE_BIT |
+       .features = TI_BANDGAP_FEATURE_FREEZE_BIT |
                        TI_BANDGAP_FEATURE_TALERT |
                        TI_BANDGAP_FEATURE_COUNTER_DELAY |
                        TI_BANDGAP_FEATURE_HISTORY_BUFFER |