# SPDX-License-Identifier: GPL-2.0-only config HAVE_CLK bool help The calls support software clock gating and thus are a key power management tool on many systems. config HAVE_LEGACY_CLK select HAVE_CLK bool help Select this option when the clock API in is implemented by platform/architecture code. This method is deprecated. Modern code should select COMMON_CLK instead and not define a custom 'struct clk'. config CLKDEV_LOOKUP bool config COMMON_CLK bool "Common Clock Framework" depends on !HAVE_LEGACY_CLK select HAVE_CLK select CLKDEV_LOOKUP help The common clock framework is a single definition of struct clk, useful across many platforms, as well as an implementation of the clock API in include/linux/clk.h. Architectures utilizing the common struct clk should select this option. config COMMON_CLK_OF_PROVIDER bool depends on OFTREE help Clock driver provides OF-Tree based clock lookup. config CLK_SOCFPGA bool select COMMON_CLK_OF_PROVIDER default y if ARCH_SOCFPGA && OFDEVICE if COMMON_CLK config COMMON_CLK_STM32F bool "STM32F4 and STM32F7 clock driver" if COMPILE_TEST depends on ARCH_STM32 help Support for stm32f4 and stm32f7 SoC families clocks config COMMON_CLK_STM32MP135 def_bool ARCH_STM32MP13 help Support for stm32mp135 SoC family clocks config COMMON_CLK_STM32MP157 def_bool ARCH_STM32MP157 help Support for stm32mp157 SoC family clocks config COMMON_CLK_SCMI tristate "Clock driver controlled via SCMI interface" depends on ARM_SCMI_PROTOCOL || COMPILE_TEST help This driver provides support for clocks that are controlled by firmware that implements the SCMI interface. This driver uses SCMI Message Protocol to interact with the firmware providing all the clock controls. config TI_SCI_CLK tristate "TI System Control Interface clock drivers" depends on TI_SCI_PROTOCOL default ARCH_K3 help This adds the clock driver support over TI System Control Interface. If you wish to use clock resources from the PMMC firmware, say Y. Otherwise, say N. config COMMON_CLK_GPIO bool default y depends on COMMON_CLK_OF_PROVIDER source "drivers/clk/sifive/Kconfig" endif