commit | 2aefa6e3f2ab621483ca645b16c7bf8cb9334fa3 | [log] [tgz] |
---|---|---|
author | Sebastian Reichel <sebastian.reichel@collabora.com> | Thu Jul 15 17:39:59 2021 +0200 |
committer | Heiko Schocher <hs@denx.de> | Sun Aug 22 10:52:53 2021 +0200 |
tree | ce32ac1a9ee05266489dd58f9ff0ade8852e51cb | |
parent | 79d389a54891a67269bfa366f044a2079409e499 [diff] |
i2c: add dm_i2c_reg_clrset Add function to apply a bitmask to an i2c register, so that specific bits can be cleared and/or set. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Simon Glass <sjg@chromium.org>