diff options
author | Rajendra Nayak <rnayak@ti.com> | 2010-12-21 22:01:18 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-12-21 22:01:18 -0500 |
commit | f327e07b0ef9c60a6018799c9f04de10101d8e5a (patch) | |
tree | 4f21b95c3a8f5badb3a1cf69ab75b8edfd1624a6 /arch/arm/mach-omap2/powerdomains.h | |
parent | 3b1e8b21fcbd686445f0bb42f84701b4621cdec6 (diff) |
OMAP: powerdomain: Arch specific funcs for state control
Define the following architecture specific funtions for omap2/3/4
.pwrdm_set_next_pwrst
.pwrdm_read_next_pwrst
.pwrdm_read_pwrst
.pwrdm_read_prev_pwrst
Convert the platform-independent framework to call these functions.
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
[paul@pwsan.com: remove remaining static allocations in powerdomains.h file;
remove path in file header comments, rearranged Makefile changes]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Reviewed-by: Kevin Hilman <khilman@deeprootsystems.com>
Tested-by: Kevin Hilman <khilman@deeprootsystems.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Rajendra Nayak <rnayak@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomains.h')
-rw-r--r-- | arch/arm/mach-omap2/powerdomains.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/powerdomains.h b/arch/arm/mach-omap2/powerdomains.h new file mode 100644 index 000000000000..e57bc41ef4aa --- /dev/null +++ b/arch/arm/mach-omap2/powerdomains.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * OMAP2+ powerdomain prototypes | ||
3 | * | ||
4 | * Copyright (C) 2010 Texas Instruments, Inc. | ||
5 | * | ||
6 | * Rajendra Nayak <rnayak@ti.com> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #ifndef ARCH_ARM_MACH_OMAP2_POWERDOMAINS | ||
14 | #define ARCH_ARM_MACH_OMAP2_POWERDOMAINS | ||
15 | |||
16 | #include <plat/powerdomain.h> | ||
17 | |||
18 | extern struct pwrdm_ops omap2_pwrdm_operations; | ||
19 | extern struct pwrdm_ops omap3_pwrdm_operations; | ||
20 | extern struct pwrdm_ops omap4_pwrdm_operations; | ||
21 | |||
22 | #endif /* ARCH_ARM_MACH_OMAP2_POWERDOMAINS */ | ||