Revert "OMAP4: PM: Fix missed PRCM MPU interrupt events"

This reverts commit 682c7243e6a829db18dd044923b2cbd17ec6902d.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "OMAP4: PM: fix for "re-factor configuring pwrst setting""

This reverts commit 06d625db9083e95698c9d00992b0a94e78480e15.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "OMAP4: PM: Correct powerstates initialization sequence"

This reverts commit 5a303a97c772a238f2eab0b5c5362b8eb3625ea1.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "OMAP4: PM: Re-factor configuring pwrst settings"

This reverts commit b8386f84e219c720046781abb0ce97f91780bf02.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "OMAP4: PM: Program pwrst of each pwdm as per their supported state"

This reverts commit 3ce50b22f77c2cebeebd7de0fcea62059e6ad8ef.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "OMAP4: PM: IVA AUTO RET relaxed workaround in idle path"

This reverts commit fdcf0ba8e158720dfa0a8df6e663e3ad1953c1e7.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
board/pm44xx: change from err to info for PM debugging message

Signed-off-by: Dan Trifan <jimsth@gmail.com>
OMAP4: PM: cold reset: wrong value is used to set LOGICRETSTATE

OMAP4: PM: cold reset: wrong value is used to set LOGICRETSTATE

The size of LOGICRETSTATE field is 1 bit, and pwrdm_set_logic_retst()
can accept only PWRDM_POWER_RET(0x1)/PWRDM_POWER_OFF(0x0) values.

Additional check of "pwrst" parameter and print out of error message
added in pwrdm_set_logic_retst() to minimize such issues in future.

Change-Id: I413e1e2ba3823574d4450225ed30cffb2cdfd565
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
ARM: OMAP4: PM: Keep static dep between MPUSS and ABE clockdomain

Commit 68523f4233de5f233478dde0a63047b4efb710b8 (ARM: OMAP4:
Workaround the OCP synchronisation issue with 32K synctimer)
does not include GP Timers in ABE domain. Since synchronization
issue is applicable to all GPTIMER[1-12], we also need to set
static dependency of MPUSS with abe_clkdm and l4_per_clkdm.
Dependency with l4_per_clkdm timers is already set in commit
12f27826bdaf56b01cbdfc8bdeb577ebc106dee3 (ARM: OMAP4: PM: Keep
static dep between MPUSS-EMIF and MPUSS-L3/L4 and DUCATI-L3).
Therefore, set static dependency of MPUSS with abe_clkdm.

Cc: Kevin Hilman <khilman@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
modified for TUNA kernel from Linux 3.4+ by faux123

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "OMAP4: Enable main inst clock for save to ram."

This reverts commit f65535b1ec8502d41e37031d0f3d169b95ae82d7.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "OMAP4: PM: Fix L3INSTR/IVAHD save/restore context logic"

This reverts commit 1ade0048bc1f4fcd37efeded24ea441e0329b2c1.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "OMAP4460: TWL: disable PD on VCORE1 shutdown"

This reverts commit b29a4fe55f2e41ee5a9cf0bef8990ad7387aae29.

Signed-off-by: Dan Trifan <jimsth@gmail.com>