linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix thermal bugs and Upstream ST-Ericsson thermal driver
@ 2012-10-16 11:44 hongbo.zhang
  2012-10-16 11:44 ` [PATCH 1/5] Thermal: do bind operation after thermal zone or cooling device register returns hongbo.zhang
                   ` (5 more replies)
  0 siblings, 6 replies; 76+ messages in thread
From: hongbo.zhang @ 2012-10-16 11:44 UTC (permalink / raw)
  To: linaro-dev, linux-kernel, linux-pm
  Cc: patches, linaro-kernel, STEricsson_nomadik_linux, kernel,
	hongbo.zhang

From: "hongbo.zhang" <hongbo.zhang@linaro.com>

Hi all,
This patch set is to upstream ST-Ericsson thermal driver and fix some bugs
of thermal layer at the same time.
All of these patches are based on v3.7-rc1.


[PATCH 1/5] Thermal: do bind operation after thermal zone or cooling
 device register returns.

In the previous bind function, cdev->get_max_state(cdev, &max_state) is called
before the registration function finishes, but at this moment, the parameter
cdev at thermal driver layer isn't ready--it will get ready only after its
registration, so the the get_max_state callback cannot tell the max_state
according to the cdev input.
This problem can be fixed by separating the bind operation out of registration
and doing it when registration completely finished.

There is no such problem with the current exynos thermal driver because it 
regsters cooling device before thermal zone device. As a generic thermal layer
any sequence should be supported, thermal zone first or cooling device first,
this will be also helpful to add/remove cooling device dynamically.


[PATCH 2/5] Thermal: add indent for code alignment.
[PATCH 3/5] Thermal: fix empty list checking method.
[PATCH 4/5] Thermal: make sure cpufreq cooling register after
 cpufreq driver

Bug fix for generic cpufreq cooling layer as described in the commit logs.


[PATCH 5/5] Thermal: Add ST-Ericsson db8500 thermal dirver.

This patch is to add ST-Ericsson into the latest kervel version.


hongbo.zhang (5):
  Thermal: do bind operation after thermal zone or cooling device
    register returns.
  Thermal: add indent for code alignment.
  Thermal: fix empty list checking method.
  Thermal: make sure cpufreq cooling register after cpufreq driver
  Thermal: Add ST-Ericsson db8500 thermal dirver.

 arch/arm/boot/dts/dbx5x0.dtsi                |  11 +
 arch/arm/configs/u8500_defconfig             |   4 +
 arch/arm/mach-ux500/board-mop500.c           |  73 ++++
 drivers/thermal/Kconfig                      |  20 ++
 drivers/thermal/Makefile                     |   2 +
 drivers/thermal/cpu_cooling.c                |  19 +-
 drivers/thermal/db8500_cpufreq_cooling.c     | 118 +++++++
 drivers/thermal/db8500_thermal.c             | 507 +++++++++++++++++++++++++++
 drivers/thermal/thermal_sys.c                |  86 +++--
 include/linux/platform_data/db8500_thermal.h |  39 +++
 10 files changed, 847 insertions(+), 32 deletions(-)
 create mode 100644 drivers/thermal/db8500_cpufreq_cooling.c
 create mode 100644 drivers/thermal/db8500_thermal.c
 create mode 100644 include/linux/platform_data/db8500_thermal.h

-- 
1.7.11.3


^ permalink raw reply	[flat|nested] 76+ messages in thread

end of thread, other threads:[~2012-11-09 11:54 UTC | newest]

