[OMAP5][CLKDMDEP] fix incorrect register table used for ES2.0

Fix incorrect register table used for ES2.0.
Was using ES1.0 table instead of new ES2.0 table.
Causing incorrect registers to be read (some PRCM registers moved between ES1.0 and ES2.0).

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5] add OMAP5430 ES2.0 OPP definitions

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][MODULE] handle ES1.0/ES2.0 differences in modules list

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][DPLL] update OMAP5430 ES2.0 DPLL golden settings

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[DPLL][OMAP5] fix DPLL lock frequency and output rates when DCC is enabled

Lock frequency and output rates computation when DCC is enabled was not correctly handled.
Trick used was ok to compute the output rates, but not the lock frequency.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OPP] round clock rates to MHz during comparisons in opp_show

To avoid very small clock rates differences, due to different DPLL M/N settings, make OPP detection fail.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][MODULE] fix OMAP5430 ES2.0 PoR clock rates for DSP, GPU, IVA, SL2, C2C modules

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][DPLL] fix DPLL CORE HS_DIV14 divider for OMAP5430 ES2.0 OPP_HI

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP][SR] use generic functions to retrieve OPP and voltage in sr_convergence_status_show()

As sr_convergence_status_show() is common OMAP code, replace legacy arch-specific APIs with generic APIs in sr_convergence_status_show().

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][DPLL][AUDIT] avoid use of legacy APIs to retrieve current OPP

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][OPP] remove unused legacy voltdm54xx_opp_get() function

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][PRCM][EXPORT] fix do not export removed L4_PER domain on OMAP543x ES2.x

L4_PER domain was removed from OMAP543x ES2.x (merged with CORE).
It wasn't correctly handled in PRCM XML export functions.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][PRCM] fix ES1.0 module pointer used with ES2.x devices

OMAP543x ES2.x module array was using omap5430es1_wkupaon_cm_mod pointer instead of omap5430_wkupaon_cm_mod.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][PRCM] fix code check instrumentation status

cm54xx_is_profiling_running() was incorrectly implemented, checking only 1 instrumentation (CORE_AON).
cm54xx_export() was incorrectly implemented, checking only 1 instrumentation (CORE).
Added one argument to cm54xx_is_profiling_running() to select with instrumentation to check.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][PRCM][DUMP] dump PMI/CMI/CMI_AON registers

PMI/CMI/CMI_AON registers were not yet dump as part of the "omapconf dump prcm [instr]" command.
Dump it only when registers are accessible (module running).

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][CPU] add OMAP543x ES2.x max cpu speed

Use MPU OPP number reported by cpufreq to detect if silicon is speedbinned or not,
and hence the max cpu speed.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][CPU] fix OMAP5 silicon type detection

OMAP5 does not have a dedicated e-Fuse anymore.
Use instead cpu max speed to detect speedbinned devices.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][PRCM] move all *_dump() functions to prcm54xx.c

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
update CHANGELOG and revision to v1.62

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OPP] avoid cpufreq_interactive_input_connect message to be printed in OPP table

Signed-off-by: Patrick Titiano <p-titiano@ti.com>