Re: [U-Boot] [PATCH 04/13] regmap: Add API regmap_init_mem_index()

2019-01-29 Thread Tom Rini
On Mon, Jan 28, 2019 at 12:15:22PM +0530, Faiz Abbas wrote: > In device nodes with more than one entry in the reg property, > it is sometimes useful to regmap only of the entries. Add an > API regmap_init_mem_index() to facilitate this. > > Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --

[U-Boot] [PATCH 04/13] regmap: Add API regmap_init_mem_index()

2019-01-27 Thread Faiz Abbas
In device nodes with more than one entry in the reg property, it is sometimes useful to regmap only of the entries. Add an API regmap_init_mem_index() to facilitate this. Signed-off-by: Faiz Abbas --- drivers/core/regmap.c | 42 ++ include/regmap.h |