[OMAP4][MODULE] fix DSI[1-2] doesn't have smart-idle wakeup mode

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP4][SYSCONFIG][MODULE] fix use L3 address instead of L4_PER address for DSS modules

DSS L4_PER config port is not supported (not validated), hence shall be avoided for
register access. Use L3 physical address instead (safe).

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP4460][GALAXY NEXUS][AUDIT][SYSCONFIG][HACK] skip DSS modules when DSS domain is not ON

On Galaxy Nexus phone with release Jelly Bean JOP40D (not tested on other release), when display
is OFF and DSS power domain is RET, DISPC module is actually left in module mode 0x2 ("explicitly enabled").
This is tolerated by HW (...) but confuses omapconf, as it believes DSS sub-modules like DSI[1-2]/HDMI/RFBI/...
are accessible.
This causes omapconf to attempt to read a register that is not clocked and it crashes.
Adding this hack to workaround this problem.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[TRACE][PERF] fix default writable working directory for configuration file

When omapconf binary is not called from its directory
(e.g omapconf part of PATH, or invoking from ADB), it causes working directory (e.g. root in cause of ADB)
being potentially not writable, hence default configuration file cannot be created and omapconf to crash.

Solution: add './' prefix to default configuration file string, and change working directory to '/data'.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[TRACE][PERF] create speficic default trace configuration file per known device

Default trace configuration file was same for any device, all items being enabled by default.
Depending on running device, not all item may be available.
Update code to handle device-specific traceable items.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[TEMP][OMAP4460][GALAXY NEXUS] handle JOP40D specific file name for bandgap temperature sensor

Galaxy Nexus Android Jelly Bean JOP40D has a specific name for bandgap temperature sensor
(different than TI's release default one). Handle it.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP4][TRACE][PERF] do not run on HS device

ETB and other required resources are not accessible on HS devices,
causing omapconf to crash when run on this type of device.
Catch this scenario and print error message.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
display android product name

Display android product name in HW details.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[KINDLE] no Phoenix Audio chip on Kindle Fire products

No Phoenix Audio chip on Kindle Fire products.
Do not try to detect it.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[KINDLE] remove twl603x_smps_offset_get() VDD_MPU error message

Remove twl603x_smps_offset_get() error message.
Kindle Fire products do use TWL6032 power IC.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAP5][DPLL] handle OMAP543x ES2.x DPLL_CORE H14 special divider (GPU clock)

Handle OMAP543x ES2.x DPLL_CORE H14 special divider (GPU clock).
There is an additional divider by 2, and special value '63' is actually a divider by 2.5.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[KINDLE][GALAXY NEXUS] better identify Kindle Fire HD and Galaxy NEXUS devices

Better identify Kindle Fire HD and Galaxy NEXUS devices:
 - Use ro.product.model instead
 - Rename product name when Kindle Fire HD and Galaxy NEXUS special codenames are found

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
[OMAPCONF] support product name also for non-Android devices

Use 'Hardware' field in '/proc/cpuinfo' to identify the device.

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

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Merge remote-tracking branch 'ptitiano/master'