Age | Commit message (Collapse) | Author |
|
|
|
- include gpio debug module for android
- fix compliation issue and set env variables needed for android
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.com>
|
|
- added support for common clock framework
- added regulator related information
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.com>
|
|
Add information about the regulator state and status field.
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.com>
|
|
In common clock framework (merged in 3.8-rc1) the directory
and attributes are changed, adapt to the new clock entries in
debugfs.
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.com>
|
|
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/1068108 to
support common clock framework
- added regulator related information
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.com>
|
|
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
|
|
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/857382
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
* Removed sensor unit and display a raw value
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
The value exported could be in Degree or Volt. There is no way
to determine the unit used expect to refer the board semantics.
Until the kernel exports the unit associated with this value,
we can not take a decision from the userspace, the value will
be a raw value.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
|
|
* added gpio support
* added android port
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
* added gpio support
* added android port
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Add Android.mk file to allow build on Android platform
Build steps:
clone repository to external/ directory,
depending on Android variant being built, edit
build/core/main.mk and add:
subdirs += \
external/powerdebug \
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
provide max else build fails
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
getmntent and family is not supported on Bionic. instead
use the standard kernel debugfs mount point.
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Show in ncurses mode the gpio informations.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Let's create the command options parameters and plug the gpio code
with the main code.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Now we dump the output to the stdout.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Now we have the directory structure, we can address the different files
and read their content in order to store them in the tree nodes.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Read the gpio directory structure where we will read the different
data we are interested in.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Add the enum definition we can rely on for the next patches.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Sometime we are interested in following the symlinks, sometime not.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
|
|
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/827825
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
|
|
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/802387
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
* Fixed segfault when no clock is available.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
When there is no clock available, we even register the display ops.
The 'enter' callbakc is set but not data is available int the row
private data which leads to a segfaults.
This patch fix this problem by not registering the ops if the pm
subsystem was not correctly initialized.
In the meantime, we have to erase the window when we are switching
from one window to another. We can say it is the "default" display
callback.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reported-by: Milo (Woogyom) Kim <woogyom.kim@gmail.com>
|
|
|
|
https://wiki.linaro.org/WorkingGroups/PowerManagement/PowerMonthlyCycle
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
|
|
- added tree algorithm
- a lot of code cleanup
- rewrote the clock code
- rewrote the display code
- rewrote the regulator code
- rewrote the sensor code
- rewrote the search code for a clock
- added sensor to display
- added a mainloop
- made the different pm block code consistent to each other
- removed most of global variables
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/794725
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/794726
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/794728
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/794731
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
- added tree algorithm
- a lot of code cleanup
- rewrote the clock code
- rewrote the display code
- rewrote the regulator code
- rewrote the sensor code
- rewrote the search code for a clock
- added sensor to display
- added a mainloop
- made the different pm block code consistent to each other
- removed most of global variables
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/794725
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/794726
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/794728
- fixed https://bugs.launchpad.net/linaro-powerdebug/+bug/794731
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
That prevents to have the selections to collide between the search
list result and the main window.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
With this patch the content of the debugfs file is readen only when the
'refresh' button is hit and at the init of powerdebug.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
and add a 'find' ops.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Splitting the header and the footer will help to display a new footer
like the search string.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|