Re: [U-Boot] [PATCH v3 09/13] regmap: Define regmap_{get,set}

2018-08-01 Thread Anatolij Gustschin
On Tue, 31 Jul 2018 12:01:06 +0200 Mario Six mario@gdsys.cc wrote: > It would be convenient if one could use the regmap API in conjunction > with register maps defined as structs (i.e. structs that directly mirror > the memory layout of the registers in question). A similar approach was > plan

[U-Boot] [PATCH v3 09/13] regmap: Define regmap_{get,set}

2018-07-31 Thread Mario Six
It would be convenient if one could use the regmap API in conjunction with register maps defined as structs (i.e. structs that directly mirror the memory layout of the registers in question). A similar approach was planned with the regmap_write32/regmap_read32 macros, but was never used. Hence, im