2019-05-01 04:50:58 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2010-11-17 17:04:33 +08:00
|
|
|
|
2020-04-09 14:44:16 +08:00
|
|
|
config HAVE_CLK
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
The <linux/clk.h> calls support software clock gating and
|
|
|
|
thus are a key power management tool on many systems.
|
|
|
|
|
2011-12-20 14:46:38 +08:00
|
|
|
config HAVE_CLK_PREPARE
|
|
|
|
bool
|
|
|
|
|
2020-04-09 14:44:13 +08:00
|
|
|
config HAVE_LEGACY_CLK # TODO: Remove once all legacy users are migrated
|
2012-03-18 05:10:51 +08:00
|
|
|
bool
|
2020-04-09 14:44:13 +08:00
|
|
|
select HAVE_CLK
|
|
|
|
help
|
|
|
|
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'.
|
|
|
|
|
|
|
|
menuconfig COMMON_CLK
|
|
|
|
bool "Common Clock Framework"
|
|
|
|
depends on !HAVE_LEGACY_CLK
|
2012-03-16 14:11:19 +08:00
|
|
|
select HAVE_CLK_PREPARE
|
2021-05-31 17:48:49 +08:00
|
|
|
select HAVE_CLK
|
2015-09-22 23:54:11 +08:00
|
|
|
select RATIONAL
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2012-03-16 14:11:19 +08:00
|
|
|
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
|
2012-03-18 05:10:51 +08:00
|
|
|
this option.
|
2012-03-16 14:11:19 +08:00
|
|
|
|
2020-04-09 14:44:13 +08:00
|
|
|
if COMMON_CLK
|
2012-03-16 14:11:19 +08:00
|
|
|
|
2012-05-17 17:04:57 +08:00
|
|
|
config COMMON_CLK_WM831X
|
|
|
|
tristate "Clock driver for WM831x/2x PMICs"
|
|
|
|
depends on MFD_WM831X
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2019-11-21 11:18:55 +08:00
|
|
|
Supports the clocking subsystem of the WM831x/2x series of
|
2014-10-16 23:09:24 +08:00
|
|
|
PMICs from Wolfson Microelectronics.
|
2012-05-17 17:04:57 +08:00
|
|
|
|
2013-09-18 00:16:15 +08:00
|
|
|
source "drivers/clk/versatile/Kconfig"
|
2012-08-07 00:32:08 +08:00
|
|
|
|
2017-08-26 01:39:14 +08:00
|
|
|
config CLK_HSDK
|
|
|
|
bool "PLL Driver for HSDK platform"
|
2020-08-07 17:43:51 +08:00
|
|
|
depends on ARC_SOC_HSDK || COMPILE_TEST
|
2020-08-03 16:48:35 +08:00
|
|
|
depends on HAS_IOMEM
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2017-08-26 01:39:14 +08:00
|
|
|
This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs
|
|
|
|
control.
|
|
|
|
|
2021-04-23 08:40:55 +08:00
|
|
|
config LMK04832
|
|
|
|
tristate "Ti LMK04832 JESD204B Compliant Clock Jitter Cleaner"
|
2021-06-29 14:07:50 +08:00
|
|
|
depends on SPI
|
2021-04-23 08:40:55 +08:00
|
|
|
select REGMAP_SPI
|
|
|
|
help
|
|
|
|
Say yes here to build support for Texas Instruments' LMK04832 Ultra
|
|
|
|
Low-Noise JESD204B Compliant Clock Jitter Cleaner With Dual Loop PLLs
|
|
|
|
|
2022-02-09 02:34:10 +08:00
|
|
|
config COMMON_CLK_APPLE_NCO
|
2022-03-12 21:57:22 +08:00
|
|
|
tristate "Clock driver for Apple SoC NCOs"
|
2022-02-09 02:34:10 +08:00
|
|
|
depends on ARCH_APPLE || COMPILE_TEST
|
|
|
|
default ARCH_APPLE
|
|
|
|
help
|
|
|
|
This driver supports NCO (Numerically Controlled Oscillator) blocks
|
|
|
|
found on Apple SoCs such as t8103 (M1). The blocks are typically
|
|
|
|
generators of audio clocks.
|
|
|
|
|
2012-08-28 16:54:28 +08:00
|
|
|
config COMMON_CLK_MAX77686
|
2016-06-17 18:51:07 +08:00
|
|
|
tristate "Clock driver for Maxim 77620/77686/77802 MFD"
|
2016-10-03 04:58:14 +08:00
|
|
|
depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2016-06-17 18:51:07 +08:00
|
|
|
This driver supports Maxim 77620/77686/77802 crystal oscillator
|
|
|
|
clock.
|
2014-08-18 16:33:03 +08:00
|
|
|
|
2018-07-07 02:53:03 +08:00
|
|
|
config COMMON_CLK_MAX9485
|
|
|
|
tristate "Maxim 9485 Programmable Clock Generator"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
This driver supports Maxim 9485 Programmable Audio Clock Generator
|
|
|
|
|
2014-10-14 06:52:44 +08:00
|
|
|
config COMMON_CLK_RK808
|
2019-06-21 18:34:55 +08:00
|
|
|
tristate "Clock driver for RK805/RK808/RK809/RK817/RK818"
|
2023-05-05 01:36:09 +08:00
|
|
|
depends on MFD_RK8XX
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2019-06-21 18:34:55 +08:00
|
|
|
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.
|
2014-10-14 06:52:44 +08:00
|
|
|
|
2017-04-18 01:19:25 +08:00
|
|
|
config COMMON_CLK_HI655X
|
2018-03-12 18:49:45 +08:00
|
|
|
tristate "Clock driver for Hi655x" if EXPERT
|
|
|
|
depends on (MFD_HI655X_PMIC || COMPILE_TEST)
|
2023-02-26 13:39:47 +08:00
|
|
|
select REGMAP
|
2018-03-12 18:49:45 +08:00
|
|
|
default MFD_HI655X_PMIC
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2017-04-18 01:19:25 +08:00
|
|
|
This driver supports the hi655x PMIC clock. This
|
|
|
|
multi-function device has one fixed-rate oscillator, clocked
|
|
|
|
at 32KHz.
|
|
|
|
|
2017-06-14 00:19:36 +08:00
|
|
|
config COMMON_CLK_SCMI
|
|
|
|
tristate "Clock driver controlled via SCMI interface"
|
|
|
|
depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2017-06-14 00:19:36 +08:00
|
|
|
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.
|
|
|
|
|
2015-03-30 17:59:52 +08:00
|
|
|
config COMMON_CLK_SCPI
|
|
|
|
tristate "Clock driver controlled via SCPI interface"
|
|
|
|
depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2015-03-30 17:59:52 +08:00
|
|
|
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.
|
|
|
|
|
2019-05-17 21:23:52 +08:00
|
|
|
config COMMON_CLK_SI5341
|
|
|
|
tristate "Clock driver for SiLabs 5341 and 5340 A/B/C/D devices"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2013-04-12 03:42:29 +08:00
|
|
|
config COMMON_CLK_SI5351
|
|
|
|
tristate "Clock driver for SiLabs 5351A/B/C"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2013-04-12 03:42:29 +08:00
|
|
|
This driver supports Silicon Labs 5351A/B/C programmable clock
|
|
|
|
generators.
|
|
|
|
|
2015-10-02 15:15:29 +08:00
|
|
|
config COMMON_CLK_SI514
|
|
|
|
tristate "Clock driver for SiLabs 514 devices"
|
|
|
|
depends on I2C
|
|
|
|
depends on OF
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
This driver supports the Silicon Labs 514 programmable clock
|
|
|
|
generator.
|
|
|
|
|
2018-03-20 16:15:41 +08:00
|
|
|
config COMMON_CLK_SI544
|
|
|
|
tristate "Clock driver for SiLabs 544 devices"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
This driver supports the Silicon Labs 544 programmable clock
|
|
|
|
generator.
|
2015-10-02 15:15:29 +08:00
|
|
|
|
2013-09-22 07:40:39 +08:00
|
|
|
config COMMON_CLK_SI570
|
|
|
|
tristate "Clock driver for SiLabs 570 and compatible devices"
|
|
|
|
depends on I2C
|
|
|
|
depends on OF
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
This driver supports Silicon Labs 570/571/598/599 programmable
|
|
|
|
clock generators.
|
|
|
|
|
2019-11-16 00:29:00 +08:00
|
|
|
config COMMON_CLK_BM1880
|
|
|
|
bool "Clock driver for Bitmain BM1880 SoC"
|
|
|
|
depends on ARCH_BITMAIN || COMPILE_TEST
|
|
|
|
default ARCH_BITMAIN
|
|
|
|
help
|
|
|
|
This driver supports the clocks on Bitmain BM1880 SoC.
|
|
|
|
|
2015-11-03 19:55:54 +08:00
|
|
|
config COMMON_CLK_CDCE706
|
|
|
|
tristate "Clock driver for TI CDCE706 clock synthesizer"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2015-11-03 19:55:54 +08:00
|
|
|
This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
|
|
|
|
|
2021-12-03 18:28:49 +08:00
|
|
|
config COMMON_CLK_TPS68470
|
|
|
|
tristate "Clock Driver for TI TPS68470 PMIC"
|
|
|
|
depends on I2C
|
|
|
|
depends on INTEL_SKL_INT3472 || COMPILE_TEST
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
This driver supports the clocks provided by the TPS68470 PMIC.
|
|
|
|
|
2015-06-03 13:25:19 +08:00
|
|
|
config COMMON_CLK_CDCE925
|
2017-01-01 02:04:36 +08:00
|
|
|
tristate "Clock driver for TI CDCE913/925/937/949 devices"
|
2015-06-03 13:25:19 +08:00
|
|
|
depends on I2C
|
|
|
|
depends on OF
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
2017-01-01 02:04:36 +08:00
|
|
|
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.
|
2015-06-03 13:25:19 +08:00
|
|
|
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.
|
|
|
|
|
2015-11-10 09:15:09 +08:00
|
|
|
config COMMON_CLK_CS2000_CP
|
|
|
|
tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
|
|
|
|
depends on I2C
|
2022-01-25 17:33:36 +08:00
|
|
|
select REGMAP_I2C
|
2015-11-10 09:15:09 +08:00
|
|
|
help
|
|
|
|
If you say yes here you get support for the CS2000 clock multiplier.
|
|
|
|
|
2022-03-14 16:44:04 +08:00
|
|
|
config COMMON_CLK_EN7523
|
|
|
|
bool "Clock driver for Airoha EN7523 SoC system clocks"
|
|
|
|
depends on OF
|
|
|
|
depends on ARCH_AIROHA || COMPILE_TEST
|
|
|
|
default ARCH_AIROHA
|
|
|
|
help
|
|
|
|
This driver provides the fixed clocks and gates present on Airoha
|
|
|
|
ARM silicon.
|
|
|
|
|
2020-11-09 02:51:11 +08:00
|
|
|
config COMMON_CLK_FSL_FLEXSPI
|
|
|
|
tristate "Clock driver for FlexSPI on Layerscape SoCs"
|
|
|
|
depends on ARCH_LAYERSCAPE || COMPILE_TEST
|
|
|
|
default ARCH_LAYERSCAPE && SPI_NXP_FLEXSPI
|
|
|
|
help
|
|
|
|
On Layerscape SoCs there is a special clock for the FlexSPI
|
|
|
|
interface.
|
|
|
|
|
2020-01-03 07:11:01 +08:00
|
|
|
config COMMON_CLK_FSL_SAI
|
|
|
|
bool "Clock driver for BCLK of Freescale SAI cores"
|
|
|
|
depends on ARCH_LAYERSCAPE || COMPILE_TEST
|
|
|
|
help
|
|
|
|
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).
|
|
|
|
|
2017-06-21 15:59:52 +08:00
|
|
|
config COMMON_CLK_GEMINI
|
|
|
|
bool "Clock driver for Cortina Systems Gemini SoC"
|
|
|
|
depends on ARCH_GEMINI || COMPILE_TEST
|
|
|
|
select MFD_SYSCON
|
|
|
|
select RESET_CONTROLLER
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2017-06-21 15:59:52 +08:00
|
|
|
This driver supports the SoC clocks on the Cortina Systems Gemini
|
|
|
|
platform, also known as SL3516 or CS3516.
|
|
|
|
|
2021-11-03 14:19:35 +08:00
|
|
|
config COMMON_CLK_LAN966X
|
2022-06-17 18:33:06 +08:00
|
|
|
tristate "Generic Clock Controller driver for LAN966X SoC"
|
2022-02-19 22:15:36 +08:00
|
|
|
depends on HAS_IOMEM
|
|
|
|
depends on OF
|
2022-02-24 23:29:17 +08:00
|
|
|
depends on SOC_LAN966 || COMPILE_TEST
|
2021-11-03 14:19:35 +08:00
|
|
|
help
|
|
|
|
This driver provides support for Generic Clock Controller(GCK) on
|
|
|
|
LAN966X SoC. GCK generates and supplies clock to various peripherals
|
|
|
|
within the SoC.
|
|
|
|
|
2017-12-22 10:45:18 +08:00
|
|
|
config COMMON_CLK_ASPEED
|
|
|
|
bool "Clock driver for Aspeed BMC SoCs"
|
|
|
|
depends on ARCH_ASPEED || COMPILE_TEST
|
|
|
|
default ARCH_ASPEED
|
|
|
|
select MFD_SYSCON
|
|
|
|
select RESET_CONTROLLER
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2017-12-22 10:45:18 +08:00
|
|
|
This driver supports the SoC clocks on the Aspeed BMC platforms.
|
|
|
|
|
|
|
|
The G4 and G5 series, including the ast2400 and ast2500, are supported
|
|
|
|
by this driver.
|
|
|
|
|
2013-07-07 19:44:20 +08:00
|
|
|
config COMMON_CLK_S2MPS11
|
2014-05-21 19:23:01 +08:00
|
|
|
tristate "Clock driver for S2MPS1X/S5M8767 MFD"
|
2016-10-03 04:58:14 +08:00
|
|
|
depends on MFD_SEC_CORE || COMPILE_TEST
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2014-05-21 19:23:01 +08:00
|
|
|
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.
|
2013-07-07 19:44:20 +08:00
|
|
|
|
2012-09-14 22:30:27 +08:00
|
|
|
config CLK_TWL6040
|
|
|
|
tristate "External McPDM functional clock from twl6040"
|
|
|
|
depends on TWL6040_CORE
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2012-09-14 22:30:27 +08:00
|
|
|
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.
|
|
|
|
|
2013-03-11 23:22:29 +08:00
|
|
|
config COMMON_CLK_AXI_CLKGEN
|
|
|
|
tristate "AXI clkgen driver"
|
2021-02-01 23:12:42 +08:00
|
|
|
depends on HAS_IOMEM || COMPILE_TEST
|
|
|
|
depends on OF
|
2013-03-11 23:22:29 +08:00
|
|
|
help
|
|
|
|
Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
|
|
|
|
FPGAs. It is commonly used in Analog Devices' reference designs.
|
|
|
|
|
2015-01-15 14:03:41 +08:00
|
|
|
config CLK_QORIQ
|
|
|
|
bool "Clock driver for Freescale QorIQ platforms"
|
2020-11-10 23:47:50 +08:00
|
|
|
depends on OF
|
|
|
|
depends on PPC_E500MC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2015-01-15 14:03:41 +08:00
|
|
|
This adds the clock driver support for Freescale QorIQ platforms
|
|
|
|
using common clock framework.
|
2013-04-09 16:46:26 +08:00
|
|
|
|
2019-12-13 16:34:02 +08:00
|
|
|
config CLK_LS1028A_PLLDIG
|
|
|
|
tristate "Clock driver for LS1028A Display output"
|
|
|
|
depends on ARCH_LAYERSCAPE || COMPILE_TEST
|
|
|
|
default ARCH_LAYERSCAPE
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2013-06-27 01:56:09 +08:00
|
|
|
config COMMON_CLK_XGENE
|
|
|
|
bool "Clock driver for APM XGene SoC"
|
2019-06-12 23:03:56 +08:00
|
|
|
default ARCH_XGENE
|
2015-10-13 22:18:18 +08:00
|
|
|
depends on ARM64 || COMPILE_TEST
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2020-05-04 03:03:27 +08:00
|
|
|
Support for the APM X-Gene SoC reference, PLL, and device clocks.
|
2013-06-27 01:56:09 +08:00
|
|
|
|
2019-03-19 21:37:00 +08:00
|
|
|
config COMMON_CLK_LOCHNAGAR
|
|
|
|
tristate "Cirrus Logic Lochnagar clock driver"
|
|
|
|
depends on MFD_LOCHNAGAR
|
|
|
|
help
|
|
|
|
This driver supports the clocking features of the Cirrus Logic
|
|
|
|
Lochnagar audio development board.
|
|
|
|
|
2023-03-23 10:52:29 +08:00
|
|
|
config COMMON_CLK_LOONGSON2
|
|
|
|
bool "Clock driver for Loongson-2 SoC"
|
|
|
|
depends on LOONGARCH || COMPILE_TEST
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2015-12-06 18:45:57 +08:00
|
|
|
config COMMON_CLK_NXP
|
|
|
|
def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
|
|
|
|
select REGMAP_MMIO if ARCH_LPC32XX
|
2016-05-16 23:45:36 +08:00
|
|
|
select MFD_SYSCON if ARCH_LPC18XX
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2015-12-06 18:45:57 +08:00
|
|
|
Support for clock providers on NXP platforms.
|
|
|
|
|
2014-06-27 14:01:11 +08:00
|
|
|
config COMMON_CLK_PALMAS
|
|
|
|
tristate "Clock driver for TI Palmas devices"
|
|
|
|
depends on MFD_PALMAS
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2014-06-27 14:01:11 +08:00
|
|
|
This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
|
|
|
|
using common clock framework.
|
|
|
|
|
2015-02-14 03:18:52 +08:00
|
|
|
config COMMON_CLK_PWM
|
|
|
|
tristate "Clock driver for PWMs used as clock outputs"
|
|
|
|
depends on PWM
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2015-02-14 03:18:52 +08:00
|
|
|
Adapter driver so that any PWM output can be (mis)used as clock signal
|
|
|
|
at 50% duty cycle.
|
|
|
|
|
2014-10-02 05:39:29 +08:00
|
|
|
config COMMON_CLK_PXA
|
|
|
|
def_bool COMMON_CLK && ARCH_PXA
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2015-11-03 19:55:53 +08:00
|
|
|
Support for the Marvell PXA SoC.
|
2014-10-02 05:39:29 +08:00
|
|
|
|
2016-04-18 18:01:35 +08:00
|
|
|
config COMMON_CLK_OXNAS
|
|
|
|
bool "Clock driver for the OXNAS SoC Family"
|
2016-07-07 15:18:44 +08:00
|
|
|
depends on ARCH_OXNAS || COMPILE_TEST
|
2016-04-18 18:01:35 +08:00
|
|
|
select MFD_SYSCON
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2016-04-18 18:01:35 +08:00
|
|
|
Support for the OXNAS SoC Family clocks.
|
|
|
|
|
2022-02-26 12:07:23 +08:00
|
|
|
config COMMON_CLK_RS9_PCIE
|
|
|
|
tristate "Clock driver for Renesas 9-series PCIe clock generators"
|
|
|
|
depends on I2C
|
|
|
|
depends on OF
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
This driver supports the Renesas 9-series PCIe clock generator
|
|
|
|
models 9FGV/9DBV/9DMV/9FGL/9DML/9QXL/9SQ.
|
|
|
|
|
2023-01-19 03:15:21 +08:00
|
|
|
config COMMON_CLK_SI521XX
|
|
|
|
tristate "Clock driver for SkyWorks Si521xx PCIe clock generators"
|
|
|
|
depends on I2C
|
|
|
|
depends on OF
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
This driver supports the SkyWorks Si521xx PCIe clock generator
|
|
|
|
models Si52144/Si52146/Si52147.
|
|
|
|
|
2017-01-12 09:03:24 +08:00
|
|
|
config COMMON_CLK_VC5
|
2017-07-09 21:28:14 +08:00
|
|
|
tristate "Clock driver for IDT VersaClock 5,6 devices"
|
2017-01-12 09:03:24 +08:00
|
|
|
depends on I2C
|
|
|
|
depends on OF
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
2017-07-09 21:28:14 +08:00
|
|
|
This driver supports the IDT VersaClock 5 and VersaClock 6
|
|
|
|
programmable clock generators.
|
2017-01-12 09:03:24 +08:00
|
|
|
|
2022-09-13 02:36:13 +08:00
|
|
|
config COMMON_CLK_VC7
|
|
|
|
tristate "Clock driver for Renesas Versaclock 7 devices"
|
|
|
|
depends on I2C
|
|
|
|
depends on OF
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Renesas Versaclock7 is a family of configurable clock generator
|
|
|
|
and jitter attenuator ICs with fractional and integer dividers.
|
|
|
|
|
2022-05-16 15:05:48 +08:00
|
|
|
config COMMON_CLK_STM32MP135
|
|
|
|
def_bool COMMON_CLK && MACH_STM32MP13
|
|
|
|
help
|
|
|
|
Support for stm32mp135 SoC family clocks
|
|
|
|
|
2018-03-09 00:53:55 +08:00
|
|
|
config COMMON_CLK_STM32MP157
|
|
|
|
def_bool COMMON_CLK && MACH_STM32MP157
|
|
|
|
help
|
|
|
|
Support for stm32mp157 SoC family clocks
|
|
|
|
|
2018-03-12 17:32:48 +08:00
|
|
|
config COMMON_CLK_STM32F
|
2018-05-03 14:40:09 +08:00
|
|
|
def_bool COMMON_CLK && (MACH_STM32F429 || MACH_STM32F469 || MACH_STM32F746)
|
2018-03-12 17:32:48 +08:00
|
|
|
help
|
|
|
|
Support for stm32f4 and stm32f7 SoC families clocks
|
|
|
|
|
|
|
|
config COMMON_CLK_STM32H7
|
2018-05-03 14:40:09 +08:00
|
|
|
def_bool COMMON_CLK && MACH_STM32H743
|
2018-03-12 17:32:48 +08:00
|
|
|
help
|
|
|
|
Support for stm32h7 SoC family clocks
|
|
|
|
|
2019-05-16 14:19:37 +08:00
|
|
|
config COMMON_CLK_MMP2
|
|
|
|
def_bool COMMON_CLK && (MACH_MMP2_DT || MACH_MMP3_DT)
|
|
|
|
help
|
|
|
|
Support for Marvell MMP2 and MMP3 SoC clocks
|
|
|
|
|
2020-05-20 06:41:51 +08:00
|
|
|
config COMMON_CLK_MMP2_AUDIO
|
|
|
|
tristate "Clock driver for MMP2 Audio subsystem"
|
|
|
|
depends on COMMON_CLK_MMP2 || COMPILE_TEST
|
|
|
|
help
|
|
|
|
This driver supports clocks for Audio subsystem on MMP2 SoC.
|
|
|
|
|
2018-12-07 18:01:44 +08:00
|
|
|
config COMMON_CLK_BD718XX
|
2020-01-20 21:44:19 +08:00
|
|
|
tristate "Clock driver for 32K clk gates on ROHM PMICs"
|
2021-05-25 18:15:10 +08:00
|
|
|
depends on MFD_ROHM_BD718XX || MFD_ROHM_BD71828
|
2018-12-07 18:01:44 +08:00
|
|
|
help
|
2021-05-25 18:15:10 +08:00
|
|
|
This driver supports ROHM BD71837, BD71847, BD71850, BD71815
|
|
|
|
and BD71828 PMICs clock gates.
|
2018-12-07 18:01:44 +08:00
|
|
|
|
2018-12-13 20:49:29 +08:00
|
|
|
config COMMON_CLK_FIXED_MMIO
|
|
|
|
bool "Clock driver for Memory Mapped Fixed values"
|
|
|
|
depends on COMMON_CLK && OF
|
|
|
|
help
|
|
|
|
Support for Memory Mapped IO Fixed clocks
|
|
|
|
|
2021-02-10 13:02:14 +08:00
|
|
|
config COMMON_CLK_K210
|
|
|
|
bool "Clock driver for the Canaan Kendryte K210 SoC"
|
|
|
|
depends on OF && RISCV && SOC_CANAAN
|
|
|
|
default SOC_CANAAN
|
|
|
|
help
|
|
|
|
Support for the Canaan Kendryte K210 RISC-V SoC clocks.
|
|
|
|
|
2022-12-19 09:51:30 +08:00
|
|
|
config COMMON_CLK_SP7021
|
|
|
|
tristate "Clock driver for Sunplus SP7021 SoC"
|
|
|
|
depends on SOC_SP7021 || COMPILE_TEST
|
|
|
|
default SOC_SP7021
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2018-03-27 01:38:57 +08:00
|
|
|
source "drivers/clk/actions/Kconfig"
|
2019-05-01 04:50:58 +08:00
|
|
|
source "drivers/clk/analogbits/Kconfig"
|
2020-05-27 06:20:55 +08:00
|
|
|
source "drivers/clk/baikal-t1/Kconfig"
|
2015-05-15 08:38:21 +08:00
|
|
|
source "drivers/clk/bcm/Kconfig"
|
2015-05-29 10:08:38 +08:00
|
|
|
source "drivers/clk/hisilicon/Kconfig"
|
2017-06-18 04:52:47 +08:00
|
|
|
source "drivers/clk/imgtec/Kconfig"
|
2018-12-13 23:42:50 +08:00
|
|
|
source "drivers/clk/imx/Kconfig"
|
2018-08-23 21:17:41 +08:00
|
|
|
source "drivers/clk/ingenic/Kconfig"
|
2017-06-13 15:09:27 +08:00
|
|
|
source "drivers/clk/keystone/Kconfig"
|
2016-08-19 13:34:49 +08:00
|
|
|
source "drivers/clk/mediatek/Kconfig"
|
2016-05-24 05:29:13 +08:00
|
|
|
source "drivers/clk/meson/Kconfig"
|
2021-02-11 13:22:03 +08:00
|
|
|
source "drivers/clk/mstar/Kconfig"
|
2022-02-22 20:11:44 +08:00
|
|
|
source "drivers/clk/microchip/Kconfig"
|
2012-11-17 22:22:22 +08:00
|
|
|
source "drivers/clk/mvebu/Kconfig"
|
clk: nuvoton: Add clock driver for ma35d1 clock controller
The clock controller generates clocks for the whole chip, including
system clocks and all peripheral clocks. This driver support ma35d1
clock gating, divider, and individual PLL configuration.
There are 6 PLLs in ma35d1 SoC:
- CA-PLL for the two Cortex-A35 CPU clock
- SYS-PLL for system bus, which comes from the companion MCU
and cannot be programmed by clock controller.
- DDR-PLL for DDR
- EPLL for GMAC and GFX, Display, and VDEC IPs.
- VPLL for video output pixel clock
- APLL for SDHC, I2S audio, and other IPs.
CA-PLL has only one operation mode.
DDR-PLL, EPLL, VPLL, and APLL are advanced PLLs which have 3
operation modes: integer mode, fraction mode, and spread specturm mode.
Signed-off-by: Jacky Huang <ychuang3@nuvoton.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-06-05 12:07:47 +08:00
|
|
|
source "drivers/clk/nuvoton/Kconfig"
|
2021-07-23 10:25:37 +08:00
|
|
|
source "drivers/clk/pistachio/Kconfig"
|
2016-01-28 16:58:57 +08:00
|
|
|
source "drivers/clk/qcom/Kconfig"
|
2021-04-10 13:50:56 +08:00
|
|
|
source "drivers/clk/ralink/Kconfig"
|
2016-04-13 17:08:42 +08:00
|
|
|
source "drivers/clk/renesas/Kconfig"
|
2020-09-14 10:23:04 +08:00
|
|
|
source "drivers/clk/rockchip/Kconfig"
|
2014-05-08 12:07:08 +08:00
|
|
|
source "drivers/clk/samsung/Kconfig"
|
2019-05-01 04:51:00 +08:00
|
|
|
source "drivers/clk/sifive/Kconfig"
|
2021-03-11 23:25:31 +08:00
|
|
|
source "drivers/clk/socfpga/Kconfig"
|
2017-12-07 20:57:05 +08:00
|
|
|
source "drivers/clk/sprd/Kconfig"
|
2021-06-01 21:57:52 +08:00
|
|
|
source "drivers/clk/starfive/Kconfig"
|
2019-03-19 22:37:59 +08:00
|
|
|
source "drivers/clk/sunxi/Kconfig"
|
2016-06-30 03:05:23 +08:00
|
|
|
source "drivers/clk/sunxi-ng/Kconfig"
|
2015-04-01 15:10:58 +08:00
|
|
|
source "drivers/clk/tegra/Kconfig"
|
2016-02-27 01:35:05 +08:00
|
|
|
source "drivers/clk/ti/Kconfig"
|
2016-09-16 15:40:03 +08:00
|
|
|
source "drivers/clk/uniphier/Kconfig"
|
2021-10-25 11:10:37 +08:00
|
|
|
source "drivers/clk/visconti/Kconfig"
|
2020-04-17 13:54:47 +08:00
|
|
|
source "drivers/clk/x86/Kconfig"
|
2021-01-21 15:16:59 +08:00
|
|
|
source "drivers/clk/xilinx/Kconfig"
|
2018-10-09 02:21:46 +08:00
|
|
|
source "drivers/clk/zynqmp/Kconfig"
|
2016-01-28 16:58:57 +08:00
|
|
|
|
2022-01-21 01:59:02 +08:00
|
|
|
# Kunit test cases
|
2022-02-25 22:35:24 +08:00
|
|
|
config CLK_KUNIT_TEST
|
|
|
|
tristate "Basic Clock Framework Kunit Tests" if !KUNIT_ALL_TESTS
|
|
|
|
depends on KUNIT
|
|
|
|
default KUNIT_ALL_TESTS
|
|
|
|
help
|
|
|
|
Kunit tests for the common clock framework.
|
|
|
|
|
2022-01-21 01:59:02 +08:00
|
|
|
config CLK_GATE_KUNIT_TEST
|
|
|
|
tristate "Basic gate type Kunit test" if !KUNIT_ALL_TESTS
|
|
|
|
depends on KUNIT
|
|
|
|
default KUNIT_ALL_TESTS
|
|
|
|
help
|
|
|
|
Kunit test for the basic clk gate type.
|
|
|
|
|
2020-04-09 14:44:13 +08:00
|
|
|
endif
|