aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/i2c.h
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2010-09-21 19:37:13 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2010-11-09 09:29:13 -0800
commit4fe20e97c8b1082d16b38e9f4c53feeed143ab98 (patch)
tree648572477f3cd089cc2499e00985c41e5058aec2 /arch/arm/plat-omap/include/plat/i2c.h
parentOMAP2xxx: hwmod: add I2C hwmods for OMAP2420, 2430 (diff)
downloadlinux-dev-4fe20e97c8b1082d16b38e9f4c53feeed143ab98.tar.xz
linux-dev-4fe20e97c8b1082d16b38e9f4c53feeed143ab98.zip
OMAP3: hwmod: add I2C hwmods for OMAP3430
Add hwmod structures for I2C controllers on OMAP3430. This patch was developed in collaboration with Paul Walmsley <paul@pwsan.com>. OMAP3 fixes for correct IDLEST bit monitoring from G, Manjunath Kondaiah <manjugk@ti.com> Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: G, Manjunath Kondaiah <manjugk@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/i2c.h')
-rw-r--r--arch/arm/plat-omap/include/plat/i2c.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/i2c.h b/arch/arm/plat-omap/include/plat/i2c.h
index 36a0befd6168..878d632c4092 100644
--- a/arch/arm/plat-omap/include/plat/i2c.h
+++ b/arch/arm/plat-omap/include/plat/i2c.h
@@ -36,6 +36,19 @@ static inline int omap_register_i2c_bus(int bus_id, u32 clkrate,
}
#endif
+/**
+ * i2c_dev_attr - OMAP I2C controller device attributes for omap_hwmod
+ * @fifo_depth: total controller FIFO size (in bytes)
+ * @flags: differences in hardware support capability
+ *
+ * @fifo_depth represents what exists on the hardware, not what is
+ * actually configured at runtime by the device driver.
+ */
+struct omap_i2c_dev_attr {
+ u8 fifo_depth;
+ u8 flags;
+};
+
void __init omap1_i2c_mux_pins(int bus_id);
void __init omap2_i2c_mux_pins(int bus_id);