CONFIG_HAVE_CLK
The <linux/clk.h> calls support software clock gating and thus are a key power management tool on many systems.
CONFIG_HAVE_CLK_PREPARE
CONFIG_HAVE_LEGACY_CLK
Select this option when the clock API in <linux/clk.h> is implemented by platform/architecture code. This method is deprecated. Modern code should select COMMON_CLK instead and not define a custom 'struct clk'.
- Selects
HAVE_CLK
CONFIG_COMMON_CLK Common Clock Framework
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.
- Depends on
!HAVE_LEGACY_CLK - Selects
HAVE_CLK_PREPARE if !HAVE_LEGACY_CLK - Selects
HAVE_CLK if !HAVE_LEGACY_CLK - Selects
RATIONAL if !HAVE_LEGACY_CLK
If COMMON_CLK
CONFIG_COMMON_CLK_WM831X Clock driver for WM831x/2x PMICs
- Off
- Module
- Built in
Supports the clocking subsystem of the WM831x/2x series of PMICs from Wolfson Microelectronics.
- Depends on
COMMON_CLK && MFD_WM831X
CONFIG_CLK_HSDK PLL Driver for HSDK platform
This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs control.
- Depends on
COMMON_CLK && (ARC_SOC_HSDK || COMPILE_TEST) && HAS_IOMEM
CONFIG_LMK04832 Ti LMK04832 JESD204B Compliant Clock Jitter Cleaner
- Off
- Module
- Built in
Say yes here to build support for Texas Instruments' LMK04832 Ultra Low-Noise JESD204B Compliant Clock Jitter Cleaner With Dual Loop PLLs
- Depends on
COMMON_CLK && SPI - Selects
REGMAP_SPI if COMMON_CLK && SPI
CONFIG_COMMON_CLK_APPLE_NCO Clock driver for Apple SoC NCOs
- Off
- Module
- Built in
This driver supports NCO (Numerically Controlled Oscillator) blocks found on Apple SoCs such as t8103 (M1). The blocks are typically generators of audio clocks.
- Depends on
COMMON_CLK && (ARCH_APPLE || COMPILE_TEST)
CONFIG_COMMON_CLK_MAX77686 Clock driver for Maxim 77620/77686/77802 MFD
- Off
- Module
- Built in
This driver supports Maxim 77620/77686/77802 crystal oscillator clock.
- Depends on
COMMON_CLK && (MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST)
CONFIG_COMMON_CLK_MAX9485 Maxim 9485 Programmable Clock Generator
- Off
- Module
- Built in
This driver supports Maxim 9485 Programmable Audio Clock Generator
- Depends on
COMMON_CLK && I2C
CONFIG_COMMON_CLK_RK808 Clock driver for RK805/RK808/RK809/RK817/RK818
- Off
- Module
- Built in
This driver supports RK805, RK809 and RK817, RK808 and RK818 crystal oscillator clock. These multi-function devices have two fixed-rate oscillators, clocked at 32KHz each. Clkout1 is always on, Clkout2 can off by control register.
- Depends on
COMMON_CLK && MFD_RK8XX
CONFIG_COMMON_CLK_RP1 Raspberry Pi RP1-based clock support
- Off
- Module
- Built in
Enable common clock framework support for Raspberry Pi RP1. This multi-function device has 3 main PLLs and several clock generators to drive the internal sub-peripherals.
- Depends on
COMMON_CLK && (MISC_RP1 || COMPILE_TEST)
CONFIG_COMMON_CLK_HI655X Clock driver for Hi655x
- Off
- Module
- Built in
This driver supports the hi655x PMIC clock. This multi-function device has one fixed-rate oscillator, clocked at 32KHz.
- Depends on
COMMON_CLK && (MFD_HI655X_PMIC || COMPILE_TEST) - Selects
REGMAP if COMMON_CLK && (MFD_HI655X_PMIC || COMPILE_TEST)
CONFIG_COMMON_CLK_SCMI Clock driver controlled via SCMI interface
- Off
- Module
- Built in
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.
- Depends on
COMMON_CLK && (ARM_SCMI_PROTOCOL || COMPILE_TEST)
CONFIG_COMMON_CLK_SCPI Clock driver controlled via SCPI interface
- Off
- Module
- Built in
This driver provides support for clocks that are controlled by firmware that implements the SCPI interface.
This driver uses SCPI Message Protocol to interact with the firmware providing all the clock controls.
- Depends on
COMMON_CLK && (ARM_SCPI_PROTOCOL || COMPILE_TEST)
CONFIG_COMMON_CLK_SI5341 Clock driver for SiLabs 5341 and 5340 A/B/C/D devices
- Off
- Module
- Built in
This driver supports Silicon Labs Si5341 and Si5340 programmable clock generators. Not all features of these chips are currently supported by the driver, in particular it only supports XTAL input. The chip can be pre-programmed to support other configurations and features not yet implemented in the driver.
- Depends on
COMMON_CLK && I2C - Selects
REGMAP_I2C if COMMON_CLK && I2C
CONFIG_COMMON_CLK_SI5351 Clock driver for SiLabs 5351A/B/C
- Off
- Module
- Built in
This driver supports Silicon Labs 5351A/B/C programmable clock generators.
- Depends on
COMMON_CLK && I2C - Selects
REGMAP_I2C if COMMON_CLK && I2C
CONFIG_COMMON_CLK_SI514 Clock driver for SiLabs 514 devices
- Off
- Module
- Built in
This driver supports the Silicon Labs 514 programmable clock generator.
- Depends on
COMMON_CLK && I2C && OF - Selects
REGMAP_I2C if COMMON_CLK && I2C && OF
CONFIG_COMMON_CLK_SI544 Clock driver for SiLabs 544 and compatible devices
- Off
- Module
- Built in
This driver supports the Silicon Labs 544/549 programmable clock generators.
- Depends on
COMMON_CLK && I2C - Selects
REGMAP_I2C if COMMON_CLK && I2C
CONFIG_COMMON_CLK_SI570 Clock driver for SiLabs 570 and compatible devices
- Off
- Module
- Built in
This driver supports Silicon Labs 570/571/598/599 programmable clock generators.
- Depends on
COMMON_CLK && I2C && OF - Selects
REGMAP_I2C if COMMON_CLK && I2C && OF
CONFIG_COMMON_CLK_BM1880 Clock driver for Bitmain BM1880 SoC
This driver supports the clocks on Bitmain BM1880 SoC.
- Depends on
COMMON_CLK && (ARCH_BITMAIN || COMPILE_TEST)
CONFIG_COMMON_CLK_CDCE706 Clock driver for TI CDCE706 clock synthesizer
- Off
- Module
- Built in
This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
- Depends on
COMMON_CLK && I2C - Selects
REGMAP_I2C if COMMON_CLK && I2C
CONFIG_COMMON_CLK_TPS68470 Clock Driver for TI TPS68470 PMIC
- Off
- Module
- Built in
This driver supports the clocks provided by the TPS68470 PMIC.
- Depends on
COMMON_CLK && I2C && (INTEL_SKL_INT3472 || COMPILE_TEST) - Selects
REGMAP_I2C if COMMON_CLK && I2C && (INTEL_SKL_INT3472 || COMPILE_TEST)
CONFIG_COMMON_CLK_CDCE925 Clock driver for TI CDCE913/925/937/949 devices
- Off
- Module
- Built in
This driver supports the TI CDCE913/925/937/949 programmable clock synthesizer. Each chip has different number of PLLs and outputs. For example, the CDCE925 contains two PLLs with spread-spectrum clocking support and five output dividers. The driver only supports the following setup, and uses a fixed setting for the output muxes. Y1 is derived from the input clock Y2 and Y3 derive from PLL1 Y4 and Y5 derive from PLL2 Given a target output frequency, the driver will set the PLL and divider to best approximate the desired output.
- Depends on
COMMON_CLK && I2C && OF - Selects
REGMAP_I2C if COMMON_CLK && I2C && OF
CONFIG_COMMON_CLK_CS2000_CP Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier
- Off
- Module
- Built in
If you say yes here you get support for the CS2000 clock multiplier.
- Depends on
COMMON_CLK && I2C - Selects
REGMAP_I2C if COMMON_CLK && I2C
CONFIG_COMMON_CLK_EN7523 Clock driver for Airoha/EcoNet SoC system clocks
This driver provides the fixed clocks and gates present on Airoha and EcoNet silicon.
- Depends on
COMMON_CLK && OF && ( || ECONET || COMPILE_TEST) - Selects
GENERIC_PHY if COMMON_CLK && OF && ( || ECONET || COMPILE_TEST)
CONFIG_COMMON_CLK_EP93XX Clock driver for Cirrus Logic ep93xx SoC
- Off
- Module
- Built in
This driver supports the SoC clocks on the Cirrus Logic ep93xx.
- Depends on
COMMON_CLK && (ARCH_EP93XX || COMPILE_TEST) - Selects
AUXILIARY_BUS if COMMON_CLK && (ARCH_EP93XX || COMPILE_TEST) - Selects
REGMAP_MMIO if COMMON_CLK && (ARCH_EP93XX || COMPILE_TEST)
CONFIG_COMMON_CLK_EYEQ Clock driver for the Mobileye EyeQ platform
This driver provides clocks found on Mobileye EyeQ5, EyeQ6L and Eye6H SoCs. Controllers live in shared register regions called OLB. Driver provides read-only PLLs, derived from the main crystal clock (which must be constant). It also exposes some divider clocks.
- Depends on
COMMON_CLK && (EYEQ || COMPILE_TEST) - Selects
AUXILIARY_BUS if COMMON_CLK && (EYEQ || COMPILE_TEST)
CONFIG_COMMON_CLK_FSL_FLEXSPI Clock driver for FlexSPI on Layerscape SoCs
- Off
- Module
- Built in
On Layerscape SoCs there is a special clock for the FlexSPI interface.
- Depends on
COMMON_CLK && (ARCH_LAYERSCAPE || COMPILE_TEST)
CONFIG_COMMON_CLK_FSL_SAI Clock driver for BCLK of Freescale SAI cores
This driver supports the Freescale SAI (Synchronous Audio Interface) to be used as a generic clock output. Some SoCs have restrictions regarding the possible pin multiplexer settings. Eg. on some SoCs two SAI interfaces can only be enabled together. If just one is needed, the BCLK pin of the second one can be used as general purpose clock output. Ideally, it can be used to drive an audio codec (sometimes known as MCLK).
- Depends on
COMMON_CLK && (ARCH_LAYERSCAPE || || COMPILE_TEST)
CONFIG_COMMON_CLK_GEMINI Clock driver for Cortina Systems Gemini SoC
This driver supports the SoC clocks on the Cortina Systems Gemini platform, also known as SL3516 or CS3516.
- Depends on
COMMON_CLK && (ARCH_GEMINI || COMPILE_TEST) - Selects
MFD_SYSCON if COMMON_CLK && (ARCH_GEMINI || COMPILE_TEST) - Selects
RESET_CONTROLLER if COMMON_CLK && (ARCH_GEMINI || COMPILE_TEST)
CONFIG_COMMON_CLK_LAN966X Generic Clock Controller driver for LAN966X SoC
- Off
- Module
- Built in
This driver provides support for Generic Clock Controller(GCK) on LAN966X SoC. GCK generates and supplies clock to various peripherals within the SoC.
- Depends on
COMMON_CLK && HAS_IOMEM && OF && (SOC_LAN966 || ARCH_LAN969X || MCHP_LAN966X_PCI || COMPILE_TEST)
CONFIG_COMMON_CLK_S2MPS11 Clock driver for S2MPS1X/S5M8767 MFD
- Off
- Module
- Built in
This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator clock. These multi-function devices have two (S2MPS14) or three (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
- Depends on
COMMON_CLK && (MFD_SEC_CORE || COMPILE_TEST)
CONFIG_CLK_TWL Clock driver for the TWL PMIC family
- Off
- Module
- Built in
Enable support for controlling the clock resources on TWL family PMICs. These devices have some 32K clock outputs which can be controlled by software. For now, the TWL6032 and TWL6030 clocks are supported.
- Depends on
COMMON_CLK && TWL4030_CORE
CONFIG_CLK_TWL6040 External McPDM functional clock from twl6040
- Off
- Module
- Built in
Enable the external functional clock support on OMAP4+ platforms for McPDM. McPDM module is using the external bit clock on the McPDM bus as functional clock.
- Depends on
COMMON_CLK && TWL6040_CORE
CONFIG_COMMON_CLK_AXI_CLKGEN AXI clkgen driver
- Off
- Module
- Built in
Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx FPGAs. It is commonly used in Analog Devices' reference designs.
- Depends on
COMMON_CLK && (HAS_IOMEM || COMPILE_TEST) && OF
CONFIG_CLK_QORIQ Clock driver for Freescale QorIQ platforms
This adds the clock driver support for Freescale QorIQ platforms using common clock framework.
- Depends on
COMMON_CLK && OF && (PPC_E500MC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST)
CONFIG_CLK_LS1028A_PLLDIG Clock driver for LS1028A Display output
- Off
- Module
- Built in
This driver support the Display output interfaces(LCD, DPHY) pixel clocks of the QorIQ Layerscape LS1028A, as implemented TSMC CLN28HPM PLL. Not all features of the PLL are currently supported by the driver. By default, configured bypass mode with this PLL.
- Depends on
COMMON_CLK && (ARCH_LAYERSCAPE || COMPILE_TEST)
CONFIG_COMMON_CLK_XGENE Clock driver for APM XGene SoC
Support for the APM X-Gene SoC reference, PLL, and device clocks.
- Depends on
COMMON_CLK && (ARM64 || COMPILE_TEST)
CONFIG_COMMON_CLK_LOCHNAGAR Cirrus Logic Lochnagar clock driver
- Off
- Module
- Built in
This driver supports the clocking features of the Cirrus Logic Lochnagar audio development board.
- Depends on
COMMON_CLK && MFD_LOCHNAGAR
CONFIG_COMMON_CLK_NPCM8XX Clock driver for the NPCM8XX SoC Family
- Off
- Module
- Built in
This driver supports the clocks on the Nuvoton BMC NPCM8XX SoC Family, all the clocks are initialized by the bootloader, so this driver allows only reading of current settings directly from the hardware.
- Depends on
COMMON_CLK && ( || COMPILE_TEST) - Selects
AUXILIARY_BUS if COMMON_CLK && ( || COMPILE_TEST)
CONFIG_COMMON_CLK_LOONGSON2 Clock driver for Loongson-2 SoC
This driver provides support for clock controller on Loongson-2 SoC. The clock controller can generates and supplies clock to various peripherals within the SoC. Say Y here to support Loongson-2 SoC clock driver.
- Depends on
COMMON_CLK && (LOONGARCH || COMPILE_TEST)
CONFIG_COMMON_CLK_NXP
Support for clock providers on NXP platforms.
- Selects
REGMAP_MMIO if COMMON_CLK && ARCH_LPC32XX - Selects
MFD_SYSCON if COMMON_CLK && ARCH_LPC18XX
CONFIG_COMMON_CLK_PALMAS Clock driver for TI Palmas devices
- Off
- Module
- Built in
This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO using common clock framework.
- Depends on
COMMON_CLK && MFD_PALMAS
CONFIG_COMMON_CLK_PWM Clock driver for PWMs used as clock outputs
- Off
- Module
- Built in
Adapter driver so that any PWM output can be (mis)used as clock signal at 50% duty cycle.
- Depends on
COMMON_CLK && PWM
CONFIG_COMMON_CLK_PXA
Support for the Marvell PXA SoC.
CONFIG_COMMON_CLK_RS9_PCIE Clock driver for Renesas 9-series PCIe clock generators
- Off
- Module
- Built in
This driver supports the Renesas 9-series PCIe clock generator models 9FGV/9DBV/9DMV/9FGL/9DML/9QXL/9SQ.
- Depends on
COMMON_CLK && I2C && OF - Selects
REGMAP_I2C if COMMON_CLK && I2C && OF
CONFIG_COMMON_CLK_SI521XX Clock driver for SkyWorks Si521xx PCIe clock generators
- Off
- Module
- Built in
This driver supports the SkyWorks Si521xx PCIe clock generator models Si52144/Si52146/Si52147.
- Depends on
COMMON_CLK && I2C && OF - Selects
REGMAP_I2C if COMMON_CLK && I2C && OF
CONFIG_COMMON_CLK_VC3 Clock driver for Renesas VersaClock 3 devices
- Off
- Module
- Built in
This driver supports the Renesas VersaClock 3 programmable clock generators.
- Depends on
COMMON_CLK && I2C && OF - Selects
REGMAP_I2C if COMMON_CLK && I2C && OF
CONFIG_COMMON_CLK_VC5 Clock driver for IDT VersaClock 5,6 devices
- Off
- Module
- Built in
This driver supports the IDT VersaClock 5 and VersaClock 6 programmable clock generators.
- Depends on
COMMON_CLK && I2C && OF - Selects
REGMAP_I2C if COMMON_CLK && I2C && OF
CONFIG_COMMON_CLK_VC7 Clock driver for Renesas Versaclock 7 devices
- Off
- Module
- Built in
Renesas Versaclock7 is a family of configurable clock generator and jitter attenuator ICs with fractional and integer dividers.
- Depends on
COMMON_CLK && I2C && OF - Selects
REGMAP_I2C if COMMON_CLK && I2C && OF
CONFIG_COMMON_CLK_STM32F
Support for stm32f4 and stm32f7 SoC families clocks
CONFIG_COMMON_CLK_STM32H7
Support for stm32h7 SoC family clocks
CONFIG_COMMON_CLK_MMP2
Support for Marvell MMP2 and MMP3 SoC clocks
- Selects
COMMON_CLK_MMP if COMMON_CLK
CONFIG_COMMON_CLK_MMP2_AUDIO Clock driver for MMP2 Audio subsystem
- Off
- Module
- Built in
This driver supports clocks for Audio subsystem on MMP2 SoC.
- Depends on
COMMON_CLK && (COMMON_CLK_MMP2 || COMPILE_TEST) && PM_CLK - Selects
COMMON_CLK_MMP if COMMON_CLK && (COMMON_CLK_MMP2 || COMPILE_TEST) && PM_CLK
CONFIG_COMMON_CLK_BD718XX Clock driver for 32K clk gates on ROHM PMICs
- Off
- Module
- Built in
This driver supports ROHM BD71837, BD71847, BD71850, BD71815, BD71828, and BD72720 PMICs clock gates.
- Depends on
COMMON_CLK && (MFD_ROHM_BD718XX || MFD_ROHM_BD71828)
CONFIG_COMMON_CLK_FIXED_MMIO Clock driver for Memory Mapped Fixed values
Support for Memory Mapped IO Fixed clocks
- Depends on
COMMON_CLK && OF && HAS_IOMEM
CONFIG_COMMON_CLK_K210 Clock driver for the Canaan Kendryte K210 SoC
Support for the Canaan Kendryte K210 RISC-V SoC clocks.
- Depends on
COMMON_CLK && OF && RISCV && SOC_CANAAN_K210
CONFIG_COMMON_CLK_K230 Clock driver for the Canaan Kendryte K230 SoC
Support for the Canaan Kendryte K230 RISC-V SoC clocks.
- Depends on
COMMON_CLK && (ARCH_CANAAN || COMPILE_TEST)
CONFIG_COMMON_CLK_SP7021 Clock driver for Sunplus SP7021 SoC
- Off
- Module
- Built in
This driver supports the Sunplus SP7021 SoC clocks. It implements SP7021 PLLs/gate. Not all features of the PLL are currently supported by the driver.
- Depends on
COMMON_CLK && (SOC_SP7021 || COMPILE_TEST)
CONFIG_COMMON_CLK_RPMI Clock driver based on RISC-V RPMI
- Off
- Module
- Built in
Support for clocks based on the clock service group defined by the RISC-V platform management interface (RPMI) specification.
- Depends on
COMMON_CLK && (RISCV || COMPILE_TEST) && MAILBOX
CONFIG_CLK_KUNIT_TEST Basic Clock Framework Kunit Tests
- Off
- Module
- Built in
Kunit tests for the common clock framework.
- Depends on
COMMON_CLK && KUNIT - Selects
DTC if COMMON_CLK && KUNIT
CONFIG_CLK_FIXED_RATE_KUNIT_TEST Basic fixed rate clk type KUnit test
- Off
- Module
- Built in
KUnit tests for the basic fixed rate clk type.
- Depends on
COMMON_CLK && KUNIT - Selects
DTC if COMMON_CLK && KUNIT
CONFIG_CLK_GATE_KUNIT_TEST Basic gate type Kunit test
- Off
- Module
- Built in
Kunit test for the basic clk gate type.
- Depends on
COMMON_CLK && KUNIT && !S390
CONFIG_CLK_FD_KUNIT_TEST Basic fractional divider type Kunit test
- Off
- Module
- Built in
Kunit test for the clk-fractional-divider type.
- Depends on
COMMON_CLK && KUNIT
CONFIG_CLK_DIVIDER_KUNIT_TEST KUnit tests for clk divider bestdiv
- Off
- Module
- Built in
Kunit test for the clk-divider type.
- Depends on
COMMON_CLK && KUNIT && !S390