diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2019-05-17 15:23:52 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-06-27 14:06:47 -0700 |
commit | 3044a860fd09f02f5609449d93d8ea6084215768 (patch) | |
tree | 5d97046aa5cf08fd6af22ea24fc06e9844cd9fc2 /drivers/clk/Kconfig | |
parent | d743ea67cb98f9cd727e7ff07a0da647b9544444 (diff) | |
download | linux-stable-3044a860fd09f02f5609449d93d8ea6084215768.tar.gz linux-stable-3044a860fd09f02f5609449d93d8ea6084215768.tar.bz2 linux-stable-3044a860fd09f02f5609449d93d8ea6084215768.zip |
clk: Add Si5341/Si5340 driver
Adds a driver for the Si5341 and Si5340 chips. The driver does not fully
support all features of these chips, but allows the chip to be used
without any support from the "clockbuilder pro" software.
If the chip is preprogrammed, that is, you bought one with some defaults
burned in, or you programmed the NVM in some way, the driver will just
take over the current settings and only change them on demand. Otherwise
the input must be a fixed XTAL in its most basic configuration (no
predividers, no feedback, etc.).
The driver supports dynamic changes of multisynth, output dividers and
enabling or powering down outputs and multisynths.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
[sboyd@kernel.org: Mark some things static, use BIT_ULL for big bits and
ULL for big constants]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r-- | drivers/clk/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index fc1e0cf44995..1edb3bb9e1a8 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -91,6 +91,17 @@ config COMMON_CLK_SCPI This driver uses SCPI Message Protocol to interact with the firmware providing all the clock controls. +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. + config COMMON_CLK_SI5351 tristate "Clock driver for SiLabs 5351A/B/C" depends on I2C |