From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 26 Apr 2018 08:40:30 -0600 Subject: [U-Boot] [PATCH v2 3/4] regmap: change regmap_init_mem() to take ofnode instead udevice In-Reply-To: <1524107644-28849-4-git-send-email-yamada.masahiro@socionext.com> References: <1524107644-28849-1-git-send-email-yamada.masahiro@socionext.com> <1524107644-28849-4-git-send-email-yamada.masahiro@socionext.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 take a device node. > > Signed-off-by: Masahiro Yamada > Acked-by: Neil Armstrong > --- > > Changes in v2: None > > arch/arm/mach-aspeed/ast2500/sdram_ast2500.c | 2 +- > drivers/core/regmap.c | 11 +++++------ > drivers/core/syscon-uclass.c | 2 +- > drivers/phy/meson-gxl-usb2.c | 2 +- > drivers/phy/meson-gxl-usb3.c | 2 +- > drivers/ram/rockchip/dmc-rk3368.c | 2 +- > drivers/ram/rockchip/sdram_rk3188.c | 2 +- > drivers/ram/rockchip/sdram_rk322x.c | 2 +- > drivers/ram/rockchip/sdram_rk3288.c | 2 +- > drivers/ram/rockchip/sdram_rk3399.c | 2 +- > drivers/ram/stm32mp1/stm32mp1_ram.c | 2 +- > drivers/reset/reset-meson.c | 2 +- > include/regmap.h | 4 ++-- > 13 files changed, 18 insertions(+), 19 deletions(-) Reviewed-by: Simon Glass