aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-04-22 10:13:54 -0600
committerHeiko Schocher <hs@denx.de>2020-05-28 05:50:47 +0200
commitf6f9a016899e62cb65016421a09fd3fe06ce660f (patch)
tree7299dc642a1add52341f36fbae4c008dbf8e1dcf /fs
parentbcf08503f571553074a4e9563977225446c183fa (diff)
downloadu-boot-f6f9a016899e62cb65016421a09fd3fe06ce660f.zip
u-boot-f6f9a016899e62cb65016421a09fd3fe06ce660f.tar.gz
u-boot-f6f9a016899e62cb65016421a09fd3fe06ce660f.tar.bz2
i2c: designware_i2c: Check if the device is powered
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@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Tested on chromebook_coral: Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions