e8b9e51ab64eb34cb30580b2f3d6a6c66f768243
[openembedded.git] /
1 From a66e4a5a5ee1d98fafab60935bddd28bbd440628 Mon Sep 17 00:00:00 2001
2 From: Thara Gopinath <thara@ti.com>
3 Date: Wed, 18 Aug 2010 16:22:43 +0530
4 Subject: [PATCH 16/19] OMAP3: Introduce voltage domain info in the hwmod structures.
5
6 This patch adds voltage domain info in the relevant
7 device hwmod structures so as to enable OMAP3 DVFS
8 support.
9
10 Signed-off-by: Thara Gopinath <thara@ti.com>
11 ---
12  arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |    3 +++
13  1 files changed, 3 insertions(+), 0 deletions(-)
14
15 diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
16 index 8d81813..c57f34d 100644
17 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
18 +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
19 @@ -94,6 +94,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_l3_main_masters[] = {
20  static struct omap_hwmod omap3xxx_l3_main_hwmod = {
21         .name           = "l3_main",
22         .class          = &l3_hwmod_class,
23 +       .vdd_name       = "core",
24         .masters        = omap3xxx_l3_main_masters,
25         .masters_cnt    = ARRAY_SIZE(omap3xxx_l3_main_masters),
26         .slaves         = omap3xxx_l3_main_slaves,
27 @@ -384,6 +385,7 @@ static struct omap_hwmod omap3xxx_mpu_hwmod = {
28         .name           = "mpu",
29         .class          = &mpu_hwmod_class,
30         .main_clk       = "arm_fck",
31 +       .vdd_name       = "mpu",
32         .masters        = omap3xxx_mpu_masters,
33         .masters_cnt    = ARRAY_SIZE(omap3xxx_mpu_masters),
34         .omap_chip      = OMAP_CHIP_INIT(CHIP_IS_OMAP3430),
35 @@ -412,6 +414,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_iva_masters[] = {
36  static struct omap_hwmod omap3xxx_iva_hwmod = {
37         .name           = "iva",
38         .class          = &iva_hwmod_class,
39 +       .vdd_name       = "mpu",
40         .masters        = omap3xxx_iva_masters,
41         .masters_cnt    = ARRAY_SIZE(omap3xxx_iva_masters),
42         .omap_chip      = OMAP_CHIP_INIT(CHIP_IS_OMAP3430)
43 -- 
44 1.6.6.1
45