diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.h')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.h b/arch/arm/mach-omap2/omap_hwmod.h index 512f809a3f4d..35ca6efbec31 100644 --- a/arch/arm/mach-omap2/omap_hwmod.h +++ b/arch/arm/mach-omap2/omap_hwmod.h | |||
@@ -633,6 +633,7 @@ struct omap_hwmod_link { | |||
633 | * @flags: hwmod flags (documented below) | 633 | * @flags: hwmod flags (documented below) |
634 | * @_lock: spinlock serializing operations on this hwmod | 634 | * @_lock: spinlock serializing operations on this hwmod |
635 | * @node: list node for hwmod list (internal use) | 635 | * @node: list node for hwmod list (internal use) |
636 | * @parent_hwmod: (temporary) a pointer to the hierarchical parent of this hwmod | ||
636 | * | 637 | * |
637 | * @main_clk refers to this module's "main clock," which for our | 638 | * @main_clk refers to this module's "main clock," which for our |
638 | * purposes is defined as "the functional clock needed for register | 639 | * purposes is defined as "the functional clock needed for register |
@@ -643,6 +644,12 @@ struct omap_hwmod_link { | |||
643 | * the omap_hwmod code and should not be set during initialization. | 644 | * the omap_hwmod code and should not be set during initialization. |
644 | * | 645 | * |
645 | * @masters and @slaves are now deprecated. | 646 | * @masters and @slaves are now deprecated. |
647 | * | ||
648 | * @parent_hwmod is temporary; there should be no need for it, as this | ||
649 | * information should already be expressed in the OCP interface | ||
650 | * structures. @parent_hwmod is present as a workaround until we improve | ||
651 | * handling for hwmods with multiple parents (e.g., OMAP4+ DSS with | ||
652 | * multiple register targets across different interconnects). | ||
646 | */ | 653 | */ |
647 | struct omap_hwmod { | 654 | struct omap_hwmod { |
648 | const char *name; | 655 | const char *name; |
@@ -680,6 +687,7 @@ struct omap_hwmod { | |||
680 | u8 _int_flags; | 687 | u8 _int_flags; |
681 | u8 _state; | 688 | u8 _state; |
682 | u8 _postsetup_state; | 689 | u8 _postsetup_state; |
690 | struct omap_hwmod *parent_hwmod; | ||
683 | }; | 691 | }; |
684 | 692 | ||
685 | struct omap_hwmod *omap_hwmod_lookup(const char *name); | 693 | struct omap_hwmod *omap_hwmod_lookup(const char *name); |