From: hongbo.zhang hongbo.zh...@linaro.com
V2-V3 Changes:
1. Moved the previous [PATCH V2 2/6] Thermal: make sure cpufreq cooling
register after cpufreq driver from generic cpu cooling layer to ST-Ericsson
driver, thus only 5 patches in total in V3 patch set.
2. Update ST-Ericsson thermal
From: hongbo.zhang hongbo.zh...@linaro.com
The curly bracket should be aligned with corresponding if else statements.
Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com
Reviewed-by: Viresh Kumar viresh.ku...@linaro.org
---
drivers/thermal/cpu_cooling.c | 2 +-
1 file changed, 1 insertion(+), 1
From: hongbo.zhang hongbo.zh...@linaro.com
In the while loop for counting cpu frequencies, if table[i].frequency equals
CPUFREQ_ENTRY_INVALID, index i won't be increased, so this leads to an endless
loop, what's more the index i cannot be referred as cpu frequencies number
From: hongbo.zhang hongbo.zh...@linaro.com
This diver 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
From: hongbo.zhang hongbo.zh...@linaro.com
This patch adds device tree properties for ST-Ericsson DB8500 thermal driver,
also adds the platform data to support the old fashion.
Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com
---
arch/arm/boot/dts/dbx5x0.dtsi | 14 +
arch/arm
From: hongbo.zhang hongbo.zh...@linaro.com
Problem of using this list is that the cpufreq_get_max_state callback will be
called when register cooling device by thermal_cooling_device_register, but
this list isn't ready at this moment. What's more, there is no need to maintain
such a list, we can
From: "hongbo.zhang"
Problem of using this list is that the cpufreq_get_max_state callback will be
called when register cooling device by thermal_cooling_device_register, but
this list isn't ready at this moment. What's more, there is no need to maintain
such a list,
From: hongbo.zhang hongbo.zh...@linaro.com
Problem of using this list is that the cpufreq_get_max_state callback will be
called when register cooling device by thermal_cooling_device_register, but
this list isn't ready at this moment. What's more, there is no need to maintain
such a list, we can
From: "hongbo.zhang"
This patch adds device tree properties for ST-Ericsson DB8500 thermal driver,
also adds the platform data to support the old fashion.
Signed-off-by: hongbo.zhang
---
arch/arm/boot/dts/dbx5x0.dtsi | 14 +
arch/arm/boot/dts/snowball.dt
From: "hongbo.zhang"
This patch adds device tree properties for ST-Ericsson DB8500 thermal driver,
also adds the platform data to support the old fashion.
Signed-off-by: hongbo.zhang
---
arch/arm/boot/dts/dbx5x0.dtsi | 14 +
arch/arm/boot/dts/snowball.dt
From: "hongbo.zhang"
This diver 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 oth
From: hongbo.zhang hongbo.zh...@linaro.com
This diver 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
From: hongbo.zhang hongbo.zh...@linaro.com
This patch adds device tree properties for ST-Ericsson DB8500 thermal driver,
also adds the platform data to support the old fashion.
Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com
---
arch/arm/boot/dts/dbx5x0.dtsi | 14 +
arch/arm
From: hongbo.zhang hongbo.zh...@linaro.com
This patch adds device tree properties for ST-Ericsson DB8500 thermal driver,
also adds the platform data to support the old fashion.
Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com
---
arch/arm/boot/dts/dbx5x0.dtsi | 14 +
arch/arm
From: "hongbo.zhang"
In the while loop for counting cpu frequencies, if table[i].frequency equals
CPUFREQ_ENTRY_INVALID, index i won't be increased, so this leads to an endless
loop, what's more the index i cannot be referred as cpu frequencies number if
there is CPUFREQ_ENTRY_IN
From: "hongbo.zhang"
This patch adds device tree properties for ST-Ericsson DB8500 thermal driver,
also adds the platform data to support the old fashion.
Signed-off-by: hongbo.zhang
---
.../devicetree/bindings/thermal/db8500-thermal.txt | 40 ++
arch/arm/boot/dts/d
From: "hongbo.zhang"
This diver 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 oth
From: "hongbo.zhang"
Problem of using this list is that the cpufreq_get_max_state callback will be
called when register cooling device by thermal_cooling_device_register, but
this list isn't ready at this moment. What's more, there is no need to maintain
such a list,
From: "hongbo.zhang"
The cpufreq works as a cooling device, so the cooling layer should check if the
cpufreq driver is initialized or not.
Signed-off-by: hongbo.zhang
---
drivers/thermal/cpu_cooling.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/thermal/cpu_c
From: "hongbo.zhang"
The curly bracket should be aligned with corresponding if else statements.
Signed-off-by: hongbo.zhang
Reviewed-by: Viresh Kumar
---
drivers/thermal/cpu_cooling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/cpu_cooling.c
From: "hongbo.zhang"
V1->V2 Changes:
DB8500 thermal dirver: Accept comments from Francesco Lavra and Viresh Kumar,
and split platform and driver parts into separate patches.
Thermal layer: Cancel the patch for deferring bind due to new patch for generic
cpu cooling layer to f
From: hongbo.zhang hongbo.zh...@linaro.com
V1-V2 Changes:
DB8500 thermal dirver: Accept comments from Francesco Lavra and Viresh Kumar,
and split platform and driver parts into separate patches.
Thermal layer: Cancel the patch for deferring bind due to new patch for generic
cpu cooling layer
From: hongbo.zhang hongbo.zh...@linaro.com
The curly bracket should be aligned with corresponding if else statements.
Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com
Reviewed-by: Viresh Kumar viresh.ku...@linaro.org
---
drivers/thermal/cpu_cooling.c | 2 +-
1 file changed, 1 insertion(+), 1
From: hongbo.zhang hongbo.zh...@linaro.com
The cpufreq works as a cooling device, so the cooling layer should check if the
cpufreq driver is initialized or not.
Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com
---
drivers/thermal/cpu_cooling.c | 4
1 file changed, 4 insertions(+)
diff
From: hongbo.zhang hongbo.zh...@linaro.com
Problem of using this list is that the cpufreq_get_max_state callback will be
called when register cooling device by thermal_cooling_device_register, but
this list isn't ready at this moment. What's more, there is no need to maintain
such a list, we can
From: hongbo.zhang hongbo.zh...@linaro.com
This diver 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
From: hongbo.zhang hongbo.zh...@linaro.com
This patch adds device tree properties for ST-Ericsson DB8500 thermal driver,
also adds the platform data to support the old fashion.
Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com
---
.../devicetree/bindings/thermal/db8500-thermal.txt | 40
From: hongbo.zhang hongbo.zh...@linaro.com
In the while loop for counting cpu frequencies, if table[i].frequency equals
CPUFREQ_ENTRY_INVALID, index i won't be increased, so this leads to an endless
loop, what's more the index i cannot be referred as cpu frequencies number
From: "hongbo.zhang"
This diver 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 oth
From: "hongbo.zhang"
The cpufreq works as a cooling device, so the cooling layer should
check and wait until the cpufreq driver is initialized.
Signed-off-by: hongbo.zhang
---
drivers/thermal/cpu_cooling.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
From: "hongbo.zhang"
Is is not reliable to check the list entry pointer after
list_for_each_entry loop, list_empty should be used instead.
Signed-off-by: hongbo.zhang
---
drivers/thermal/cpu_cooling.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drive
From: "hongbo.zhang"
Signed-off-by: hongbo.zhang
---
drivers/thermal/cpu_cooling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index cc1c930..b6b4c2a 100644
--- a/drivers/thermal/cpu_cooling.c
+++
From: "hongbo.zhang"
In the previous bind function, cdev->get_max_state(cdev, _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_s
From: "hongbo.zhang"
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 th
From: hongbo.zhang hongbo.zh...@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
From: hongbo.zhang hongbo.zh...@linaro.com
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
From: hongbo.zhang hongbo.zh...@linaro.com
Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com
---
drivers/thermal/cpu_cooling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index cc1c930..b6b4c2a 100644
From: hongbo.zhang hongbo.zh...@linaro.com
Is is not reliable to check the list entry pointer after
list_for_each_entry loop, list_empty should be used instead.
Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com
---
drivers/thermal/cpu_cooling.c | 5 +++--
1 file changed, 3 insertions(+), 2
From: hongbo.zhang hongbo.zh...@linaro.com
The cpufreq works as a cooling device, so the cooling layer should
check and wait until the cpufreq driver is initialized.
Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com
---
drivers/thermal/cpu_cooling.c | 12 +++-
1 file changed, 11
From: hongbo.zhang hongbo.zh...@linaro.com
This diver 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
201 - 240 of 240 matches
Mail list logo