]> git.baikalelectronics.ru Git - uboot.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)
commit57171f7a3749a3bf066ad9a6d67026397b7d0fbb
tree955eebd685bb3d032d46470557c91690b65d3b87
parent601d827e41b85bc8a3426a0a324a5b395b7b3ae1
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