linux_dsm_epyc7002/drivers/thermal
Yoshihiro Kaneko 6a310f8f97 thermal: rcar_gen3_thermal: Update temperature conversion method
Update the formula to calculate temperature:
Currently, current TEMP is calculated as
average of val1 (is calculated by formula 1)
and val2 (is calculated by formula 2). But,
as description in HWM (chapter 10A.3.1.2 Normal Mode.)

If (TEMP_CODE < THCODE2[11:0]) CTEMP value should be val1.
If (TEMP_CODE > THCODE2[11:0]) CTEMP value should be val2.

Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2019-05-23 21:58:25 -07:00
..
broadcom treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
intel treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qcom treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
samsung treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
st treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
tegra thermal: tegra: Make tegra210_tsensor_thermtrips static 2019-05-23 21:52:47 -07:00
ti-soc-thermal treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
armada_thermal.c
clock_cooling.c
cpu_cooling.c thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power 2019-05-14 07:00:41 -07:00
da9062-thermal.c
db8500_thermal.c
devfreq_cooling.c
dove_thermal.c
fair_share.c
gov_bang_bang.c
hisi_thermal.c
imx_thermal.c
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
kirkwood_thermal.c
Makefile thermal: Introduce Amazon's Annapurna Labs Thermal Driver 2019-05-14 07:00:26 -07:00
max77620_thermal.c
mtk_thermal.c thermal: mtk: Allocate enough space for mtk_thermal. 2019-03-18 22:23:10 +08:00
of-thermal.c of: thermal: Improve print information 2019-05-13 20:35:34 -07:00
power_allocator.c
qoriq_thermal.c thermal: qoriq: Remove unnecessary DT node is NULL check 2019-05-14 07:00:27 -07:00
rcar_gen3_thermal.c thermal: rcar_gen3_thermal: Update temperature conversion method 2019-05-23 21:58:25 -07:00
rcar_thermal.c thermal: rcar_thermal: update calculation formula for R-Car Gen3 SoCs 2019-05-14 07:00:42 -07:00
rockchip_thermal.c Revert "thermal: rockchip: fix up the tsadc pinctrl setting error" 2019-05-23 21:48:58 -07:00
spear_thermal.c
step_wise.c
tango_thermal.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
thermal_core.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2019-05-16 16:16:18 -07:00
thermal_core.h
thermal_helpers.c
thermal_hwmon.c
thermal_hwmon.h
thermal_mmio.c thermal: Introduce Amazon's Annapurna Labs Thermal Driver 2019-05-14 07:00:26 -07:00
thermal_sysfs.c
thermal-generic-adc.c thermal: generic-adc: make lookup table optional 2019-05-14 07:00:28 -07:00
uniphier_thermal.c
user_space.c
zx2967_thermal.c