summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2013-01-26 00:58:12 -0700
committerPaul Walmsley <paul@pwsan.com>2013-01-26 00:58:12 -0700
commit8e1ff676ef5fd4d8be4947ffd039f2699a4b1079 (patch)
tree299986d57aec9c333735ea5424c071a820a59a32
parent949db153b6466c6f7cad5a427ecea94985927311 (diff)
downloadlinux-8e1ff676ef5fd4d8be4947ffd039f2699a4b1079.tar.gz
linux-8e1ff676ef5fd4d8be4947ffd039f2699a4b1079.tar.bz2
linux-8e1ff676ef5fd4d8be4947ffd039f2699a4b1079.zip
ARM: OMAP2xxx: powerdomain: core powerdomain missing logic retention states
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>
-rw-r--r--arch/arm/mach-omap2/powerdomains2xxx_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/powerdomains2xxx_data.c b/arch/arm/mach-omap2/powerdomains2xxx_data.c
index ba520d4f7c7b..01abc1e77789 100644
--- a/arch/arm/mach-omap2/powerdomains2xxx_data.c
+++ b/arch/arm/mach-omap2/powerdomains2xxx_data.c
@@ -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 */