diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-10-27 11:39:23 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-10-27 11:39:23 -0400 |
commit | 021b6ff05c4a17cb20d71c05e251ea7f80b1c516 (patch) | |
tree | 93df0c5995581095d8c2838f1aabe566322ec5c5 /arch/arm/mach-omap2/cm2xxx.h | |
parent | 7632a02f80eb99e942999e522b2eb0f6592ea5b5 (diff) |
ARM: OMAP2+: CM: add common API for cm_wait_module_ready
This patch consolidates the parameters provided for the SoC specific
cm_*_wait_module_ready calls, adds the missing cm_ll_data function
pointers and uses the now generic call from the mach-omap2 board code.
SoC specific *_wait_module_ready calls are also made static so they
can only be accessed through the generic CM driver API only.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm2xxx.h')
-rw-r--r-- | arch/arm/mach-omap2/cm2xxx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/cm2xxx.h b/arch/arm/mach-omap2/cm2xxx.h index 891d81c3c8f4..2526a8fd3d10 100644 --- a/arch/arm/mach-omap2/cm2xxx.h +++ b/arch/arm/mach-omap2/cm2xxx.h | |||
@@ -58,8 +58,8 @@ extern void omap2xxx_cm_set_apll96_disable_autoidle(void); | |||
58 | extern void omap2xxx_cm_set_apll96_auto_low_power_stop(void); | 58 | extern void omap2xxx_cm_set_apll96_auto_low_power_stop(void); |
59 | 59 | ||
60 | extern bool omap2xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask); | 60 | extern bool omap2xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask); |
61 | extern int omap2xxx_cm_wait_module_ready(s16 prcm_mod, u8 idlest_id, | 61 | int omap2xxx_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_id, |
62 | u8 idlest_shift); | 62 | u8 idlest_shift); |
63 | extern int omap2xxx_cm_split_idlest_reg(void __iomem *idlest_reg, | 63 | extern int omap2xxx_cm_split_idlest_reg(void __iomem *idlest_reg, |
64 | s16 *prcm_inst, u8 *idlest_reg_id); | 64 | s16 *prcm_inst, u8 *idlest_reg_id); |
65 | extern int omap2xxx_cm_fclks_active(void); | 65 | extern int omap2xxx_cm_fclks_active(void); |