Re: [PATCH pmqa] pm-qa: remove sched_mc test

2013-03-24 Thread Hongbo Zhang
Sanjay, Thank you, I had patch removing this sched_mc test, sorry didn't push it into git server timely, it's done now. On 22 March 2013 21:56, Sanjay Singh Rawat wrote: > Remove the test as sched_mc is not longer supported > > Signed-off-by: Sanjay Singh Rawat > --- > Makefile

[PATCH v3 3/3] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-02-21 Thread Hongbo Zhang
same common layer abx500.c. Signed-off-by: Hongbo Zhang --- Documentation/hwmon/ab8500 | 22 ++ Documentation/hwmon/abx500 | 26 +++ drivers/hwmon/Kconfig | 13 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/ab8500.c | 178 drivers/hwmon/abx500.c | 501

[PATCH v3 0/3] Add ST-Ericsson AB8500 HWMON driver

2013-02-21 Thread Hongbo Zhang
itions - Make attibutes index starts from 0 also changes: - Since the old [1/2] "ARM: ux500: rename ab8500 to abx500 for hwmon driver" has been merged by Samuel, so won't send it again. - Add another new patch "ab8500_btemp: export two symblols" as [2/2] of th

[PATCH v3 1/3] ab8500_btemp: make get_temp interface public

2013-02-21 Thread Hongbo Zhang
Make ab8500_btemp_get_temp() public, so that ab8500 hwmon driver can use it. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_btemp.c | 2 +- include/linux/mfd/abx500/ab8500-bm.h | 5 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/power/ab8500_btemp.c b

[PATCH v3 2/3] ab8500: make res_to_temp tables public

2013-02-21 Thread Hongbo Zhang
These NTC resistance to temperature tables should be public, so others such as ab8500 hwmon driver can look up these tables to convert NTC resistance to temperature. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff

Re: [PATCH v2 2/2] ab8500_btemp: export two symblols

2013-02-07 Thread Hongbo Zhang
Anton and David, Sorry there is a typo, symblols should be symbols, what's more I will send v3 of this patch set, there should be more lines changed in this ab8500_btemp.c, so let's focus on the coming v3 iteration. Thanks. On 6 February 2013 19:10, Hongbo Zhang wrote: > Export ab8

Re: [PATCH v2 1/2] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-02-07 Thread Hongbo Zhang
On 7 February 2013 01:54, Guenter Roeck wrote: > On Wed, Feb 06, 2013 at 07:10:38PM +0800, Hongbo Zhang wrote: >> Each of ST-Ericsson X500 chip set series consists of both ABX500 and DBX500 >> chips. This is ABX500 hwmon driver, where the abx500.c is a common layer for >>

[PATCH v2 1/2] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-02-06 Thread Hongbo Zhang
same common layer abx500.c. Signed-off-by: Hongbo Zhang --- Documentation/hwmon/ab8500 | 22 ++ Documentation/hwmon/abx500 | 26 +++ drivers/hwmon/Kconfig | 13 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/ab8500.c | 163 ++ drivers/hwmon/abx500.c | 544

[PATCH v2 0/2] Add ST-Ericsson AB8500 HWMON driver

2013-02-06 Thread Hongbo Zhang
mp: export two symblols" as [2/2] of this patch set. Hongbo Zhang (2): hwmon: add ST-Ericsson ABX500 hwmon driver ab8500_btemp: export two symblols Documentation/hwmon/ab8500 | 22 ++ Documentation/hwmon/abx500 | 26 +++ drivers/hwmon/Kconfig| 13 ++ drivers/hwmon/Mak

[PATCH v2 2/2] ab8500_btemp: export two symblols

2013-02-06 Thread Hongbo Zhang
Export ab8500_btemp_get and ab8500_btemp_get_batctrl_temp, thus the ab8500 hwmon driver can be compiled as module. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_btemp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/power/ab8500_btemp.c b/drivers/power/ab8500_btemp.c index

[PATCH 3/3] pm-qa: shced_mc: remove the obsolete sched_mc test

2013-02-05 Thread Hongbo Zhang
The sched_mc test is obsolete now and should be removed, if you still want to use this test for some reason, use tag pm-qa-0.4.0 or earlier. Signed-off-by: Hongbo Zhang --- Makefile | 2 -- sched_mc/Android.mk | 18 sched_mc/Makefile | 25

