diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_44xx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index 55331df4e452..5d5df49749df 100644 --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | #include <plat/omap_hwmod.h> | 23 | #include <plat/omap_hwmod.h> |
24 | #include <plat/cpu.h> | 24 | #include <plat/cpu.h> |
25 | #include <plat/i2c.h> | ||
25 | #include <plat/gpio.h> | 26 | #include <plat/gpio.h> |
26 | #include <plat/dma.h> | 27 | #include <plat/dma.h> |
27 | #include <plat/mcspi.h> | 28 | #include <plat/mcspi.h> |
@@ -2162,6 +2163,7 @@ static struct omap_hwmod_class omap44xx_i2c_hwmod_class = { | |||
2162 | .name = "i2c", | 2163 | .name = "i2c", |
2163 | .sysc = &omap44xx_i2c_sysc, | 2164 | .sysc = &omap44xx_i2c_sysc, |
2164 | .rev = OMAP_I2C_IP_VERSION_2, | 2165 | .rev = OMAP_I2C_IP_VERSION_2, |
2166 | .reset = &omap_i2c_reset, | ||
2165 | }; | 2167 | }; |
2166 | 2168 | ||
2167 | static struct omap_i2c_dev_attr i2c_dev_attr = { | 2169 | static struct omap_i2c_dev_attr i2c_dev_attr = { |
@@ -2207,7 +2209,7 @@ static struct omap_hwmod_ocp_if *omap44xx_i2c1_slaves[] = { | |||
2207 | static struct omap_hwmod omap44xx_i2c1_hwmod = { | 2209 | static struct omap_hwmod omap44xx_i2c1_hwmod = { |
2208 | .name = "i2c1", | 2210 | .name = "i2c1", |
2209 | .class = &omap44xx_i2c_hwmod_class, | 2211 | .class = &omap44xx_i2c_hwmod_class, |
2210 | .flags = HWMOD_16BIT_REG | HWMOD_INIT_NO_RESET, | 2212 | .flags = HWMOD_16BIT_REG, |
2211 | .mpu_irqs = omap44xx_i2c1_irqs, | 2213 | .mpu_irqs = omap44xx_i2c1_irqs, |
2212 | .sdma_reqs = omap44xx_i2c1_sdma_reqs, | 2214 | .sdma_reqs = omap44xx_i2c1_sdma_reqs, |
2213 | .main_clk = "i2c1_fck", | 2215 | .main_clk = "i2c1_fck", |
@@ -2261,7 +2263,7 @@ static struct omap_hwmod_ocp_if *omap44xx_i2c2_slaves[] = { | |||
2261 | static struct omap_hwmod omap44xx_i2c2_hwmod = { | 2263 | static struct omap_hwmod omap44xx_i2c2_hwmod = { |
2262 | .name = "i2c2", | 2264 | .name = "i2c2", |
2263 | .class = &omap44xx_i2c_hwmod_class, | 2265 | .class = &omap44xx_i2c_hwmod_class, |
2264 | .flags = HWMOD_16BIT_REG | HWMOD_INIT_NO_RESET, | 2266 | .flags = HWMOD_16BIT_REG, |
2265 | .mpu_irqs = omap44xx_i2c2_irqs, | 2267 | .mpu_irqs = omap44xx_i2c2_irqs, |
2266 | .sdma_reqs = omap44xx_i2c2_sdma_reqs, | 2268 | .sdma_reqs = omap44xx_i2c2_sdma_reqs, |
2267 | .main_clk = "i2c2_fck", | 2269 | .main_clk = "i2c2_fck", |
@@ -2315,7 +2317,7 @@ static struct omap_hwmod_ocp_if *omap44xx_i2c3_slaves[] = { | |||
2315 | static struct omap_hwmod omap44xx_i2c3_hwmod = { | 2317 | static struct omap_hwmod omap44xx_i2c3_hwmod = { |
2316 | .name = "i2c3", | 2318 | .name = "i2c3", |
2317 | .class = &omap44xx_i2c_hwmod_class, | 2319 | .class = &omap44xx_i2c_hwmod_class, |
2318 | .flags = HWMOD_16BIT_REG | HWMOD_INIT_NO_RESET, | 2320 | .flags = HWMOD_16BIT_REG, |
2319 | .mpu_irqs = omap44xx_i2c3_irqs, | 2321 | .mpu_irqs = omap44xx_i2c3_irqs, |
2320 | .sdma_reqs = omap44xx_i2c3_sdma_reqs, | 2322 | .sdma_reqs = omap44xx_i2c3_sdma_reqs, |
2321 | .main_clk = "i2c3_fck", | 2323 | .main_clk = "i2c3_fck", |
@@ -2369,7 +2371,7 @@ static struct omap_hwmod_ocp_if *omap44xx_i2c4_slaves[] = { | |||
2369 | static struct omap_hwmod omap44xx_i2c4_hwmod = { | 2371 | static struct omap_hwmod omap44xx_i2c4_hwmod = { |
2370 | .name = "i2c4", | 2372 | .name = "i2c4", |
2371 | .class = &omap44xx_i2c_hwmod_class, | 2373 | .class = &omap44xx_i2c_hwmod_class, |
2372 | .flags = HWMOD_16BIT_REG | HWMOD_INIT_NO_RESET, | 2374 | .flags = HWMOD_16BIT_REG, |
2373 | .mpu_irqs = omap44xx_i2c4_irqs, | 2375 | .mpu_irqs = omap44xx_i2c4_irqs, |
2374 | .sdma_reqs = omap44xx_i2c4_sdma_reqs, | 2376 | .sdma_reqs = omap44xx_i2c4_sdma_reqs, |
2375 | .main_clk = "i2c4_fck", | 2377 | .main_clk = "i2c4_fck", |