Thread overview: 76+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-16 11:44 [PATCH 0/5] Fix thermal bugs and Upstream ST-Ericsson thermal driver hongbo.zhang
2012-10-16 11:44 ` [PATCH 1/5] Thermal: do bind operation after thermal zone or cooling device register returns hongbo.zhang
2012-10-21 10:05   ` Francesco Lavra
2012-10-23  8:23     ` Hongbo Zhang
2012-10-23 22:13       ` Francesco Lavra
2012-10-24  2:37         ` Hongbo Zhang
2012-10-16 11:44 ` [PATCH 2/5] Thermal: add indent for code alignment hongbo.zhang
2012-10-17 14:21   ` Viresh Kumar
2012-10-16 11:44 ` [PATCH 3/5] Thermal: fix empty list checking method hongbo.zhang
2012-10-17 14:24   ` Viresh Kumar
2012-10-16 11:44 ` [PATCH 4/5] Thermal: make sure cpufreq cooling register after cpufreq driver hongbo.zhang
2012-10-17 14:36   ` Viresh Kumar
2012-10-16 11:44 ` [PATCH 5/5] Thermal: Add ST-Ericsson db8500 thermal dirver hongbo.zhang
2012-10-17 15:23   ` Viresh Kumar
2012-10-17 16:58     ` Joe Perches
2012-10-17 17:02       ` Viresh Kumar
2012-10-18  7:35     ` Hongbo Zhang
2012-10-18  8:07       ` Viresh Kumar
2012-10-18 10:45         ` Hongbo Zhang
2012-10-18 18:08     ` viresh kumar
2012-10-21 15:01   ` Francesco Lavra
2012-10-22 12:02     ` Hongbo Zhang
2012-10-22 18:51       ` Francesco Lavra
2012-10-24  4:40         ` Hongbo Zhang
2012-10-24 11:58 ` [PATCH V2 0/6] Fix thermal bugs and Upstream ST-Ericsson thermal driver hongbo.zhang
2012-10-24 11:58   ` [PATCH V2 1/6] Thermal: add indent for code alignment hongbo.zhang
2012-10-24 11:58   ` [PATCH V2 2/6] Thermal: make sure cpufreq cooling register after cpufreq driver hongbo.zhang
2012-10-29 11:42     ` Amit Kachhap
2012-10-30  8:59       ` Hongbo Zhang
2012-10-24 11:58   ` [PATCH V2 3/6] Thermal: fix bug of counting cpu frequencies hongbo.zhang
2012-10-24 13:34     ` Viresh Kumar
2012-10-29 11:54       ` Amit Kachhap
2012-10-24 11:58   ` [PATCH V2 4/6] Thermal: Remove the cooling_cpufreq_list hongbo.zhang
2012-10-25 19:14     ` Francesco Lavra
2012-10-26  2:59       ` Hongbo Zhang
2012-10-26  7:09       ` hongbo.zhang
2012-10-27  6:39         ` Francesco Lavra
2012-10-30  8:03         ` Amit Kachhap
2012-10-30  8:53           ` Hongbo Zhang
2012-10-24 11:58   ` [PATCH V2 5/6] Thermal: Add ST-Ericsson DB8500 thermal dirver hongbo.zhang
2012-10-24 14:38     ` Viresh Kumar
2012-10-25  8:26       ` Hongbo Zhang
2012-10-25  8:41         ` Viresh Kumar
2012-10-25  9:33           ` Hongbo Zhang
2012-10-25  9:42             ` Viresh Kumar
2012-10-25 10:43               ` Hongbo Zhang
2012-10-25  9:56             ` Hongbo Zhang
2012-10-25 10:04               ` Viresh Kumar
2012-10-25 10:11                 ` Viresh Kumar
2012-10-25 10:45                   ` Hongbo Zhang
2012-10-25 11:13     ` [PATCH V2 5/6] Thermal: Add ST-Ericsson DB8500 thermal driver hongbo.zhang
2012-10-27 10:53       ` Francesco Lavra
2012-10-24 11:58   ` [PATCH V2 6/6] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data hongbo.zhang
2012-10-24 14:32     ` Joe Perches
2012-10-25  3:45       ` Hongbo Zhang
2012-10-24 14:47     ` Viresh Kumar
2012-10-25  3:49       ` Hongbo Zhang
2012-10-25 11:15     ` hongbo.zhang
2012-10-25 11:39       ` hongbo.zhang
2012-10-30 16:48   ` [PATCH V3 0/5] Fix thermal bugs and Upstream ST-Ericsson thermal driver hongbo.zhang
2012-10-30 16:48     ` [PATCH V3 1/5] Thermal: add indent for code alignment hongbo.zhang
2012-11-07  6:54       ` Zhang Rui
2012-10-30 16:48     ` [PATCH V3 2/5] Thermal: fix bug of counting cpu frequencies hongbo.zhang
2012-11-07  6:54       ` Zhang Rui
2012-10-30 16:48     ` [PATCH V3 3/5] Thermal: Remove the cooling_cpufreq_list hongbo.zhang
2012-11-07  6:54       ` Zhang Rui
2012-11-09 11:54         ` Hongbo Zhang
2012-10-30 16:49     ` [PATCH V3 4/5] Thermal: Add ST-Ericsson DB8500 thermal driver hongbo.zhang
2012-10-31  2:33       ` Viresh Kumar
2012-11-01 14:48       ` Francesco Lavra
     [not found]       ` <744357E9AAD1214791ACBA4B0B90926324F81A@SHSMSX101.ccr.corp.intel.com>
2012-11-06 10:17         ` Hongbo Zhang
2012-11-06 10:30           ` Hongbo Zhang
2012-10-30 16:49     ` [PATCH V3 5/5] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data hongbo.zhang
2012-10-31  2:18       ` viresh kumar
2012-11-06  7:25         ` Hongbo Zhang
2012-10-31  2:08     ` [PATCH V3 0/5] Fix thermal bugs and Upstream ST-Ericsson thermal driver viresh kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).