[PATCH 1/3] pm-qa: collecting seperated test switches into one central file.

2013-02-05 Thread Hongbo Zhang
It is inconvenient for user to edit these seperated switches, so move them into one central file. Signed-off-by: Hongbo Zhang --- Switches | 11 +++ include/functions.sh | 2 ++ suspend/suspend_01.sh | 5 + suspend/suspend_02.sh | 5 + suspend/suspend_03.sh | 5

[PATCH 2/3] pm-qa: thermal: let tests return if heater program cannot be launched

2013-02-05 Thread Hongbo Zhang
If the heater program for heating CPU cannot be launched for some reason, the tests should return right now, it is wasting time to execute all the rest parts without heater program. Signed-off-by: Hongbo Zhang --- thermal/thermal_03.sh | 1 + thermal/thermal_04.sh | 1 + thermal/thermal_06.sh

Re: [PATCH 2/2] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-01-31 Thread Hongbo Zhang
Guenter, Thank you so much for all the comments, will re-send a v2 iteration soon. On 31 January 2013 02:37, Guenter Roeck wrote: > On Wed, Jan 30, 2013 at 06:21:28PM +0800, Hongbo Zhang wrote: >> Each of ST-Ericsson X500 chip set series consists of both ABX500 and DBX500 >>

Re: [PATCH 1/2] ARM: ux500: rename ab8500 to abx500 for hwmon driver

2013-01-31 Thread Hongbo Zhang
On 30 January 2013 23:45, Samuel Ortiz wrote: > Hi Hongbo, > > On Wed, Jan 30, 2013 at 06:21:27PM +0800, Hongbo Zhang wrote: >> We are using a generic abx500 hwmon layer, so rename specific ab8500 to >> generic >> abx500 for hwmon device and driver matching. >&g

[PATCH 2/2] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-01-30 Thread Hongbo Zhang
same common layer abx500.c. Signed-off-by: Hongbo Zhang --- drivers/hwmon/Kconfig | 13 + drivers/hwmon/Makefile | 1 + drivers/hwmon/ab8500.c | 160 drivers/hwmon/abx500.c | 681 + drivers/hwmon/abx500.h | 88 +++ 5 files

[PATCH 1/2] ARM: ux500: rename ab8500 to abx500 for hwmon driver

2013-01-30 Thread Hongbo Zhang
We are using a generic abx500 hwmon layer, so rename specific ab8500 to generic abx500 for hwmon device and driver matching. Signed-off-by: Hongbo Zhang --- drivers/mfd/ab8500-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/ab8500-core.c b/drivers

[PATCH 0/2] Add ST-Ericsson AB8500 HWMON driver

2013-01-30 Thread Hongbo Zhang
These patches are against the v3.8-rc4. Guenter Roeck, Jean Delvare, Please help to have a look at this. Samuel Ortiz, Please review 1/2 and leave your Acked-by: if no problem, I think these patches should be merged into HWMON tree. Thanks for all. Hongbo Zhang (2): ARM: ux500: rename ab8500

Re: [PATCH] ARM: ux500: rename ab8500 to abx500 for hwmon driver

2013-01-30 Thread Hongbo Zhang
On 30 January 2013 17:45, Linus Walleij wrote: > On Wed, Jan 30, 2013 at 8:42 AM, Hongbo Zhang wrote: > >> We are using a generic abx500 hwmon layer, so rename specific ab8500 to >> generic >> abx500 for hwmon device and driver matching. >> >> Signed-off-by

[PATCH] ARM: ux500: enable ux500 EXT4_FS and LBDAF support by default

2013-01-30 Thread Hongbo Zhang
EXT4 file system and LBDAF are used commonly, should be enabled by default. Signed-off-by: Hongbo Zhang --- arch/arm/configs/u8500_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig index 231dca6

[PATCH] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-01-29 Thread Hongbo Zhang
same common layer abx500.c. Signed-off-by: Hongbo Zhang --- drivers/hwmon/Kconfig | 13 + drivers/hwmon/Makefile | 1 + drivers/hwmon/ab8500.c | 160 drivers/hwmon/abx500.c | 681 + drivers/hwmon/abx500.h | 88 +++ 5 files

[PATCH] ARM: ux500: rename ab8500 to abx500 for hwmon driver

