-
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.
Merge tag 'clk-for-linus' of git://git.linaro.org/people/mturquette/l…
…inux Pull clock framework update from Michael Turquette: "The common clock framework changes for 3.9 are almost entirely fixes. None are dire enough to be Cc'd to stable which may be interpreted to mean that users of the framework are reaching stability. Lots of new adoption of this framework is via DeviceTree data and that comes through the respective architecture and platform trees instead of through the clk framework tree. Two new features are improved debugfs output and an improvement to how DT clocks are initialized by reusing a common method." * tag 'clk-for-linus' of git://git.linaro.org/people/mturquette/linux: (25 commits) clk: sunxi: remove stale Makefile entry clk: vexpress: Use common of_clk_init() function clk: zynq: Use common of_clk_init() function clk: vt8500: Use common of_clk_init() function clk: highbank: Use common of_clk_init() function clk: sunxi: Use common of_clk_init() function clk: add common of_clk_init() function clk: Deduplicate exit code in clk_set_rate clk: beautify Makefile clk-divider: fix macros clk: prima2: enable dt-binding clkdev mapping clk: mxs: Index is always positive clk: max77686: Avoid double free at remove time clk: remove exported function from __init section clk: vt8500: Add support for WM8750/WM8850 PLL clocks clk: vt8500: Fix division-by-0 when requested rate=0 clk: vt8500: Fix device clock divisor calculations clk: vt8500: Fix error in PLL calculations on non-exact match. clk: max77686: Remove unnecessary NULL checking for container_of() clk: JSON debugfs clock tree summary ...
- Loading branch information
Showing
23 changed files
with
527 additions
and
276 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,73 @@ | ||
* Clock bindings for CSR SiRFprimaII | ||
|
||
Required properties: | ||
- compatible: Should be "sirf,prima2-clkc" | ||
- reg: Address and length of the register set | ||
- interrupts: Should contain clock controller interrupt | ||
- #clock-cells: Should be <1> | ||
|
||
The clock consumer should specify the desired clock by having the clock | ||
ID in its "clocks" phandle cell. The following is a full list of prima2 | ||
clocks and IDs. | ||
|
||
Clock ID | ||
--------------------------- | ||
rtc 0 | ||
osc 1 | ||
pll1 2 | ||
pll2 3 | ||
pll3 4 | ||
mem 5 | ||
sys 6 | ||
security 7 | ||
dsp 8 | ||
gps 9 | ||
mf 10 | ||
io 11 | ||
cpu 12 | ||
uart0 13 | ||
uart1 14 | ||
uart2 15 | ||
tsc 16 | ||
i2c0 17 | ||
i2c1 18 | ||
spi0 19 | ||
spi1 20 | ||
pwmc 21 | ||
efuse 22 | ||
pulse 23 | ||
dmac0 24 | ||
dmac1 25 | ||
nand 26 | ||
audio 27 | ||
usp0 28 | ||
usp1 29 | ||
usp2 30 | ||
vip 31 | ||
gfx 32 | ||
mm 33 | ||
lcd 34 | ||
vpp 35 | ||
mmc01 36 | ||
mmc23 37 | ||
mmc45 38 | ||
usbpll 39 | ||
usb0 40 | ||
usb1 41 | ||
|
||
Examples: | ||
|
||
clks: clock-controller@88000000 { | ||
compatible = "sirf,prima2-clkc"; | ||
reg = <0x88000000 0x1000>; | ||
interrupts = <3>; | ||
#clock-cells = <1>; | ||
}; | ||
|
||
i2c0: i2c@b00e0000 { | ||
cell-index = <0>; | ||
compatible = "sirf,prima2-i2c"; | ||
reg = <0xb00e0000 0x10000>; | ||
interrupts = <24>; | ||
clocks = <&clks 17>; | ||
}; |
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
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
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.