Thread (13 messages) 13 messages, 4 authors, 2012-11-15

Re: [PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

From: Hongbo Zhang <hidden>
Date: 2012-11-15 08:32:26
Also in: linux-acpi, lkml

On 15 November 2012 16:13, Zhang Rui [off-list ref] wrote:
On Fri, 2012-11-09 at 19:29 +0800, hongbo.zhang wrote:
quoted
From: "hongbo.zhang" <redacted>

This driver is based on the thermal management framework in thermal_sys.c. A
thermal zone device is created with the trip points to which cooling devices
can be bound, the current cooling device is cpufreq, e.g. CPU frequency is
clipped down to cool the CPU, and other cooling devices can be added and bound
to the trip points dynamically.  The platform specific PRCMU interrupts are
used to active thermal update when trip points are reached.

Signed-off-by: hongbo.zhang <redacted>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Francesco Lavra <redacted>
quoted
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index e1cb6bd..54c8fd0 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -31,6 +31,26 @@ config CPU_THERMAL
        and not the ACPI interface.
        If you want this support, you should say Y here.

+config DB8500_THERMAL
+     bool "DB8500 thermal management"
why is this bool?
platform specific PRCMU interfaces are used, and those interfaces are
not exported, so my driver cannot be compiled as a module.
thanks,
rui


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help