]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function
authorKeerthy <j-keerthy@ti.com>
Fri, 10 Nov 2017 11:26:52 +0000 (16:56 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Nov 2017 15:03:26 +0000 (07:03 -0800)
commit9f042507c24d9c782e3a08e6a42a5b39f7732ae7
tree6896c3dac8d8ac7152a63c0a2b9a5f123d4652d2
parentdade632bca3ed14369939bd4b0dfa8c4422770dd
ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function

Referring TRM Am335X series:
http://www.ti.com/lit/ug/spruh73p/spruh73p.pdf

The LastPowerStateEntered bitfield is present only for PM_CEFUSE
domain. This is not present in any of the other power domains. Hence
remove the generic am33xx_pwrdm_read_prev_pwrst hook which wrongly
reads the reserved bit fields for all the other power domains.

Reading the reserved bits leads to wrongly interpreting the low
power transitions for various power domains that do not have the
LastPowerStateEntered field. The pm debug counters values are wrong
currently as we are incrementing them based on the reserved bits.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/prm33xx.c