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 <jus...@tidylabs.net>
---

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 da84b35e804..ad935b81ae1 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -110,6 +110,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 && 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
-- 
2.45.3

Reply via email to