[PATCHv2 1/2] i2c: add dm_i2c_reg_clrset

Heiko Schocher hs at denx.de
Mon Aug 23 06:31:03 CEST 2021


Hello Sebstian,

On 15.07.21 17:39, Sebastian Reichel wrote:
> 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 at chromium.org>
> Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
> ---
>  drivers/i2c/i2c-uclass.c | 15 +++++++++++++++
>  include/i2c.h            | 14 ++++++++++++++
>  test/dm/i2c.c            | 29 +++++++++++++++++++++++++++++
>  3 files changed, 58 insertions(+)

Applied to u-boot-i2c.git master

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list