diff options
author | Raul E Rangel <rrangel@chromium.org> | 2020-04-22 10:13:54 -0600 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2020-05-28 05:50:47 +0200 |
commit | f6f9a016899e62cb65016421a09fd3fe06ce660f (patch) | |
tree | 7299dc642a1add52341f36fbae4c008dbf8e1dcf /drivers/watchdog/wdt-uclass.c | |
parent | bcf08503f571553074a4e9563977225446c183fa (diff) |
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 'drivers/watchdog/wdt-uclass.c')
0 files changed, 0 insertions, 0 deletions