[U-Boot] [PATCH 24/41] imx: lpi2c: fix clock issue when NACK detected

Heiko Schocher hs at denx.de
Tue May 29 03:52:54 UTC 2018


Hello Peng,

Am 28.05.2018 um 14:25 schrieb Peng Fan:
> From: Gao Pan <pandy.gao at nxp.com>
> 
> For LPI2C IP, NACK is detected by the rising edge of the ninth clock.
> In current uboot driver, once NACK is detected, it will reset and then
> disable LPI2C master. As a result, we can never see the falling edge
> of the ninth clock.
> 
> Signed-off-by: Gao Pan <pandy.gao at nxp.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Cc: Heiko Schocher <hs at denx.de>
> ---
>   drivers/i2c/imx_lpi2c.c | 14 ++++++++++----
>   1 file changed, 10 insertions(+), 4 deletions(-)

Thanks!

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list