[PATCH 7/7] cleanup

2012-07-01 Thread evttxl
From: Eric van Tassell --- display.c|1 - powerdebug.c |6 +++--- tree_mgr.c |6 ++ utils.c |1 - 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/display.c b/display.c index c97b45d..2872ed5 100644 --- a/display.c +++ b/display.c @@ -624,6 +624,5 @@

[PATCH 6/7] - add options for power and voltage domains - call tree_mgr_new to create the objects that implement them

2012-07-01 Thread evttxl
From: Eric van Tassell --- powerdebug.c | 53 + 1 file changed, 45 insertions(+), 8 deletions(-) diff --git a/powerdebug.c b/powerdebug.c index 0f15b38..6fe4b19 100644 --- a/powerdebug.c +++ b/powerdebug.c @@ -28,6 +28,10 @@ #include "mainl

[PATCH 2/7] add support for reading memory mapped I/O registers via /dev/mem

2012-07-01 Thread evttxl
From: Eric van Tassell --- Android.mk |2 +- Makefile |2 +- mmioreg.c | 76 mmioreg.h | 26 + 4 files changed, 104 insertions(+), 2 deletions(-) create mode 100644 mmioreg.c create mode 100644 mmi

[PATCH 1/7] add config files to define selected power domain and voltage domain registers for OMAP4430 add delimi.* to parse config files with clone of strchrnul

2012-07-01 Thread evttxl
From: Eric van Tassell --- Android.mk |4 +- Makefile|2 +- delimi.c| 106 +++ delimi.h| 30 +++ pwrdm.regdefs.omap4 | 33 utils.c | 12 ++ uti

[PATCH 5/7] - add display options for Voltage and Power domains - enable extended display function call

2012-07-01 Thread evttxl
From: Eric van Tassell --- display.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/display.c b/display.c index fcb4ec1..c97b45d 100644 --- a/display.c +++ b/display.c @@ -65,6 +65,8 @@ struct windata windata[] = { [CLOCK] = { .name = "Cloc

[PATCH 0/7] add Power and Voltage Domain Support to Powerdebug

2012-07-01 Thread evttxl
From: Eric van Tassell Since my first attempt at doing this by analogy to what's already in powerdebug(tree of sysfs files) was rejected because reviewers didn't want to add a bunch more OMAP specific files to sysfs, I rewrote things in userland. There are a few basic chunks to the changes: 1)

[PATCH 3/7] add support to display fields of memory mapped I/O registers with optional value decoding as defined by config files

2012-07-01 Thread evttxl
From: Eric van Tassell --- Android.mk |2 +- Makefile |2 +- mainloop.c |2 + mmioreg.c | 43 +- mmioreg.h |3 +- regfield.c | 279 regfield.h | 52 +++ utils.h|1 + 8 files changed, 360

[PATCH 4/7] largest commit of this series. Provide an instance of the tree abstraction used by powerdebug core that is built by parsing a config file instead of walking a debugfs tree as, for example,

2012-07-01 Thread evttxl
From: Eric van Tassell --- Android.mk |4 +- Makefile |4 +- dirtree.c| 149 dirtree.h| 22 +++ display.c| 12 display.h|4 +- powerdebug.c |1 + tree.c | 28 + tree.h | 11 ++