mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
ARM: OMAP: TI81XX: add always-on powerdomain for TI81XX
This patch adds alwon powerdomain support for TI81XX, which is required for stable functioning of a big number of TI81XX subsystems. Signed-off-by: Aida Mynzhasova <aida.mynzhasova@skitlab.ru> Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
parent
eeb6603fdd
commit
0f0dd08932
@ -336,6 +336,13 @@ static struct powerdomain dpll5_pwrdm = {
|
||||
.voltdm = { .name = "core" },
|
||||
};
|
||||
|
||||
static struct powerdomain alwon_81xx_pwrdm = {
|
||||
.name = "alwon_pwrdm",
|
||||
.prcm_offs = TI81XX_PRM_ALWON_MOD,
|
||||
.pwrsts = PWRSTS_OFF_ON,
|
||||
.voltdm = { .name = "core" },
|
||||
};
|
||||
|
||||
static struct powerdomain device_81xx_pwrdm = {
|
||||
.name = "device_pwrdm",
|
||||
.prcm_offs = TI81XX_PRM_DEVICE_MOD,
|
||||
@ -442,6 +449,7 @@ static struct powerdomain *powerdomains_am35x[] __initdata = {
|
||||
};
|
||||
|
||||
static struct powerdomain *powerdomains_ti81xx[] __initdata = {
|
||||
&alwon_81xx_pwrdm,
|
||||
&device_81xx_pwrdm,
|
||||
&active_816x_pwrdm,
|
||||
&default_816x_pwrdm,
|
||||
|
@ -58,6 +58,7 @@
|
||||
#define TI816X_PRM_IVAHD1_MOD 0x0d00
|
||||
#define TI816X_PRM_IVAHD2_MOD 0x0e00
|
||||
#define TI816X_PRM_SGX_MOD 0x0f00
|
||||
#define TI81XX_PRM_ALWON_MOD 0x1800
|
||||
|
||||
/* 24XX register bits shared between CM & PRM registers */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user