linux_dsm_epyc7002/drivers/thermal/samsung
Krzysztof Kozlowski 3a3a5f1586 thermal: exynos: Print a message about exceeded number of supported trip-points
When DeviveTree contains more trip-points than SoC can configure
(usually more than four) and polling mode is not enabled, then the
remaining trip-points will be silently ignored. No interrupts will be
generated for them.

This might be quite dangerous when one provides DTB with a
non-configurable critical trip-point, like (assuming four supported
thresholds in TMU):
 - alert @50 C (type: active),
 - alert @60 C (type: active),
 - alert @70 C (type: active),
 - alert @80 C (type: active),
 - critical @120 C (type: critical) <- no interrupts generated.

This is a mistake in DTB so print a message in such case.

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2016-03-08 14:07:32 -08:00
..
exynos_tmu.c thermal: exynos: Print a message about exceeded number of supported trip-points 2016-03-08 14:07:32 -08:00
exynos_tmu.h thermal: exynos: Add the support for Exynos5433 TMU 2015-05-04 21:27:55 -07:00
Kconfig thermal: Fix build error of missing devm_ioremap_resource on UM 2016-03-08 12:22:35 -08:00
Makefile thermal: samsung: core: Exynos TMU rework to use device tree for configuration 2015-01-24 17:39:32 -04:00