summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/prcm-common.h
diff options
context:
space:
mode:
authorTero Kristo2015-02-23 14:57:32 +0100
committerTero Kristo2015-03-25 10:03:52 +0100
commit3a3e1c88362429ca3a6ef84d232e56b197294ce0 (patch)
tree7a24e1d24d469f0dd83538900d02263db758b71b /arch/arm/mach-omap2/prcm-common.h
parentDocumentation: DT: document PRCM compatible strings for dm81x SoCs (diff)
downloadkernel-qcow2-linux-3a3e1c88362429ca3a6ef84d232e56b197294ce0.tar.gz
kernel-qcow2-linux-3a3e1c88362429ca3a6ef84d232e56b197294ce0.tar.xz
kernel-qcow2-linux-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);