[U-Boot] [PATCH V2 2/4] imx: lpi2c: fix clock issue when NACK detected

Heiko Schocher hs at denx.de
Thu Jul 12 14:09:47 UTC 2018


Hello Peng,

Am 08.07.2018 um 05:46 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>
> Reviewed-by: Heiko Schocher <hs at denx.de>
> ---
> 
> V2: Add review tag
> 
>   drivers/i2c/imx_lpi2c.c | 14 ++++++++++----
>   1 file changed, 10 insertions(+), 4 deletions(-)

Applied to u-boot-i2c.git master

Thanks!

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