aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/prcm-common.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2015-02-23 15:57:32 +0200
committerTero Kristo <t-kristo@ti.com>2015-03-25 11:03:52 +0200
commit3a3e1c88362429ca3a6ef84d232e56b197294ce0 (patch)
tree7a24e1d24d469f0dd83538900d02263db758b71b /arch/arm/mach-omap2/prcm-common.h
parentDocumentation: DT: document PRCM compatible strings for dm81x SoCs (diff)
downloadlinux-dev-3a3e1c88362429ca3a6ef84d232e56b197294ce0.tar.xz
linux-dev-3a3e1c88362429ca3a6ef84d232e56b197294ce0.zip
ARM: OMAP2+: PRCM: add support for static clock memmap indices
All clock provider related drivers will now register their iomaps with a static index. This makes it easier to split up the individual drivers to their own files in subsequent patches. 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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prcm-common.h b/arch/arm/mach-omap2/prcm-common.h
index 6163d66102a3..ee38356b3601 100644
--- a/arch/arm/mach-omap2/prcm-common.h
+++ b/arch/arm/mach-omap2/prcm-common.h
@@ -518,6 +518,14 @@ struct omap_prcm_irq_setup {
.priority = _priority \
}
+/**
+ * struct omap_prcm_init_data - PRCM driver init data
+ * @index: clock memory mapping index to be used
+ */
+struct omap_prcm_init_data {
+ int index;
+};
+
extern void omap_prcm_irq_cleanup(void);
extern int omap_prcm_register_chain_handler(
struct omap_prcm_irq_setup *irq_setup);