[U-Boot] designware_i2c: disable i2c controller during target address setup

Heiko Schocher hs at denx.de
Wed Nov 13 07:38:16 CET 2013


Hello Alexey,

Am 07.11.2013 14:52, schrieb Alexey Brodkin:
> As it is stated in DesignWare I2C databook: writes to IC_TAR (0x4)
> register succeed only when IC_ENABLE[0] is set to 0.
>
> Signed-off-by: Alexey Brodkin<abrodkin at synopsys.com>
>
> Cc: Tom Rini<trini at ti.com>
> cc: Armando Visconti<armando.visconti at st.com>
> Cc: Stefan Roese<sr at denx.de>
> Cc: Albert ARIBAUD<albert.u.boot at aribaud.net>
> Cc: Heiko Schocher<hs at denx.de>
> Cc: Vipin KUMAR<vipin.kumar at st.com>
> Cc: Tom Rix<Tom.Rix at windriver.com>
> Cc: Mischa Jonker<mjonker at synopsys.com>
>
> ---
> drivers/i2c/designware_i2c.c | 12 ++++++++++++
>   1 file changed, 12 insertions(+)

Thanks!

Applied to u-boot-i2c.git

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list