Re: [U-Boot] [PATCH] regmap: add regmap_update_bits() helper

2018-04-30 Thread Simon Glass
Hi Neil, On 26 April 2018 at 09:23, Neil Armstrong wrote: > Hi, > > On 26/04/2018 16:40, Simon Glass wrote: >> Hi Neil, >> >> On 23 April 2018 at 08:16, Neil Armstrong wrote: >>> Add the regmap_update_bits() to simply the read/modify/write of registers >>> in a single command. The function is ta

Re: [U-Boot] [PATCH] regmap: add regmap_update_bits() helper

2018-04-26 Thread Neil Armstrong
Hi, On 26/04/2018 16:40, Simon Glass wrote: > Hi Neil, > > On 23 April 2018 at 08:16, Neil Armstrong wrote: >> Add the regmap_update_bits() to simply the read/modify/write of registers >> in a single command. The function is taken from Linux regmap >> implementation. >> >> Signed-off-by: Neil Ar

Re: [U-Boot] [PATCH] regmap: add regmap_update_bits() helper

2018-04-26 Thread Simon Glass
Hi Neil, On 23 April 2018 at 08:16, Neil Armstrong wrote: > Add the regmap_update_bits() to simply the read/modify/write of registers > in a single command. The function is taken from Linux regmap > implementation. > > Signed-off-by: Neil Armstrong > --- > include/regmap.h | 23

[U-Boot] [PATCH] regmap: add regmap_update_bits() helper

2018-04-23 Thread Neil Armstrong
Add the regmap_update_bits() to simply the read/modify/write of registers in a single command. The function is taken from Linux regmap implementation. Signed-off-by: Neil Armstrong --- include/regmap.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/include/regmap.h