Set CPU governor, enable CPU_THERMAL
- Set the default governor to ondemand so we can clock down with no
load, and enable CPU_THERMAL to allow us to change frequency in response
to temperature changes.
Change-Id: I8f54b76494228329c32888cfbb7023d81187fa54
diff --git a/debian/defconfig b/debian/defconfig
index 88f2c43..abd24fc 100644
--- a/debian/defconfig
+++ b/debian/defconfig
@@ -28,6 +28,7 @@
CONFIG_PM_DEBUG=y
CONFIG_PM_ADVANCED_DEBUG=y
CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
@@ -222,6 +223,7 @@
CONFIG_HWMON=m
CONFIG_SENSORS_NTC_THERMISTOR=m
CONFIG_THERMAL=y
+CONFIG_CPU_THERMAL=y
CONFIG_WATCHDOG=y
CONFIG_MEDIATEK_WATCHDOG=y
CONFIG_MFD_MT6397=y