Hi Alexey, On 1/20/2026 7:09 PM, Alexey Charkov wrote: > Enable the Rockchip reset controller driver in SPL to allow resetting > attached devices like UFS during early boot. > > Signed-off-by: Alexey Charkov <[email protected]> > --- > drivers/reset/Kconfig | 9 +++++++++ > drivers/reset/Makefile | 2 +- > 2 files changed, 10 insertions(+), 1 deletion(-) > > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig > index 74c267dfc4e5..d35f3904e404 100644 > --- a/drivers/reset/Kconfig > +++ b/drivers/reset/Kconfig > @@ -99,6 +99,15 @@ config RESET_ROCKCHIP > though is that some reset signals, like I2C or MISC reset multiple > devices. > > +config SPL_RESET_ROCKCHIP > + bool "SPL reset controller driver for Rockchip SoCs" > + depends on SPL_DM_RESET && ARCH_ROCKCHIP && CLK
This should probably depend on SPL_CLK not CLK. > + default y > + help > + Support for the reset controller on Rockchip SoCs in SPL. Select this > + if you observe any reset-related warnings or errors when booting SPL, > + such as when using UFS storage > + > config RESET_HSDK > bool "Synopsys HSDK Reset Driver" > depends on DM_RESET && TARGET_HSDK > diff --git a/drivers/reset/Makefile b/drivers/reset/Makefile > index ee5b009d1341..dc7d3b610e6e 100644 > --- a/drivers/reset/Makefile > +++ b/drivers/reset/Makefile > @@ -16,7 +16,7 @@ obj-$(CONFIG_RESET_BCM6345) += reset-bcm6345.o > obj-$(CONFIG_RESET_UNIPHIER) += reset-uniphier.o > obj-$(CONFIG_RESET_AST2500) += reset-ast2500.o > obj-$(CONFIG_RESET_AST2600) += reset-ast2600.o > -obj-$(CONFIG_RESET_ROCKCHIP) += reset-rockchip.o rst-rk3528.o rst-rk3576.o > rst-rk3588.o > +obj-$(CONFIG_$(PHASE_)RESET_ROCKCHIP) += reset-rockchip.o rst-rk3528.o > rst-rk3576.o rst-rk3588.o Please rebase on next, this line now include rst-rk3506.o. With both fixed this is: Reviewed-by: Jonas Karlman <[email protected]> Regards, Jonas > obj-$(CONFIG_RESET_MESON) += reset-meson.o > obj-$(CONFIG_RESET_SOCFPGA) += reset-socfpga.o > obj-$(CONFIG_RESET_MEDIATEK) += reset-mediatek.o >

