Hello Simon,

Am 22.04.2020 um 18:13 schrieb Simon Glass:
From: Raul E Rangel <rran...@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 <rran...@chromium.org>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Furquan Shaikh <furq...@chromium.org>
Tested on chromebook_coral:
Signed-off-by: Simon Glass <s...@chromium.org>
---

  drivers/i2c/designware_i2c.c | 17 +++++++++++++++++
  1 file changed, 17 insertions(+)

Applied to u-boot-i2c 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: h...@denx.de

Reply via email to