Re: [U-Boot] [PATCH v2 3/4] regmap: change regmap_init_mem() to take ofnode instead udevice

2018-04-26 Thread Simon Glass
On 18 April 2018 at 21:14, Masahiro Yamada wrote: > Currently, regmap_init_mem() takes a udevice. This requires the node > has already been associated with a device. It prevents syscon/regmap > from behaving like those in Linux. > > Change the first argumenet to

[U-Boot] [PATCH v2 3/4] regmap: change regmap_init_mem() to take ofnode instead udevice

2018-04-18 Thread Masahiro Yamada
Currently, regmap_init_mem() takes a udevice. This requires the node has already been associated with a device. It prevents syscon/regmap from behaving like those in Linux. Change the first argumenet to take a device node. Signed-off-by: Masahiro Yamada Acked-by: