diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-09-14 13:34:21 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-09-14 19:20:44 -0400 |
commit | 8179488a36985d4929cf89be5d9171145a769511 (patch) | |
tree | 984d54171bc9f2012d24c0e6b823f3b394885bfa /arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c | |
parent | 129c65ee66a97fbf663f2f5fce26aacdc7348736 (diff) |
OMAP: powerdomain: remove omap_chip bitmasks
At Tony's request, remove the omap_chip bitmasks from the powerdomain
definitions. Instead, initialize powerdomains based on one or more
lists that are applicable to a particular SoC family, variant, and
silicon revision.
Gražvydas Ignotas <notasas@gmail.com> found and reported a bug in a
related patch that also applied to this patch - thanks Gražvydas.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Gražvydas Ignotas <notasas@gmail.com>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c b/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c index 4210c3399769..bf30483d5cb0 100644 --- a/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c +++ b/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * OMAP2/3 common powerdomain definitions | 2 | * OMAP2/3 common powerdomain definitions |
3 | * | 3 | * |
4 | * Copyright (C) 2007-2008 Texas Instruments, Inc. | 4 | * Copyright (C) 2007-2008, 2011 Texas Instruments, Inc. |
5 | * Copyright (C) 2007-2011 Nokia Corporation | 5 | * Copyright (C) 2007-2011 Nokia Corporation |
6 | * | 6 | * |
7 | * Paul Walmsley, Jouni Högander | 7 | * Paul Walmsley, Jouni Högander |
@@ -12,20 +12,6 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | /* | 14 | /* |
15 | * To Do List | ||
16 | * -> Move the Sleep/Wakeup dependencies from Power Domain framework to | ||
17 | * Clock Domain Framework | ||
18 | */ | ||
19 | |||
20 | /* | ||
21 | * This file contains all of the powerdomains that have some element | ||
22 | * of software control for the OMAP24xx and OMAP34xx chips. | ||
23 | * | ||
24 | * This is not an exhaustive listing of powerdomains on the chips; only | ||
25 | * powerdomains that can be controlled in software. | ||
26 | */ | ||
27 | |||
28 | /* | ||
29 | * The names for the DSP/IVA2 powerdomains are confusing. | 15 | * The names for the DSP/IVA2 powerdomains are confusing. |
30 | * | 16 | * |
31 | * Most OMAP chips have an on-board DSP. | 17 | * Most OMAP chips have an on-board DSP. |
@@ -59,8 +45,6 @@ | |||
59 | struct powerdomain gfx_omap2_pwrdm = { | 45 | struct powerdomain gfx_omap2_pwrdm = { |
60 | .name = "gfx_pwrdm", | 46 | .name = "gfx_pwrdm", |
61 | .prcm_offs = GFX_MOD, | 47 | .prcm_offs = GFX_MOD, |
62 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP24XX | | ||
63 | CHIP_IS_OMAP3430ES1), | ||
64 | .pwrsts = PWRSTS_OFF_RET_ON, | 48 | .pwrsts = PWRSTS_OFF_RET_ON, |
65 | .pwrsts_logic_ret = PWRSTS_RET, | 49 | .pwrsts_logic_ret = PWRSTS_RET, |
66 | .banks = 1, | 50 | .banks = 1, |
@@ -75,6 +59,5 @@ struct powerdomain gfx_omap2_pwrdm = { | |||
75 | struct powerdomain wkup_omap2_pwrdm = { | 59 | struct powerdomain wkup_omap2_pwrdm = { |
76 | .name = "wkup_pwrdm", | 60 | .name = "wkup_pwrdm", |
77 | .prcm_offs = WKUP_MOD, | 61 | .prcm_offs = WKUP_MOD, |
78 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP24XX | CHIP_IS_OMAP3430), | ||
79 | .pwrsts = PWRSTS_ON, | 62 | .pwrsts = PWRSTS_ON, |
80 | }; | 63 | }; |