forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clk: Add driver for the si544 clock generator chip
This patch adds the driver and devicetree documentation for the Silicon Labs SI544 clock generator chip. This is an I2C controlled oscillator capable of generating clock signals ranging from 200kHz to 1500MHz. Signed-off-by: Mike Looijmans <[email protected]> [sboyd: assign max_freq to 0 in is_valid_frequency() to squelch warning] Signed-off-by: Stephen Boyd <[email protected]>
- Loading branch information
1 parent
7928b2c
commit 953cc3e
Showing
4 changed files
with
446 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Binding for Silicon Labs 544 programmable I2C clock generator. | ||
|
||
Reference | ||
This binding uses the common clock binding[1]. Details about the device can be | ||
found in the datasheet[2]. | ||
|
||
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
[2] Si544 datasheet | ||
https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf | ||
|
||
Required properties: | ||
- compatible: One of "silabs,si514a", "silabs,si514b" "silabs,si514c" according | ||
to the speed grade of the chip. | ||
- reg: I2C device address. | ||
- #clock-cells: From common clock bindings: Shall be 0. | ||
|
||
Optional properties: | ||
- clock-output-names: From common clock bindings. Recommended to be "si544". | ||
|
||
Example: | ||
si544: clock-controller@55 { | ||
reg = <0x55>; | ||
#clock-cells = <0>; | ||
compatible = "silabs,si544b"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.