]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: Add Si5341/Si5340 driver
authorMike Looijmans <mike.looijmans@topic.nl>
Fri, 17 May 2019 13:23:52 +0000 (15:23 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 27 Jun 2019 21:06:47 +0000 (14:06 -0700)
commit3044a860fd09f02f5609449d93d8ea6084215768
tree5d97046aa5cf08fd6af22ea24fc06e9844cd9fc2
parentd743ea67cb98f9cd727e7ff07a0da647b9544444
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>
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/clk-si5341.c [new file with mode: 0644]