summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/prcm-common.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-11-11 16:51:52 +0200
committerTero Kristo <t-kristo@ti.com>2015-03-27 10:55:57 +0200
commit5970ca2db960b2c14e077d27950e402e063298e6 (patch)
treef4f649b625842bcbbfdce431afd16a3a654dc023 /arch/arm/mach-omap2/prcm-common.h
parentfe87414f71d0035756cf91a80ac256557d16b488 (diff)
ARM: OMAP2+: CM: determine CM base address from device tree
There is no need to provide the CM base address through a low-level API from the low-level IO init, as this information is available through DT. Re-routed the parsing function to be called from the CM drivers also to simplify the implementation under io.c. Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prcm-common.h')
-rw-r--r--arch/arm/mach-omap2/prcm-common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prcm-common.h b/arch/arm/mach-omap2/prcm-common.h
index ee38356b3601..9e4dd0b7dd6a 100644
--- a/arch/arm/mach-omap2/prcm-common.h
+++ b/arch/arm/mach-omap2/prcm-common.h
@@ -521,9 +521,15 @@ struct omap_prcm_irq_setup {
/**
* struct omap_prcm_init_data - PRCM driver init data
* @index: clock memory mapping index to be used
+ * @mem: IO mem pointer for this module
+ * @offset: module base address offset from the IO base
+ * @flags: PRCM module init flags
*/
struct omap_prcm_init_data {
int index;
+ void __iomem *mem;
+ s16 offset;
+ u16 flags;
};
extern void omap_prcm_irq_cleanup(void);