diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-11-11 09:51:52 -0500 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-27 04:55:57 -0400 |
commit | 5970ca2db960b2c14e077d27950e402e063298e6 (patch) | |
tree | f4f649b625842bcbbfdce431afd16a3a654dc023 /arch/arm/mach-omap2/prcm-common.h | |
parent | fe87414f71d0035756cf91a80ac256557d16b488 (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.h | 6 |
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 { | |||
521 | /** | 521 | /** |
522 | * struct omap_prcm_init_data - PRCM driver init data | 522 | * struct omap_prcm_init_data - PRCM driver init data |
523 | * @index: clock memory mapping index to be used | 523 | * @index: clock memory mapping index to be used |
524 | * @mem: IO mem pointer for this module | ||
525 | * @offset: module base address offset from the IO base | ||
526 | * @flags: PRCM module init flags | ||
524 | */ | 527 | */ |
525 | struct omap_prcm_init_data { | 528 | struct omap_prcm_init_data { |
526 | int index; | 529 | int index; |
530 | void __iomem *mem; | ||
531 | s16 offset; | ||
532 | u16 flags; | ||
527 | }; | 533 | }; |
528 | 534 | ||
529 | extern void omap_prcm_irq_cleanup(void); | 535 | extern void omap_prcm_irq_cleanup(void); |