diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-21 03:01:11 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-10-21 03:01:11 -0400 |
commit | 4bd5259e53accda0fe295d3b25da348f4d5f4b09 (patch) | |
tree | 6ddacb5a75a8eda93916eaa917775ac36b561b81 /arch/arm/mach-omap2/prm2xxx_3xxx.h | |
parent | ff4ae5d9319b86f940e410e92659c50f9879ff46 (diff) |
ARM: OMAP2/3: clockdomain/PRM/CM: move the low-level clockdomain functions into PRM/CM
Move the low-level SoC-specific clockdomain control functions into
cm*.c and prm*.c. For example, OMAP2xxx low-level clockdomain
functions go into cm2xxx.c. Then remove the unnecessary
clockdomain*xxx*.c files.
The objective is to centralize low-level CM and PRM register accesses
into the cm*.[ch] and prm*.[ch] files, and then to export an OMAP
SoC-independent API to higher-level OMAP power management code.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Acked-by: Rajendra Nayak <rnayak@ti.com>
Reviewed-by: Russ Dill <Russ.Dill@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm2xxx_3xxx.h')
-rw-r--r-- | arch/arm/mach-omap2/prm2xxx_3xxx.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prm2xxx_3xxx.h b/arch/arm/mach-omap2/prm2xxx_3xxx.h index 706b0262f3f0..22a405a1543b 100644 --- a/arch/arm/mach-omap2/prm2xxx_3xxx.h +++ b/arch/arm/mach-omap2/prm2xxx_3xxx.h | |||
@@ -116,6 +116,14 @@ extern int omap2_pwrdm_read_mem_retst(struct powerdomain *pwrdm, u8 bank); | |||
116 | extern int omap2_pwrdm_set_logic_retst(struct powerdomain *pwrdm, u8 pwrst); | 116 | extern int omap2_pwrdm_set_logic_retst(struct powerdomain *pwrdm, u8 pwrst); |
117 | extern int omap2_pwrdm_wait_transition(struct powerdomain *pwrdm); | 117 | extern int omap2_pwrdm_wait_transition(struct powerdomain *pwrdm); |
118 | 118 | ||
119 | extern int omap2_clkdm_add_wkdep(struct clockdomain *clkdm1, | ||
120 | struct clockdomain *clkdm2); | ||
121 | extern int omap2_clkdm_del_wkdep(struct clockdomain *clkdm1, | ||
122 | struct clockdomain *clkdm2); | ||
123 | extern int omap2_clkdm_read_wkdep(struct clockdomain *clkdm1, | ||
124 | struct clockdomain *clkdm2); | ||
125 | extern int omap2_clkdm_clear_all_wkdeps(struct clockdomain *clkdm); | ||
126 | |||
119 | #endif /* __ASSEMBLER */ | 127 | #endif /* __ASSEMBLER */ |
120 | 128 | ||
121 | /* | 129 | /* |