README.md: markdown-ify code blocks, links & lists

For markdown to treat indented blocks of text as code snippets it is
necessary to separate the code snippets from regular text with a
newline.

Likewise lists must use the format "^ * $text" to create bullet points
for list items.

This patch properly indents text blocks and bullet points to existing
text and converts plainly printed URLs into hyperlinks with alt-text.

Signed-off-by: Mike Turquette <mturquette@linaro.org>
Merge pull request #1 from mturquette/readme

README.md: markdown-ify code blocks, links & lists
[OMAP5][MODULE] fix GPU/IVA/DSP OPP_[NOM-HI] clock rates

Fix GPU/IVA/DSP clock rates at OPP_[NOM-HI].

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][MODULE] fix incorrect number of arguments in debug trace

Fix incorrect number of arguments in debug trace.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][VC] add function to retrieve registers of a given VC module

Define vc54xx_registers_get() function to retrieve VC registers of a given VC module.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][VOLTDM][OPP] use nominal voltage instead of frequencies to detect OPP

For MM domain, using a single clock frequency (IVA) to detect OPP is not correct.
MM domain has 3 scalable modules (DSP, IVA, GPU) which can scale independently.
Hence, IVA may be at a different OPP than DSP or GPU.
Furthermore, these modules may or may not be running.
Hence, use voltage instead, which is always the highest (OPP) needed.
Extend it to other domains as well.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][OPP] fix OPP-clock rates incoherency

Fix potential OPP-clock rates incoherency that could be observed using "show opp" command.
This was due to the fact that OPP could change in backgroup, while lib54xx_opp_show() was
sampling sequencially all clock rates.
Method: sample all parameters in a loop until all is consistent.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][OPP] highlight disabled modules

If a module is disabled, printing its clock rate is not
relevant, and may be misleading.
Add parenthesis about rates for disabled modules as well as
a note at the footer of the table.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][OPP] add debug trace to lib54xx_opp_show()

Add debug trace to lib54xx_opp_show().

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP4][MODULE] fix missing arg in debug trace in mod44xx_get_autoidle_mode()

Add missing "__func__" argument to dprintf in mod44xx_get_autoidle_mode().

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP4][OPP] fix OPP-clock rates incoherency and highlight disabled modules

Fix potential OPP-clock rates incoherency that could be observed using "show opp" command.
This was due to the fact that OPP could change in backgroup, while voltdm44xx_opp_show() was
sampling sequencially all clock rates.
Method: sample all parameters in a loop until all is consistent.

If a module is disabled, printing its clock rate is not relevant, and may be misleading.
Add parenthesis about rates for disabled modules as well as a note at the footer of the table.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
fixed segmentation fault when calling "audit perf" command

In this patch added an initialization pointers "time_in_opp_t0",
"time_in_opp_t1", "time_in_opp_cnt" with value NULL at the beginning
of the function "audit_performances".
Because if the function "cpufreq_opp_nbr_get" returns 0
(file ".../time_in_state" is absent), then the memory for them
is not allocated (pointers are remain uninitialized) and attempt
to release allocated memory for them in the end of the function
"audit_performances" results in segmentation fault.

Signed-off-by: Oleksandr_Tyshchenko <oleksandr.tyshchenko@ti.com>
fix empty interrupt statistic when CPU1 is offline

File "/proc/interrupts" contains statistics for CPUs that are not
only available, but also online. That is, when reading the
information from this file should use the number of CPUs that are
online.
In this patch, in all functions where the information is read from
the file "/proc/interrupts", function "cpu_cores_count_get"
is replaced by the function "cpu_online_cores_count_get".

Signed-off-by: Oleksandr_Tyshchenko <oleksandr.tyshchenko@ti.com>
[OMAP5][TEMP] remove extrapolated mention from CASE temperature

Remove extrapolated mention from CASE temperature. This is not true,
there is a real temperature sensor.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][OPP] print temperature in "show opp" command

Print temperature in "show opp" command.
This can help thermal investigations, by simultaneously showing both items.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP4][OPP] print temperature in "show opp" command

Print temperature in "show opp" command.
This can help thermal investigations, by simultaneously showing both items.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
update revision and changelog for v1.51 release

update revision and changelog for v1.51 release.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Merge pull request #5 from ptitiano/next

Next