]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/clk/Kconfig
Merge remote-tracking branch 'clk/clk-next'
[karo-tx-linux.git] / drivers / clk / Kconfig
index 67826167a0e0af6ebf5fcca662e04554ab89569d..c3e3a02f7f1f9b288ac93a524db3615f6abb72ae 100644 (file)
@@ -14,6 +14,7 @@ config COMMON_CLK
        select HAVE_CLK_PREPARE
        select CLKDEV_LOOKUP
        select SRCU
+       select RATIONAL
        ---help---
          The common clock framework is a single definition of struct
          clk, useful across many platforms, as well as an
@@ -78,6 +79,16 @@ config COMMON_CLK_SI5351
          This driver supports Silicon Labs 5351A/B/C programmable clock
          generators.
 
+config COMMON_CLK_SI514
+       tristate "Clock driver for SiLabs 514 devices"
+       depends on I2C
+       depends on OF
+       select REGMAP_I2C
+       help
+       ---help---
+         This driver supports the Silicon Labs 514 programmable clock
+         generator.
+
 config COMMON_CLK_SI570
        tristate "Clock driver for SiLabs 570 and compatible devices"
        depends on I2C
@@ -123,7 +134,7 @@ config CLK_TWL6040
 
 config COMMON_CLK_AXI_CLKGEN
        tristate "AXI clkgen driver"
-       depends on ARCH_ZYNQ || MICROBLAZE
+       depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
        help
        ---help---
          Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
@@ -131,7 +142,7 @@ config COMMON_CLK_AXI_CLKGEN
 
 config CLK_QORIQ
        bool "Clock driver for Freescale QorIQ platforms"
-       depends on (PPC_E500MC || ARM || ARM64) && OF
+       depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
        ---help---
          This adds the clock driver support for Freescale QorIQ platforms
          using common clock framework.
@@ -139,13 +150,13 @@ config CLK_QORIQ
 config COMMON_CLK_XGENE
        bool "Clock driver for APM XGene SoC"
        default y
-       depends on ARM64
+       depends on ARM64 || COMPILE_TEST
        ---help---
          Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
 
 config COMMON_CLK_KEYSTONE
        tristate "Clock drivers for Keystone based SOCs"
-       depends on ARCH_KEYSTONE && OF
+       depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
        ---help---
           Supports clock drivers for Keystone based SOCs. These SOCs have local
          a power sleep control module that gate the clock to the IPs and PLLs.