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>
This commit is contained in:

committed by
Kevin Hilman

parent
2004290f55
commit
4fe20e97c8
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user