[PATCH v4 2/5] rockchip: io-domain: Add CONFIG_SPL_ROCKCHIP_IODOMAIN

Kever Yang kever.yang at rock-chips.com
Fri Jun 6 11:20:33 CEST 2025


On 2025/5/24 00:53, Justin Klaassen wrote:
> Allows use of the Rockchip IO-domain driver in SPL to configure
> the GPIO to match the voltage supplied by specific regulators
> (e.g. "vcc_sdio").
>
> Signed-off-by: Justin Klaassen <justin at tidylabs.net>
> Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>
> (no changes since v3)
>
> Changes in v3:
> - Add depends on SPL_DM_REGULATOR
>
> Changes in v2:
> - Added separate patch for added CONFIG_SPL_ROCKCHIP_IODOMAIN Kconfig
>
>   drivers/misc/Kconfig | 8 ++++++++
>   1 file changed, 8 insertions(+)
>
> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> index ffc5868c0dd..8b8f6309ada 100644
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -114,6 +114,14 @@ config ROCKCHIP_IODOMAIN
>   	  for the IO-domain setting of the SoC to match the voltage supplied
>   	  by the regulators.
>   
> +config SPL_ROCKCHIP_IODOMAIN
> +	bool "Rockchip IO-domain driver support in SPL"
> +	depends on SPL_MISC && SPL_DM_REGULATOR && ARCH_ROCKCHIP
> +	help
> +	  Enable support for IO-domains in Rockchip SoCs in SPL. It is necessary
> +	  for the IO-domain setting of the SoC to match the voltage supplied
> +	  by the regulators.
> +
>   config SIFIVE_OTP
>   	bool "SiFive eMemory OTP driver"
>   	depends on MISC


More information about the U-Boot mailing list