aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2011-07-10 07:27:16 -0400
committerPaul Walmsley <paul@pwsan.com>2011-07-10 07:27:16 -0400
commit4d4441a6221ca3a30290045b7b696e5134646449 (patch)
treee500cd69a55ada19ead4d556e6402e3557644d21 /arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
parentdb791a75299bb6212ec984bdbe4ab581dbc07902 (diff)
I2C: OMAP2+: add correct functionality flags to all omap2plus i2c dev_attr
This adds the new functionality flags for omap i2c unit to all OMAP2 hwmod definitions Cc: patches@linaro.org Cc: Ben Dooks <ben-linux@fluff.org> Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andy Green <andy.green@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Kevin Hilman <khilman@ti.com> 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.c9
1 files changed, 9 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 58ec1e220cb..c704ac8ca6b 100644
--- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
@@ -1608,6 +1608,9 @@ static struct omap_hwmod omap3xxx_dss_venc_hwmod = {
1608 1608
1609static struct omap_i2c_dev_attr i2c1_dev_attr = { 1609static struct omap_i2c_dev_attr i2c1_dev_attr = {
1610 .fifo_depth = 8, /* bytes */ 1610 .fifo_depth = 8, /* bytes */
1611 .flags = OMAP_I2C_FLAG_APPLY_ERRATA_I207 |
1612 OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
1613 OMAP_I2C_FLAG_BUS_SHIFT_2,
1611}; 1614};
1612 1615
1613static struct omap_hwmod_ocp_if *omap3xxx_i2c1_slaves[] = { 1616static struct omap_hwmod_ocp_if *omap3xxx_i2c1_slaves[] = {
@@ -1640,6 +1643,9 @@ static struct omap_hwmod omap3xxx_i2c1_hwmod = {
1640 1643
1641static struct omap_i2c_dev_attr i2c2_dev_attr = { 1644static struct omap_i2c_dev_attr i2c2_dev_attr = {
1642 .fifo_depth = 8, /* bytes */ 1645 .fifo_depth = 8, /* bytes */
1646 .flags = OMAP_I2C_FLAG_APPLY_ERRATA_I207 |
1647 OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
1648 OMAP_I2C_FLAG_BUS_SHIFT_2,
1643}; 1649};
1644 1650
1645static struct omap_hwmod_ocp_if *omap3xxx_i2c2_slaves[] = { 1651static struct omap_hwmod_ocp_if *omap3xxx_i2c2_slaves[] = {
@@ -1672,6 +1678,9 @@ static struct omap_hwmod omap3xxx_i2c2_hwmod = {
1672 1678
1673static struct omap_i2c_dev_attr i2c3_dev_attr = { 1679static struct omap_i2c_dev_attr i2c3_dev_attr = {
1674 .fifo_depth = 64, /* bytes */ 1680 .fifo_depth = 64, /* bytes */
1681 .flags = OMAP_I2C_FLAG_APPLY_ERRATA_I207 |
1682 OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
1683 OMAP_I2C_FLAG_BUS_SHIFT_2,
1675}; 1684};
1676 1685
1677static struct omap_hwmod_irq_info i2c3_mpu_irqs[] = { 1686static struct omap_hwmod_irq_info i2c3_mpu_irqs[] = {