提交 be48ea74 编写于 作者: P Paul Walmsley 提交者: Russell King

[ARM] OMAP3 powerdomains: remove RET from SGX power states list

The SGX device on OMAP3 does not support retention, so remove RET from the
list of possible SGX power states.  Problem debugged by Richard Woodruff
<r-woodruff2@ti.com>.
Signed-off-by: NRichard Woodruff <r-woodruff2@ti.com>
Signed-off-by: NPaul Walmsley <paul@pwsan.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 46e0ccf8
...@@ -236,6 +236,11 @@ static struct powerdomain dss_pwrdm = { ...@@ -236,6 +236,11 @@ static struct powerdomain dss_pwrdm = {
}, },
}; };
/*
* Although the 34XX TRM Rev K Table 4-371 notes that retention is a
* possible SGX powerstate, the SGX device itself does not support
* retention.
*/
static struct powerdomain sgx_pwrdm = { static struct powerdomain sgx_pwrdm = {
.name = "sgx_pwrdm", .name = "sgx_pwrdm",
.prcm_offs = OMAP3430ES2_SGX_MOD, .prcm_offs = OMAP3430ES2_SGX_MOD,
...@@ -243,7 +248,7 @@ static struct powerdomain sgx_pwrdm = { ...@@ -243,7 +248,7 @@ static struct powerdomain sgx_pwrdm = {
.wkdep_srcs = gfx_sgx_wkdeps, .wkdep_srcs = gfx_sgx_wkdeps,
.sleepdep_srcs = cam_gfx_sleepdeps, .sleepdep_srcs = cam_gfx_sleepdeps,
/* XXX This is accurate for 3430 SGX, but what about GFX? */ /* XXX This is accurate for 3430 SGX, but what about GFX? */
.pwrsts = PWRSTS_OFF_RET_ON, .pwrsts = PWRSTS_OFF_ON,
.pwrsts_logic_ret = PWRDM_POWER_RET, .pwrsts_logic_ret = PWRDM_POWER_RET,
.banks = 1, .banks = 1,
.pwrsts_mem_ret = { .pwrsts_mem_ret = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册