mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
i2c: add i2c deblock sequence before and after every mux config
To make sure that the mux can be configured a deblocking sequence is done before the mux configuration. After the mux switch the new leaf of, the i2c tree must be again deblocked. Signed-off-by: Stefan Bigler <stefan.bigler@keymile.com> Acked-by: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de> cc: Detlev Zundel <dzu@denx.de> cc: Prafulla Wadaskar <prafulla@marvell.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
This commit is contained in:

committed by
Heiko Schocher

parent
a000b7950d
commit
c649dda537
@ -108,9 +108,7 @@
|
||||
* repeatedly to change the speed and slave addresses.
|
||||
*/
|
||||
void i2c_init(int speed, int slaveaddr);
|
||||
#ifdef CONFIG_SYS_I2C_INIT_BOARD
|
||||
void i2c_init_board(void);
|
||||
#endif
|
||||
#ifdef CONFIG_SYS_I2C_BOARD_LATE_INIT
|
||||
void i2c_board_late_init(void);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user