diff options
author | Tom Rini <trini@ti.com> | 2012-09-17 11:39:03 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-09-17 11:39:03 -0700 |
commit | 037e9d33db9fc86c1e671d64077b2d1a19df7f24 (patch) | |
tree | 3fac46460bf6c39eb9775bcc0e1970042666292d /include/i2c.h | |
parent | cd40a66c197fd43f761fa398cf785ff1a86250de (diff) | |
parent | fd8dca83ed4b9d960d3b9a0450da12bb32f512f8 (diff) | |
download | u-boot-imx-037e9d33db9fc86c1e671d64077b2d1a19df7f24.zip u-boot-imx-037e9d33db9fc86c1e671d64077b2d1a19df7f24.tar.gz u-boot-imx-037e9d33db9fc86c1e671d64077b2d1a19df7f24.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-i2c
Diffstat (limited to 'include/i2c.h')
-rw-r--r-- | include/i2c.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/i2c.h b/include/i2c.h index 1f35acf..16f099d 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -250,4 +250,16 @@ static inline void I2C_SET_BUS(unsigned int bus) i2c_set_bus_num(bus); } +/* Multi I2C definitions */ +enum { + I2C_0, I2C_1, I2C_2, I2C_3, I2C_4, I2C_5, I2C_6, I2C_7, + I2C_8, I2C_9, I2C_10, +}; + +/* Multi I2C busses handling */ +#ifdef CONFIG_SOFT_I2C_MULTI_BUS +extern int get_multi_scl_pin(void); +extern int get_multi_sda_pin(void); +extern int multi_i2c_init(void); +#endif #endif /* _I2C_H_ */ |