]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: OMAP2xxx: powerdomain: core powerdomain missing logic retention states
authorPaul Walmsley <paul@pwsan.com>
Sat, 26 Jan 2013 07:58:12 +0000 (00:58 -0700)
committerPaul Walmsley <paul@pwsan.com>
Sat, 26 Jan 2013 07:58:12 +0000 (00:58 -0700)
Add the possible logic retention states for the 24xx CORE powerdomain.
Subsequent patches use this data to avoid returning incorrect data, by
skipping reads from register bitfields that don't actually exist.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/powerdomains2xxx_data.c

index ba520d4f7c7bf45d81503497a01ae9d9f555b032..01abc1e77789befd586295e17b34fc08a821d044 100644 (file)
@@ -60,6 +60,7 @@ static struct powerdomain core_24xx_pwrdm = {
        .name             = "core_pwrdm",
        .prcm_offs        = CORE_MOD,
        .pwrsts           = PWRSTS_OFF_RET_ON,
+       .pwrsts_logic_ret = PWRSTS_RET,
        .banks            = 3,
        .pwrsts_mem_ret   = {
                [0] = PWRSTS_OFF_RET,    /* MEM1RETSTATE */