From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masahiro Yamada Date: Wed, 18 Apr 2018 11:38:41 +0900 Subject: [U-Boot] [PATCH 0/4] Add Linux-compatible syscon_to_regmap API Message-ID: <1524019125-26287-1-git-send-email-yamada.masahiro@socionext.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The current syscon in U-Boot works differently from Linux. Therefore, DT files imported from Linux do not work for U-Boot. The current usage of syscon in U-Boot should be discouraged because using different DT-binding across projects is a significant problem. Masahiro Yamada (4): regmap: clean up regmap allocation dm: ofnode: add ofnode_device_is_compatible() helper regmap: change regmap_init_mem() to take ofnode instead udevice syscon: add Linux-compatible syscon API arch/arm/mach-aspeed/ast2500/sdram_ast2500.c | 2 +- drivers/core/device.c | 8 +--- drivers/core/ofnode.c | 11 +++++ drivers/core/regmap.c | 42 ++++++------------ drivers/core/syscon-uclass.c | 65 +++++++++++++++++++++++++++- 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/dm/ofnode.h | 11 +++++ include/regmap.h | 11 ++--- include/syscon.h | 8 ++++ 17 files changed, 123 insertions(+), 53 deletions(-) -- 2.7.4