diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-04-19 06:04:37 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-04-19 06:25:07 -0400 |
commit | f42c54968f2e02a7f4816051557f79d847b39f6e (patch) | |
tree | 05e72f01ab62672d0e8bf4be2fb45c337f559146 /arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |
parent | 064931abb5cf173913edd54575f208bd7a41f4a7 (diff) |
ARM: OMAP3: hwmod data: add IVA hard reset lines, main clock, clockdomain
The IVA hwmod data is missing some fields that cause the following
warning on boot:
[ 0.118011] omap_hwmod: iva: cannot be enabled for reset (3)
Fix by encoding the IP block's main functional clock, reset lines, and
clockdomain.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index 15cdc4abd6e2..0c65079c2b69 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |||
@@ -99,9 +99,19 @@ static struct omap_hwmod omap3xxx_mpu_hwmod = { | |||
99 | }; | 99 | }; |
100 | 100 | ||
101 | /* IVA2 (IVA2) */ | 101 | /* IVA2 (IVA2) */ |
102 | static struct omap_hwmod_rst_info omap3xxx_iva_resets[] = { | ||
103 | { .name = "logic", .rst_shift = 0 }, | ||
104 | { .name = "seq0", .rst_shift = 1 }, | ||
105 | { .name = "seq1", .rst_shift = 2 }, | ||
106 | }; | ||
107 | |||
102 | static struct omap_hwmod omap3xxx_iva_hwmod = { | 108 | static struct omap_hwmod omap3xxx_iva_hwmod = { |
103 | .name = "iva", | 109 | .name = "iva", |
104 | .class = &iva_hwmod_class, | 110 | .class = &iva_hwmod_class, |
111 | .clkdm_name = "iva2_clkdm", | ||
112 | .rst_lines = omap3xxx_iva_resets, | ||
113 | .rst_lines_cnt = ARRAY_SIZE(omap3xxx_iva_resets), | ||
114 | .main_clk = "iva2_ck", | ||
105 | }; | 115 | }; |
106 | 116 | ||
107 | /* timer class */ | 117 | /* timer class */ |