]> git.sur5r.net Git - u-boot/blobdiff - drivers/clk/at91/Kconfig
clk: clk_stm32f: Use PLLSAIP as USB 48MHz clock
[u-boot] / drivers / clk / at91 / Kconfig
index c6c57618c149a2fc514d687c64ea76805688eb30..8d482a275239c64e6303e3f9bc32ed63ffc01869 100644 (file)
@@ -14,11 +14,11 @@ config CLK_AT91
 
 config AT91_UTMI
        bool "Support UTMI PLL Clock"
 
 config AT91_UTMI
        bool "Support UTMI PLL Clock"
-       depends on CLK_AT91 && SPL_DM
+       depends on CLK_AT91
        select REGMAP
        select REGMAP
-       select SPL_REGMAP
+       select SPL_REGMAP if SPL_DM
        select SYSCON
        select SYSCON
-       select SPL_SYSCON
+       select SPL_SYSCON if SPL_DM
        help
          This option is used to enable the AT91 UTMI PLL clock
          driver. It is the clock provider of USB, and UPLLCK is the
        help
          This option is used to enable the AT91 UTMI PLL clock
          driver. It is the clock provider of USB, and UPLLCK is the
@@ -27,6 +27,14 @@ config AT91_UTMI
          fast crystal oscillator to meet the frequency accuracy
          required by USB.
 
          fast crystal oscillator to meet the frequency accuracy
          required by USB.
 
+config AT91_USB_CLK
+       bool "Support USB OHCI Input Clock"
+       depends on CLK_AT91
+       help
+         This option is used to enable the USB Input Clock, from
+         the device tree, configure the USBS bit (PLLA or UTMI PLL)
+         and USBDIV field of the PMC_USB register.
+
 config AT91_H32MX
        bool "Support H32MX 32-bit Matrix Clock"
        depends on CLK_AT91
 config AT91_H32MX
        bool "Support H32MX 32-bit Matrix Clock"
        depends on CLK_AT91