]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: mvtwsi: Add support for DM clocks and resets
authorSamuel Holland <samuel@sholland.org>
Sun, 12 Sep 2021 15:21:39 +0000 (10:21 -0500)
committerHeiko Schocher <hs@denx.de>
Tue, 28 Sep 2021 04:34:27 +0000 (06:34 +0200)
commit06cec894a5c37e79afd81eaaec7f1325b55f3e32
tree955eebd685bb3d032d46470557c91690b65d3b87
parente53979cd34320c67c8d0213618c2999a45e0d578
i2c: mvtwsi: Add support for DM clocks and resets

The controller may need to have clocks/resets enabled for it to work.
Add support for this. Since the clocks/resets are optional on some
platforms (per the device tree binding), do not prevent probing the
controller if they are missing.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/mvtwsi.c