[powerdebug 02/22] make all pm block own their display data

2011-06-15 Thread Daniel Lezcano
That allows to keep track of the different selections from the different windows. Signed-off-by: Daniel Lezcano --- clocks.c | 20 ++-- display.c| 96 -- powerdebug.c |4 +- powerdebug.h | 18 +- 4 files

[powerdebug 08/22] Encapsulate the display (1)

2011-06-15 Thread Daniel Lezcano
Remove some corner cases for the footer display we have the same display feature for all the pm blocks. Signed-off-by: Daniel Lezcano --- display.c| 104 +++-- display.h|2 +- powerdebug.c |9 ++--- powerdebug.h | 20

[powerdebug 14/22] Encapsulate the display (7)

2011-06-15 Thread Daniel Lezcano
Signed-off-by: Daniel Lezcano --- display.c | 36 ++-- display.h | 15 +++ 2 files changed, 41 insertions(+), 10 deletions(-) diff --git a/display.c b/display.c index d55d748..92fc02a 100644 --- a/display.c +++ b/display.c @@ -218,6 +218,22 @@ int

[powerdebug 21/22] remove unselect line

2011-06-15 Thread Daniel Lezcano
Signed-off-by: Daniel Lezcano --- display.c | 16 +--- 1 files changed, 1 insertions(+), 15 deletions(-) diff --git a/display.c b/display.c index 5fd14c7..1ba71e5 100644 --- a/display.c +++ b/display.c @@ -269,27 +269,15 @@ int display_refresh_pad(int win

[powerdebug 15/22] Encapsulate the display (8)

2011-06-15 Thread Daniel Lezcano
We don't have anymore a specific case for each pm block as we use some ops now. Signed-off-by: Daniel Lezcano --- powerdebug.c | 12 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/powerdebug.c b/powerdebug.c index 5ff675d..28b23b4 100644 --- a/powerdebug.c

[powerdebug 12/22] Remove unused variables

2011-06-15 Thread Daniel Lezcano
Signed-off-by: Daniel Lezcano --- powerdebug.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/powerdebug.c b/powerdebug.c index 5109c90..5ff675d 100644 --- a/powerdebug.c +++ b/powerdebug.c @@ -192,9 +192,6 @@ int keystroke_callback(bool *enter_hit, struct

[powerdebug 03/22] Rewrite the regulator code based on the tree

2011-06-15 Thread Daniel Lezcano
Make the code consistent with the clocks and use the tree to build the regulators. Signed-off-by: Daniel Lezcano --- display.c| 50 ++ powerdebug.c | 50 + powerdebug.h |4 +- regulator.c | 322 ++ regulator.h

[powerdebug 16/22] Encapsulate the display (9)

2011-06-15 Thread Daniel Lezcano
Remove unused parameter for the keystroke callback. Signed-off-by: Daniel Lezcano --- powerdebug.c | 28 ++-- 1 files changed, 10 insertions(+), 18 deletions(-) diff --git a/powerdebug.c b/powerdebug.c index 28b23b4..fccc08b 100644 --- a/powerdebug.c +++ b

[powerdebug 05/22] assign a pad for each window

2011-06-15 Thread Daniel Lezcano
Create a pad for each pm blocks, so we can use the same code to scroll the values on the display. Signed-off-by: Daniel Lezcano --- display.c | 141 ++--- 1 files changed, 41 insertions(+), 100 deletions(-) diff --git a/display.c b

[PATCH 1/6] Change options to flag approach.

2016-02-19 Thread Daniel Lezcano
From: Daniel Lezcano That has the benefit to simplify the code. Signed-off-by: Daniel Lezcano --- powerdebug.c | 65 +++- 1 file changed, 34 insertions(+), 31 deletions(-) diff --git a/powerdebug.c b/powerdebug.c index 6cf3a1b..555beea

[PATCH 3/6] Prevent to init a subsystem if it is not selected.

2016-02-19 Thread Daniel Lezcano
Signed-off-by: Daniel Lezcano --- powerdebug.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/powerdebug.c b/powerdebug.c index 555beea..bc8fc92 100644 --- a/powerdebug.c +++ b/powerdebug.c @@ -208,13 +208,12 @@ static struct powerdebug_options *powerdebug_init

[PATCH 2/6] Fix compilation warnings.

2016-02-19 Thread Daniel Lezcano
Signed-off-by: Daniel Lezcano --- display.c | 7 ++- gpio.c| 11 ++- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/display.c b/display.c index ee9..1114366 100644 --- a/display.c +++ b/display.c @@ -198,13 +198,13 @@ static int display_prev_panel(void

[PATCH 4/6] Fix license. Linaro switched years ago to GPL.

2016-02-19 Thread Daniel Lezcano
Signed-off-by: Daniel Lezcano --- LICENSE | 567 --- clocks.c | 28 +-- clocks.h | 28 +-- display.c| 28 +-- display.h| 28 +-- gpio.c | 28 +-- gpio.h | 28 +-- mainloop.c | 26 +-- mainloop.h

[PATCH 5/6] Consolidate the headers into a single one.

2016-02-19 Thread Daniel Lezcano
Signed-off-by: Daniel Lezcano --- clocks.c | 1 - clocks.h | 23 --- display.c| 1 - gpio.h | 23 --- powerdebug.c | 11 --- powerdebug.h | 19 +++ regulator.c | 3 --- regulator.h | 23

[PATCH 6/6] Pass options to init functions.

2016-02-19 Thread Daniel Lezcano
Signed-off-by: Daniel Lezcano --- clocks.c | 5 - gpio.c | 5 - powerdebug.c | 19 --- powerdebug.h | 20 regulator.c | 5 - sensor.c | 5 - 6 files changed, 36 insertions(+), 23 deletions(-) diff --git a/clocks.c b

Re: [PATCH 1/6] Change options to flag approach.

2016-02-22 Thread Daniel Lezcano
On 02/22/2016 04:19 PM, David Brown wrote: On Fri, Feb 19, 2016 at 02:32:40PM +, Daniel Lezcano wrote: From: Daniel Lezcano Did you mean to have these patches authored by your @free.fr address, but sent from Linaro? Yes, it is just one of them. Subject: Re: [PATCH 1/6] Change

Re: [PATCH PM-QA] Fixed array initializations to calculate freq deviation.

2016-05-09 Thread Daniel Lezcano
On 05/05/2016 12:06 PM, Saul Romero wrote: Changes in cpufreq_06.sh to calculate summatory and average of frequency measurements. Signed-off-by: Saul Romero --- Hi Saul, can you elaborate in the changelog what happens with the current and why it must be fixed. Also, a proper fix should not

Re: [PM-QA] question about cpufreq subtest

2017-08-17 Thread Daniel Lezcano
On 18/08/2017 07:43, Viresh Kumar wrote: > On 18 August 2017 at 11:11, Dai Xiang wrote: > >> In fact, i has used intel_pstate driver: >> $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver >> intel_pstate > > It may be running in *active* mode and you need to put it in *passive* mode. > >

Re: [PM-QA] question about cpufreq subtest

2017-08-17 Thread Daniel Lezcano
On 18/08/2017 08:20, Viresh Kumar wrote: > On 18 August 2017 at 11:48, Daniel Lezcano wrote: >> I don't know the passive / active mode but the path changed. >> >> /sys/devices/system/cpu/cpufreq/policy[0-9]/scaling_driver > > Naah, we wouldn't have broken use

Re: [PM-QA] question about cpufreq subtest

2017-08-18 Thread Daniel Lezcano
On 18/08/2017 08:29, Viresh Kumar wrote: > On 18 August 2017 at 11:52, Dai Xiang wrote: [ ... ] > I can see all of them fail and the reason is quite simple to see. Even > intel-pstate > doesn't provide a frequency table and so whatsoever depends on a frequency > table will fail. > > These tests

<    3   4   5   6   7   8