regmap: change regmap_init_mem() to take ofnode instead udeviceCurrently, regmap_init_mem() takes a udevice. This requires the nodehas already been associated with a device. It prevents syscon/reg
regmap: change regmap_init_mem() to take ofnode instead udeviceCurrently, regmap_init_mem() takes a udevice. This requires the nodehas already been associated with a device. It prevents syscon/regmapfrom behaving like those in Linux.Change the first argumenet to take a device node.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Acked-by: Neil Armstrong <narmstrong@baylibre.com>Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
SPDX: Convert all of our multiple license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. S
SPDX: Convert all of our multiple license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline in a file (except where shebangs are used, then it's second line)and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have multiple licenses (inthese cases, dual license) declared in the SPDX-License-Identifier tag.In this case we change from listing "LICENSE-A LICENSE-B" or "LICENSE-Aor LICENSE-B" or "(LICENSE-A OR LICENSE-B)" to "LICENSE-A OR LICENSE-B"as per the Linux Kernel style document. Note that parenthesis areallowed so when they were used before we continue to use them.Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>Signed-off-by: Tom Rini <trini@konsulko.com>
Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTRWe have a large number of places where while we historically referencedgd in the code we no longer do, as well as cases where the code added
Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTRWe have a large number of places where while we historically referencedgd in the code we no longer do, as well as cases where the code addedthat line "just in case" during development and never dropped it.Signed-off-by: Tom Rini <trini@konsulko.com>
ram: stm32mp1: add driverAdd driver and binding for stm32mp1 ddr controller and phySigned-off-by: Patrick Delaunay <patrick.delaunay@st.com>