2013-01-29 Thread Hongbo Zhang
We are using a generic abx500 hwmon layer, so rename specific ab8500 to generic abx500 for hwmon device and driver matching. Signed-off-by: Hongbo Zhang --- drivers/mfd/ab8500-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/ab8500-core.c b/drivers

Re: [PM-QA PATCH 5/8] thermal: add switch for thermal_06.sh

2013-01-28 Thread Hongbo Zhang
On 28 January 2013 18:16, Amit Kucheria wrote: > On Mon, Jan 28, 2013 at 11:38 AM, Hongbo Zhang > wrote: >> This script aims at testing all the trip points are crossed or not, since the >> trip points are usually very high and can be reached only in extreme >>

[PM-QA PATCH 8/8] Version 0.4.0

2013-01-27 Thread Hongbo Zhang
Signed-off-by: Hongbo Zhang --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index d15723f..1d0ba9e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.2 +0.4.0 -- 1.8.0 ___ linaro-dev mailing list

[PM-QA PATCH 5/8] thermal: add switch for thermal_06.sh

2013-01-27 Thread Hongbo Zhang
reported and this will introduce a mess. Add this switch to switch off this test by default, anyone who wants to do this test still can enable it manually. Signed-off-by: Hongbo Zhang --- thermal/thermal_06.sh | 7 +++ 1 file changed, 7 insertions(+) diff --git a/thermal/thermal_06.sh b/thermal

[PM-QA PATCH 7/8] pm-qa: enable thermal test scipts.

