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> Reviewed-by: Quentin Schulz <quentin.sch...@cherry.de> --- (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 -- 2.45.3