rockchip: io-domain: Add CONFIG_SPL_ROCKCHIP_IODOMAIN
authorJustin Klaassen <justin@tidylabs.net>
Fri, 23 May 2025 16:53:38 +0000 (16:53 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 6 Jun 2025 09:21:54 +0000 (17:21 +0800)
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@tidylabs.net>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/misc/Kconfig

index ffc5868..8b8f630 100644 (file)
@@ -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