[U-Boot] [PATCH] i2c:designware Turn off the ctrl when setting the speed

Heiko Schocher hs at denx.de
Tue Apr 24 11:11:33 CEST 2012


Hello Amit,

Amit Virdi wrote:
> From: Armando Visconti <armando.visconti at st.com>
> 
> The designware i2c controller must be turned off before
> setting the speed in IC_CON register, as stated in the
> section 6.3.1 of the dw_apb_i2c_db.pdf.
> 
> Signed-off-by: Michel Sanches <michel.sanches at st.com>
> Signed-off-by: Armando Visconti <armando.visconti at st.com>
> Signed-off-by: Amit Virdi <amit.virdi at st.com>
> ---
>  drivers/i2c/designware_i2c.c |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)

Applied to u-boot-i2c.git

Thanks!

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