clk: sandbox: Add sandbox test code for Common Clock Framework [CCF]
[oweals/u-boot.git] / drivers / clk / Kconfig
index ff60fc5c45f5dfb3a4facc223a1e42812a864255..9399bb79e9a82dd09f08868fd2a8ba94e08e6dc0 100644 (file)
@@ -46,6 +46,20 @@ config CLK_BOSTON
        help
          Enable this to support the clocks
 
+config SPL_CLK_CCF
+       bool "SPL Common Clock Framework [CCF] support "
+       depends on SPL_CLK_IMX6Q
+       help
+         Enable this option if you want to (re-)use the Linux kernel's Common
+         Clock Framework [CCF] code in U-Boot's SPL.
+
+config CLK_CCF
+       bool "Common Clock Framework [CCF] support "
+       depends on CLK_IMX6Q || SANDBOX_CLK_CCF
+       help
+         Enable this option if you want to (re-)use the Linux kernel's Common
+         Clock Framework [CCF] code in U-Boot's clock driver.
+
 config CLK_STM32F
        bool "Enable clock driver support for STM32F family"
        depends on CLK && (STM32F7 || STM32F4)
@@ -101,6 +115,7 @@ config CLK_STM32MP1
 source "drivers/clk/at91/Kconfig"
 source "drivers/clk/exynos/Kconfig"
 source "drivers/clk/imx/Kconfig"
+source "drivers/clk/meson/Kconfig"
 source "drivers/clk/mvebu/Kconfig"
 source "drivers/clk/owl/Kconfig"
 source "drivers/clk/renesas/Kconfig"
@@ -123,4 +138,12 @@ config CLK_MPC83XX
        help
          Support for the clock driver of the MPC83xx series of SoCs.
 
+config SANDBOX_CLK_CCF
+       bool "Sandbox Common Clock Framework [CCF] support "
+       depends on SANDBOX
+       select CLK_CCF
+       help
+         Enable this option if you want to test the Linux kernel's Common
+         Clock Framework [CCF] code in U-Boot's Sandbox clock driver.
+
 endmenu