[PATCH 2/2] i2c: designware_i2c: Check if the device is powered

Heiko Schocher hs at denx.de
Sat May 30 05:47:38 CEST 2020

Hello Simon,

Am 22.04.2020 um 18:13 schrieb Simon Glass:
> From: Raul E Rangel <rrangel at chromium.org>
> If the device doesn't return a version that means the device is
> non-functional.
> The dw_i2c_regs had invalid offsets for the version field. I got the
> correct value from the DesignWare databook. It also matches what the
> Picasso PPR says.
> Signed-off-by: Raul E Rangel <rrangel at chromium.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Furquan Shaikh <furquan at chromium.org>
> Tested on chromebook_coral:
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>   drivers/i2c/designware_i2c.c | 17 +++++++++++++++++
>   1 file changed, 17 insertions(+)

Applied to u-boot-i2c master


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