android_kernel_motorola_sm6375/drivers/thermal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kapileshwar Singh 6cd9e9f629 thermal: of: fix cooling device weights in device tree
Currently you can specify the weight of the cooling device in the device
tree but that information is not populated to the
thermal_bind_params where the fair share governor expects it to
be.  The of thermal zone device doesn't have a thermal_bind_params
structure and arguably it's better to pass the weight inside the
thermal_instance as it is specific to the bind of a cooling device to a
thermal zone parameter.

Core thermal code is fixed to populate the weight in the instance from
the thermal_bind_params, so platform code that was passing the weight
inside the thermal_bind_params continue to work seamlessly.

While we are at it, create a default value for the weight parameter for
those thermal zones that currently don't define it and remove the
hardcoded default in of-thermal.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Len Brown <lenb@kernel.org>
Cc: Peter Feuerer <peter@piie.net>
Cc: Darren Hart <dvhart@infradead.org>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2015-05-04 21:27:50 -07:00
..
int340x_thermal Thermal/int340x: Fix memleak for aux trip 2015-03-05 01:41:51 -04:00
samsung thermal: exynos: Fix wrong control of power down detection mode for Exynos7 2015-03-02 10:04:51 +01:00
st drivers: thermal: st: remove several sparse warnings 2015-04-07 13:43:28 -07:00
ti-soc-thermal thermal: of: fix cooling device weights in device tree 2015-05-04 21:27:50 -07:00
armada_thermal.c
clock_cooling.c
cpu_cooling.c
db8500_cpufreq_cooling.c
db8500_thermal.c thermal: of: fix cooling device weights in device tree 2015-05-04 21:27:50 -07:00
dove_thermal.c
fair_share.c thermal: of: fix cooling device weights in device tree 2015-05-04 21:27:50 -07:00
gov_bang_bang.c
imx_thermal.c thermal: of: fix cooling device weights in device tree 2015-05-04 21:27:50 -07:00
intel_powerclamp.c thermal/intel_powerclamp: add id for Avoton SoC 2015-02-28 13:55:40 +08:00
intel_soc_dts_thermal.c
Kconfig
kirkwood_thermal.c
Makefile
of-thermal.c thermal: of: fix cooling device weights in device tree 2015-05-04 21:27:50 -07:00
rcar_thermal.c thermal: rcar: Make error and remove paths symmetrical with init 2015-02-24 14:58:05 -04:00
rockchip_thermal.c
spear_thermal.c
step_wise.c thermal: step_wise: spelling fixes 2015-02-06 16:35:00 +08:00
tegra_soctherm.c
thermal_core.c thermal: of: fix cooling device weights in device tree 2015-05-04 21:27:50 -07:00
thermal_core.h thermal: of: fix cooling device weights in device tree 2015-05-04 21:27:50 -07:00
thermal_hwmon.c
thermal_hwmon.h
user_space.c
x86_pkg_temp_thermal.c