aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2011-07-10 07:56:29 -0400
committerPaul Walmsley <paul@pwsan.com>2011-07-10 07:56:29 -0400
commita5322c6f3a3b0a81347c57de2f3a86b851b49bcf (patch)
tree40eef11d93a8ea7213e8bc2084a9e570478038bf /arch/arm/plat-omap
parentc84584139aaeef7631df152e13cbf319d8e55950 (diff)
OMAP4: hwmod data: Add clock domain attribute
In OMAP PRCM terminology, the clock domain is defined as a group of IPs that share some clocks and most of the time an interface clock. Every IP does belong to a clockdomain. For the moment the clock domain attribute is affected to a clock node. The issue with that approach, is that a clock might or not belong to a clock domain. Moreover during module transition, it is up to a module to handle properly the clock domain state and not to a clock node. Create a clkdm_name attribute to provide this information per hwmod. Populate this attribute for every OMAP4 hwmod entries. Future cleanup series with remove that information from the OMAP4 clock when it is relevant. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Paul Walmsley <paul@pwsan.com> Cc: Rajendra Nayak <rnayak@ti.com> [paul@pwsan.com: fix the mpuss_clkdm name] Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/include/plat/omap_hwmod.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap_hwmod.h b/arch/arm/plat-omap/include/plat/omap_hwmod.h
index fafdfe3c8d4e..21d392233ed0 100644
--- a/arch/arm/plat-omap/include/plat/omap_hwmod.h
+++ b/arch/arm/plat-omap/include/plat/omap_hwmod.h
@@ -515,6 +515,7 @@ struct omap_hwmod {
515 const char *main_clk; 515 const char *main_clk;
516 struct clk *_clk; 516 struct clk *_clk;
517 struct omap_hwmod_opt_clk *opt_clks; 517 struct omap_hwmod_opt_clk *opt_clks;
518 char *clkdm_name;
518 char *vdd_name; 519 char *vdd_name;
519 struct voltagedomain *voltdm; 520 struct voltagedomain *voltdm;
520 struct omap_hwmod_ocp_if **masters; /* connect to *_IA */ 521 struct omap_hwmod_ocp_if **masters; /* connect to *_IA */