2013-01-27 Thread Hongbo Zhang
Signed-off-by: Hongbo Zhang --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1e73608..fa979e0 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ check: @(cd cpuidle; $(MAKE) check) @(cd sched_mc; $(MAKE) check

[PM-QA PATCH 6/8] thermal: enable launching glmark2 in Android

2013-01-27 Thread Hongbo Zhang
Enable launching glmark2 in Android to heat GPU as one of thermal tests. Signed-off-by: Hongbo Zhang --- include/thermal_functions.sh | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/thermal_functions.sh b/include/thermal_functions.sh index df7adfe..8a4d627 100644 --- a

[PM-QA PATCH 0/8] PM-QA commits recently

2013-01-27 Thread Hongbo Zhang
Hi all, These are my PM-QA commits recently, send them out FYI. Hongbo Zhang (8): thermal: kill heater program if test is terminated by signal thermal: don't check launch of the glmark2 if it isn't there thermal: remove unnecessary variable TRIP_CROSSED_COUNT thermal: C

[PM-QA PATCH 1/8] thermal: kill heater program if test is terminated by signal

2013-01-27 Thread Hongbo Zhang
if the thermal test is terminated by signals such as an Ctrl+C operation, the heat_cpu and also glmark(if there is any) should be terminated too. Signed-off-by: Hongbo Zhang --- thermal/thermal_03.sh | 22 ++ thermal/thermal_04.sh | 11 ++- thermal/thermal_06.sh | 22

[PM-QA PATCH 2/8] thermal: don't check launch of the glmark2 if it isn't there

2013-01-27 Thread Hongbo Zhang
if the glmark2 as a heater isn't there, don't report a launch failure. Signed-off-by: Hongbo Zhang --- thermal/thermal_03.sh | 2 +- thermal/thermal_06.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/thermal/thermal_03.sh b/thermal/thermal_03.sh index 579032

[PM-QA PATCH 4/8] thermal: Consolidate launching glmark2 as GPU heater

2013-01-27 Thread Hongbo Zhang
Currently the glmark2 is used to heat GPU for thermal test, this patch consolidates launching glmark2 from serial console. The glmark2 heater is optional now, which means no apparent fail will be reported if there is no glmark2 or it cannot be launched. Signed-off-by: Hongbo Zhang --- include

[PM-QA PATCH 3/8] thermal: remove unnecessary variable TRIP_CROSSED_COUNT

2013-01-27 Thread Hongbo Zhang
variable TRIP_CROSSED_COUNT is never used, should be removed. Signed-off-by: Hongbo Zhang --- thermal/thermal_06.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/thermal/thermal_06.sh b/thermal/thermal_06.sh index fcb6c0a..95eda91 100755 --- a/thermal/thermal_06.sh +++ b/thermal/thermal_06

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

2012-11-15 Thread Hongbo Zhang
On 15 November 2012 18:17, Viresh Kumar wrote: > On 15 November 2012 14:53, Hongbo Zhang wrote: >> this is a driver for ST-Ericsson u8500 board(Snowball), with a ARM core >> inside. >> so you should compile like this: >> make ARCH=arm CROSS_COMPILE=arm-linux-gnuea

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

2012-11-15 Thread Hongbo Zhang
-11-15 at 16:32 +0800, Hongbo Zhang wrote: >> On 15 November 2012 16:13, Zhang Rui wrote: >> > On Fri, 2012-11-09 at 19:29 +0800, hongbo.zhang wrote: >> >> From: "hongbo.zhang" >> >> >> >> This driver is based on the thermal management f

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

2012-11-15 Thread Hongbo Zhang
On 15 November 2012 16:13, Zhang Rui wrote: > On Fri, 2012-11-09 at 19:29 +0800, hongbo.zhang wrote: >> From: "hongbo.zhang" >> >> 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

Re: [PATCH V5 2/2] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-11-14 Thread Hongbo Zhang
On 13 November 2012 04:46, Linus Walleij wrote: > On Mon, Nov 12, 2012 at 7:07 AM, Zhang Rui wrote: >> On Fri, 2012-11-09 at 19:29 +0800, hongbo.zhang wrote: >>> From: "hongbo.zhang" >>> >>> This patch adds device tree properties for ST-Ericsson DB8500 thermal >>> driver, >>> also adds the plat

Re: [PATCH V3 3/5] Thermal: Remove the cooling_cpufreq_list.

2012-11-09 Thread Hongbo Zhang
On 7 November 2012 14:54, Zhang Rui wrote: > On Tue, 2012-10-30 at 17:48 +0100, hongbo.zhang wrote: >> 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 li

Re: [PATCH V5 0/2] Upstream ST-Ericsson thermal driver

2012-11-09 Thread Hongbo Zhang
Hi Rui Zhang, Please have a look at this patch set. Since the previous 1/5, 2/5, 3/5 have been accepted, I'd like to send these last two updated patches with Reviewed-by added in this new thread. Thanks. On 9 November 2012 19:29, hongbo.zhang wrote: > From: "hongbo.zhang" > > V4->V5 Changes: >

Re: [PATCH V3 4/5] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-06 Thread Hongbo Zhang
On 6 November 2012 18:17, Hongbo Zhang wrote: > On 1 November 2012 09:52, Zhang, Rui wrote: >> >> >>> -Original Message- >>> From: hongbo.zhang [mailto:hongbo.zh...@linaro.org] >>> Sent: Wednesday, October 31, 2012 12:49 AM >

Re: [PATCH V3 4/5] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-06 Thread Hongbo Zhang
eq cooling device turns active to set CPU frequency >> low to >> + cool down the CPU. >> + >> config SPEAR_THERMAL >> bool "SPEAr thermal sensor driver" >> depends on THERMAL >> diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index >> 88555

Re: [PATCH V3 5/5] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-11-05 Thread Hongbo Zhang
On 31 October 2012 10:18, viresh kumar wrote: > On Tue, Oct 30, 2012 at 10:19 PM, hongbo.zhang > wrote: >> From: "hongbo.zhang" > > Just a minor comment below. > >> This patch adds device tree properties for ST-Ericsson DB8500 thermal driver, >> also adds the platform data to support the old fa

Re: [PATCH V2 2/6] Thermal: make sure cpufreq cooling register after cpufreq driver

2012-10-30 Thread Hongbo Zhang
On 29 October 2012 12:42, Amit Kachhap wrote: > On 24 October 2012 17:28, hongbo.zhang wrote: >> 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 >> --- >> d

Re: [PATCH V2 4/6] Thermal: Remove the cooling_cpufreq_list.

2012-10-30 Thread Hongbo Zhang
On 30 October 2012 09:03, Amit Kachhap wrote: > On 26 October 2012 12:39, hongbo.zhang wrote: >> 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 is

Re: [PATCH V2 4/6] Thermal: Remove the cooling_cpufreq_list

2012-10-25 Thread Hongbo Zhang
On 26 October 2012 03:14, Francesco Lavra wrote: > Hi, > Hongbo Zhang wrote: >> 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 th

Re: [PATCH V2 5/6] Thermal: Add ST-Ericsson DB8500 thermal dirver.

2012-10-25 Thread Hongbo Zhang
On 25 October 2012 18:11, Viresh Kumar wrote: > On 25 October 2012 15:34, Viresh Kumar wrote: >> On 25 October 2012 15:26, Hongbo Zhang wrote: > > This is what your prcmu driver's routines are doing: > > int db8500_prcmu_config_hotmon(u8 low, u8 high) > { > .

Re: [PATCH V2 5/6] Thermal: Add ST-Ericsson DB8500 thermal dirver.

2012-10-25 Thread Hongbo Zhang
On 25 October 2012 17:42, Viresh Kumar wrote: > On 25 October 2012 15:03, Hongbo Zhang wrote: >> On 25 October 2012 16:41, Viresh Kumar wrote: > >> Just paste my current pieces of codes here: >> >> static struct db8500_thsens_platform_data* >>

Re: [PATCH V2 5/6] Thermal: Add ST-Ericsson DB8500 thermal dirver.

2012-10-25 Thread Hongbo Zhang
On 25 October 2012 17:33, Hongbo Zhang wrote: > On 25 October 2012 16:41, Viresh Kumar wrote: >> On 25 October 2012 13:56, Hongbo Zhang wrote: >> >> While replying to mails, don't remove lines like above. They help >> identifying who >> wrote what.

Re: [PATCH V2 5/6] Thermal: Add ST-Ericsson DB8500 thermal dirver.

2012-10-25 Thread Hongbo Zhang
On 25 October 2012 16:41, Viresh Kumar wrote: > On 25 October 2012 13:56, Hongbo Zhang wrote: > > While replying to mails, don't remove lines like above. They help > identifying who > wrote what. > >> [...] >>>> +/* Callback to get tempe

Re: [PATCH V2 5/6] Thermal: Add ST-Ericsson DB8500 thermal dirver.

2012-10-25 Thread Hongbo Zhang
[...] >> +/* Callback to get temperature changing trend */ >> +static int db8500_sys_get_trend(struct thermal_zone_device *thermal, >> + int trip, enum thermal_trend *trend) >> +{ >> + struct db8500_thermal_zone *pzone = thermal->devdata; >> + >> + *trend = pzone->

Re: [PATCH V2 6/6] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-10-24 Thread Hongbo Zhang
[...] >> /* >> + * Thermal Sensor >> + */ >> + >> +static struct resource db8500_thsens_resources[] = { >> + { >> + .name = "IRQ_HOTMON_LOW", >> + .start = IRQ_PRCMU_HOTMON_LOW, >> + .end= IRQ_PRCMU_HOTMON_LOW, >> + .flags = IORES

Re: [PATCH V2 6/6] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-10-24 Thread Hongbo Zhang
On 24 October 2012 22:32, Joe Perches wrote: > On Wed, 2012-10-24 at 19:58 +0800, hongbo.zhang wrote: >> This patch adds device tree properties for ST-Ericsson DB8500 thermal driver, >> also adds the platform data to support the old fashion. > > Just a trivial note: > >> diff --git a/arch/arm/mach

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

2012-10-23 Thread Hongbo Zhang
On 23 October 2012 02:51, Francesco Lavra wrote: > On 10/22/2012 02:02 PM, Hongbo Zhang wrote: > [...] >>>> +static irqreturn_t prcmu_low_irq_handler(int irq, void *irq_data) >>>> +{ >>>> + struct db8500_thermal_zone *pzone = irq_data; >>>

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

2012-10-23 Thread Hongbo Zhang
On 24 October 2012 06:13, Francesco Lavra wrote: > Hi, > On 10/23/2012 10:23 AM, Hongbo Zhang wrote: >> Hi Francesco, >> I found out more points about this issue. >> >> [1] >> cdev should be ready when get_max_state callback be called, otherwise >> param

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

2012-10-23 Thread Hongbo Zhang
Hi Francesco, I found out more points about this issue. [1] cdev should be ready when get_max_state callback be called, otherwise parameter cdev is useless, imagine there may be cases that get_max_state call back is shared by more than one cooling devices of same kind, like this: common_get_max_st

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

2012-10-22 Thread Hongbo Zhang
l/db8500_cpufreq_cooling.c >> new file mode 100644 >> index 000..bb065d4 >> --- /dev/null >> +++ b/drivers/thermal/db8500_cpufreq_cooling.c >> @@ -0,0 +1,118 @@ >> +/* >> + * db8500_cpufreq_cooling.c - db8500 cpufreq works as cooling device. >> + * &g

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

2012-10-18 Thread Hongbo Zhang
On 18 October 2012 16:07, Viresh Kumar wrote: > On 18 October 2012 13:05, Hongbo Zhang wrote: >> On 17 October 2012 23:23, Viresh Kumar wrote: >>> On 16 October 2012 17:14, hongbo.zhang wrote: > >>>> +static struct db8500_trip_point db8500_

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

2012-10-18 Thread Hongbo Zhang
that the cooling device can be added or removed dynamically, cooling device and thermal zone device are separated, they will be bound when match. it does depend on CPU_THERMAL. in another patch from Amit, CPU_THERMAL depends on THERMAL && CPU_FREQ > >> + default y >> +

Re: [PATCH 0/2] Thermal patches to deactive cooling devices when needed

2012-09-21 Thread Hongbo Zhang
On 21 September 2012 16:02, Zhang Rui wrote: > On 五, 2012-09-21 at 15:50 +0800, Hongbo Zhang wrote: >> On 21 September 2012 15:21, Zhang Rui wrote: >> > On 五, 2012-09-21 at 14:57 +0800, zhanghongbo wrote: >> >> From: "hongbo.zhang" >>

Re: [PATCH 0/2] Thermal patches to deactive cooling devices when needed

2012-09-21 Thread Hongbo Zhang
On 21 September 2012 15:21, Zhang Rui wrote: > On 五, 2012-09-21 at 14:57 +0800, zhanghongbo wrote: >> From: "hongbo.zhang" >> >> This patch set contains two patches. >> >> [PATCH 1/2] >> A new interface is introduced to deactive all the referenced cooling devices >> when thermal zone is disabled.

Re: Using ARM Energy probe and PandaBoard

2012-09-14 Thread Hongbo Zhang
On 20 July 2012 02:44, Paul Larson wrote: > > > On Thu, Jul 19, 2012 at 5:04 AM, Pawel Moll wrote: > >> On Wed, 2012-07-18 at 17:01 -0300, Christian Robottom Reis wrote: >> > On Thu, Jul 12, 2012 at 02:54:15PM -0500, Paul Larson wrote: >> > > I've been looking a bit at how to get this running un

Re: [Question] About the Gator and the Power Probe

2012-09-04 Thread Hongbo Zhang
On 4 September 2012 18:51, Jon Medhurst (Tixy) wrote: > On Tue, 2012-09-04 at 17:43 +0800, Hongbo Zhang wrote: > > > I just know there is a Linaro Overlay PPA for this gator, I didn't add > > this PPA manually, by default there is no such PPA. > > I think this is the

Re: [Question] About the Gator and the Power Probe

2012-09-04 Thread Hongbo Zhang
On 4 September 2012 15:37, Jon Medhurst (Tixy) wrote: > On Tue, 2012-09-04 at 14:50 +0800, Hongbo Zhang wrote: > > > Current status is like this: > > I found the built-in gator.ko as you told me, and built the gatord > > from the git tree successfully. (The reason I don

Re: [Question] About the Gator and the Power Probe

2012-09-03 Thread Hongbo Zhang
till no Power Probe data. Thanks, > Paul Larson > > On Fri, Aug 31, 2012 at 5:19 AM, Hongbo Zhang wrote: > >> Hi all, >> I want to set up the power probe only without any other streamline >> functions, can I make it? >> It seems that the IP Address in the Capture O

Re: [Question] About the Gator and the Power Probe

2012-09-03 Thread Hongbo Zhang
On 31 August 2012 20:45, Jon Medhurst (Tixy) wrote: > On Fri, 2012-08-31 at 18:19 +0800, Hongbo Zhang wrote: > > Hi all, > > I want to set up the power probe only without any other streamline > > functions, can I make it? > > It seems that the IP Address in the Cap

[Question] About the Gator and the Power Probe

2012-08-31 Thread Hongbo Zhang
Hi all, I want to set up the power probe only without any other streamline functions, can I make it? It seems that the IP Address in the Capture Options window must be filled, so the gator driver and daemon should be compiled then, but I have compiling error. Can I set up power probe only? If not,

Re: [PATCH 1/2] Thermal: Move struct thermal_cooling_device_instance to thermal.h

2012-08-15 Thread Hongbo Zhang
Add more people into list. On 10 August 2012 19:20, hongbo.zhang wrote: > From: "hongbo.zhang" > > A thermal driver may need to walk through the cooling devices binded to > itself, which are listed in cooling_devices of thermal_zone_device, and > this goal cannot be achieved without moving this

Re: [PATCH 0/2] ST-Ericsson dbx500 thermal driver

2012-08-15 Thread Hongbo Zhang
Hi all, Add more people into list, and add more information: 1. This driver also depends on the Amit Daniel Kachhap's generic cpu cooling driver besides the two dependencies mentioned. 2. Has been internally reviewed by Linux Walleij, Vincent, Rajagopal, Lee Jones. 3. This driver works on ST-Erics

Re: [PATCH v4 4/5] thermal: exynos: Register the tmu sensor with the kernel thermal layer

2012-08-10 Thread Hongbo Zhang
On 12 May 2012 17:40, Amit Daniel Kachhap wrote: > This code added creates a link between temperature sensors, linux thermal > framework and cooling devices for samsung exynos platform. This layer > monitors the temperature from the sensor and informs the generic thermal > layer to take the neces

Re: [PATCH 2/2] ST-Ericsson db8500 thermal dirver

2012-07-20 Thread Hongbo Zhang
Linus, Thanks for your suggestion, I will follow this when I back to work next Monday. On 15 July 2012 05:47, Linus Walleij wrote: > On Fri, Jul 13, 2012 at 9:51 AM, hongbo.zhang > wrote: > > > From: "hongbo.zhang" > > > > > > Signed-off-by: hongbo.zhang > > A zero-line commit message for a

Re: [PATCH] pm-qa : Fix global variable with sigatomic_t

2012-07-12 Thread Hongbo Zhang
Merged. On 12 July 2012 16:52, Daniel Lezcano wrote: > Signed-off-by: Daniel Lezcano > --- > utils/cpucycle.c |8 > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/utils/cpucycle.c b/utils/cpucycle.c > index 5ad36bc..f896815 100644 > --- a/utils/cpucycle.c > +++

Re: [PATCH 2/2] db8500 thermal dirver

2012-07-05 Thread Hongbo Zhang
On 5 July 2012 07:20, Linus Walleij wrote: > On Wed, Jun 20, 2012 at 3:04 PM, hongbo.zhang > wrote: > > > /* > > + * Thermal Sensor > > + */ > > + > > +#ifdef CONFIG_DB8500_THERMAL > > Please don't #ifdef the platform data like this, Documentation/CodingStyle > dislikes #ifdefs unless needed an

Re: Does anybody know how to make Ethernet work on Snowball?

2012-07-04 Thread Hongbo Zhang
Thanks, waiting for the patch... On 4 July 2012 15:17, Daniel Lezcano wrote: > On 07/04/2012 05:16 AM, Hongbo Zhang wrote: > > Hi all, > > I am running the Community kernel on Snowball, as far as I know, v3.4-rc3 > > Ethernet works, but later version such as v3.4-

Does anybody know how to make Ethernet work on Snowball?

2012-07-03 Thread Hongbo Zhang
Hi all, I am running the Community kernel on Snowball, as far as I know, v3.4-rc3 Ethernet works, but later version such as v3.4-rc6 and v3.5-rc*, the Ethernet doesn't work, does anybody know how to make the Ethernet work? Thanks. ___ linaro-dev mailing l

Re: [PATCH] pm-qa: run sanity check before running test cases

2012-07-02 Thread Hongbo Zhang
On 28 June 2012 00:55, Rajagopal Venkat wrote: > From: root > It seems that you did this work on the snowball. the git is not completely configed? run sanity test for each functionality if present. > If functionality enabled, then run all respective > test cases. This patch also adds sanity che

Re: [PATCH 1/2] make v3.4-rc3 run on snowball

2012-06-27 Thread Hongbo Zhang
[PATCH 1/2] make v3.4-rc3 run on snowball: this patch can be omitted. but, [PATCH 2/2] db8500 thermal dirver: any comments/suggestions are welcomed. On 20 June 2012 21:14, Hongbo Zhang wrote: > Please omit this patch, I am currently working on v3.4-rc3, I will rebase > to the latest v

Re: [PATCH] pm-qa: run sanity check before running test cases

2012-06-27 Thread Hongbo Zhang
In fact, this patten "shell_name script_file" works. for example on Android, "/bin/sh ***.sh" can run the scrips. "#!/bin/bash" at the beginning just points the default shell. On 28 June 2012 01:18, Paul Larson wrote: > > +#!/bin/bash >> > I suspect that stuff like this is going to be unfriendly

Re: [PATCH] Update for Android build system

2012-06-21 Thread Hongbo Zhang
Kejun, Checked and merged. On 18 June 2012 13:43, kejun.zhou wrote: > From: "kejun.zhou" > > Signed-off-by: kejun.zhou > --- > cpufreq/Android.mk|1 + > cpuhotplug/Android.mk |2 ++ > cpuidle/Android.mk|2 ++ > include/Android.mk|1 + > sched_mc/Android.mk |

Re: [PATCH 1/2] make v3.4-rc3 run on snowball

2012-06-20 Thread Hongbo Zhang
Please omit this patch, I am currently working on v3.4-rc3, I will rebase to the latest version soon. On 20 June 2012 21:04, hongbo.zhang wrote: > From: "hongbo.zhang" > > --- > arch/arm/configs/u8500_defconfig |2 ++ > drivers/power/Makefile |2 +- > 2 files changed, 3 inse

Re: [PATCH 2/2] Add Android.mk for pm-qa in Android system.

2012-06-06 Thread Hongbo Zhang
Hi Kejun, Checked, merged, and uploaded it. On 31 May 2012 14:49, kejun.zhou wrote: > Signed-off-by: kejun.zhou > --- > Android.mk|1 + > cpufreq/Android.mk| 17 + > cpuhotplug/Android.mk | 30 ++ > cpuidle/Android.mk|

Re: [PATCH 2/2] Add Android.mk files

2012-05-30 Thread Hongbo Zhang
Yes Kejun, good suggestion from Amit. Please let me know when you finish it, thanks. On 30 May 2012 15:22, Amit Kucheria wrote: > On Wed, May 30, 2012 at 2:47 PM, kejun.zhou wrote: > > Signed-off-by: kejun.zhou > > --- > > Android.mk|1 + > > cpufreq/Android.mk| 76 > ++

Re: PM-QA update

2012-05-11 Thread Hongbo Zhang
On 11 May 2012 15:51, Fathi Boudra wrote: > Hi Hongbo, > > On 11 May 2012 10:39, Hongbo Zhang wrote: > > Hi all, > > PM-QA is updated: > > > > 1. Removed obsolete test cases under pm-qa/tastcases > > > > 2. Thermal test scripts has been merged into,

PM-QA update

2012-05-11 Thread Hongbo Zhang
Hi all, PM-QA is updated: 1. Removed obsolete test cases under pm-qa/tastcases 2. Thermal test scripts has been merged into, but is temporarily disabled form the top 'make check', while ‘make -C thermal check’ still works for this sub-test. 3. Temporarily disabled suspend function form top 'make

Re: [PATCH][PM-QA] add cpuidle_02 and cpuidle_03 tests

2012-04-16 Thread Hongbo Zhang
Hello Daniel, I cannot apply your patch in this mail, 3 .rej files are created after applying your patch, and it is difficult to apply your patch manually. so could you tell me which version is your patch based on? did you upload your work to your own git? Thanks. On 17 April 2012 09:44, Hongbo

Re: [PATCH][PM-QA] add cpuidle_02 and cpuidle_03 tests

2012-04-16 Thread Hongbo Zhang
Daniel and Amit, I am so sorry for not response this quickly, because I am busy with the thermal driver now. Anyway I will try to test and merge this work today. On 16 April 2012 23:17, Daniel Lezcano wrote: > On 04/16/2012 02:00 PM, Amit Kucheria wrote: > >> On Mon, Apr 16, 2012 at 2:05 PM, D

suspend function has been merged into pm-qa

2012-03-23 Thread Hongbo Zhang
Hi all, The suspend test[1] had been integrated into pm-qa. Fetch the source: git clone git://git.linaro.org/tools/pm-qa.git Usage of suspend test: make -C suspend check NOTE: Tests suspend_03 and suspend 04 only make sense on Ubuntu laptop, they are currently disabled for LEBs. If you want to t