-
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-3.16' of git://git.linaro.org/people/mike.tu…
…rquette/linux into next Pull clock framework updates from Mike Turquette: "The clock framework changes for 3.16 are pretty typical: mostly clock driver additions and fixes. There are additions to the clock core code for some of the basic types (e.g. the common divider type has some fixes and featured added to it). One minor annoyance is a last-minute dependency that wasn't handled quite right. Commit ba0fae3 ("clk: berlin: add core clock driver for BG2/BG2CD") in this pull request depends on include/dt-bindings/clock/berlin2.h, which is already in your tree via the arm-soc pull request. Building for the berlin platform will break when the clk tree is built on it's own, but merged into your master branch everything should be fine" * tag 'clk-for-linus-3.16' of git://git.linaro.org/people/mike.turquette/linux: (75 commits) mmc: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs clk: export __clk_round_rate for providers clk: versatile: free icst on error return clk: qcom: Return error pointers for unimplemented clocks clk: qcom: Support msm8974pro global clock control hardware clk: qcom: Properly support display clocks on msm8974 clk: qcom: Support display RCG clocks clk: qcom: Return highest rate when round_rate() exceeds plan clk: qcom: Fix mmcc-8974's PLL configurations clk: qcom: Fix clk_rcg2_is_enabled() check clk: berlin: add core clock driver for BG2Q clk: berlin: add core clock driver for BG2/BG2CD clk: berlin: add driver for BG2x complex divider cells clk: berlin: add driver for BG2x simple PLLs clk: berlin: add driver for BG2x audio/video PLL clk: st: Terminate of match table clk/exynos4: Fix compilation warning ARM: shmobile: r8a7779: Add clock index macros for DT sources clk: divider: Fix overflow in clk_divider_bestdiv clk: u300: Terminate of match table ...
- Loading branch information
Showing
93 changed files
with
7,218 additions
and
925 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
* Hisilicon Hix5hd2 Clock Controller | ||
|
||
The hix5hd2 clock controller generates and supplies clock to various | ||
controllers within the hix5hd2 SoC. | ||
|
||
Required Properties: | ||
|
||
- compatible: should be "hisilicon,hix5hd2-clock" | ||
- reg: Address and length of the register set | ||
- #clock-cells: Should be <1> | ||
|
||
Each clock is assigned an identifier and client nodes use this identifier | ||
to specify the clock which they consume. | ||
|
||
All these identifier could be found in <dt-bindings/clock/hix5hd2-clock.h>. | ||
|
||
Examples: | ||
clock: clock@f8a22000 { | ||
compatible = "hisilicon,hix5hd2-clock"; | ||
reg = <0xf8a22000 0x1000>; | ||
#clock-cells = <1>; | ||
}; | ||
|
||
uart0: uart@f8b00000 { | ||
compatible = "arm,pl011", "arm,primecell"; | ||
reg = <0xf8b00000 0x1000>; | ||
interrupts = <0 49 4>; | ||
clocks = <&clock HIX5HD2_FIXED_83M>; | ||
clock-names = "apb_pclk"; | ||
status = "disabled"; | ||
}; |
29 changes: 29 additions & 0 deletions
29
Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt
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,29 @@ | ||
AXM5516 clock driver bindings | ||
----------------------------- | ||
|
||
Required properties : | ||
- compatible : shall contain "lsi,axm5516-clks" | ||
- reg : shall contain base register location and length | ||
- #clock-cells : shall contain 1 | ||
|
||
The consumer specifies the desired clock by having the clock ID in its "clocks" | ||
phandle cell. See <dt-bindings/clock/lsi,axxia-clock.h> for the list of | ||
supported clock IDs. | ||
|
||
Example: | ||
|
||
clks: clock-controller@2010020000 { | ||
compatible = "lsi,axm5516-clks"; | ||
#clock-cells = <1>; | ||
reg = <0x20 0x10020000 0 0x20000>; | ||
}; | ||
|
||
serial0: uart@2010080000 { | ||
compatible = "arm,pl011", "arm,primecell"; | ||
reg = <0x20 0x10080000 0 0x1000>; | ||
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&clks AXXIA_CLK_PER>; | ||
clock-names = "apb_pclk"; | ||
}; | ||
}; | ||
|
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
41 changes: 41 additions & 0 deletions
41
Documentation/devicetree/bindings/clock/renesas,r8a7740-cpg-clocks.txt
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,41 @@ | ||
These bindings should be considered EXPERIMENTAL for now. | ||
|
||
* Renesas R8A7740 Clock Pulse Generator (CPG) | ||
|
||
The CPG generates core clocks for the R8A7740 SoC. It includes three PLLs | ||
and several fixed ratio and variable ratio dividers. | ||
|
||
Required Properties: | ||
|
||
- compatible: Must be "renesas,r8a7740-cpg-clocks" | ||
|
||
- reg: Base address and length of the memory resource used by the CPG | ||
|
||
- clocks: Reference to the three parent clocks | ||
- #clock-cells: Must be 1 | ||
- clock-output-names: The names of the clocks. Supported clocks are | ||
"system", "pllc0", "pllc1", "pllc2", "r", "usb24s", "i", "zg", "b", | ||
"m1", "hp", "hpp", "usbp", "s", "zb", "m3", and "cp". | ||
|
||
- renesas,mode: board-specific settings of the MD_CK* bits | ||
|
||
|
||
Example | ||
------- | ||
|
||
cpg_clocks: cpg_clocks@e6150000 { | ||
compatible = "renesas,r8a7740-cpg-clocks"; | ||
reg = <0xe6150000 0x10000>; | ||
clocks = <&extal1_clk>, <&extal2_clk>, <&extalr_clk>; | ||
#clock-cells = <1>; | ||
clock-output-names = "system", "pllc0", "pllc1", | ||
"pllc2", "r", | ||
"usb24s", | ||
"i", "zg", "b", "m1", "hp", | ||
"hpp", "usbp", "s", "zb", "m3", | ||
"cp"; | ||
}; | ||
|
||
&cpg_clocks { | ||
renesas,mode = <0x05>; | ||
}; |
27 changes: 27 additions & 0 deletions
27
Documentation/devicetree/bindings/clock/renesas,r8a7779-cpg-clocks.txt
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,27 @@ | ||
* Renesas R8A7779 Clock Pulse Generator (CPG) | ||
|
||
The CPG generates core clocks for the R8A7779. It includes one PLL and | ||
several fixed ratio dividers | ||
|
||
Required Properties: | ||
|
||
- compatible: Must be "renesas,r8a7779-cpg-clocks" | ||
- reg: Base address and length of the memory resource used by the CPG | ||
|
||
- clocks: Reference to the parent clock | ||
- #clock-cells: Must be 1 | ||
- clock-output-names: The names of the clocks. Supported clocks are "plla", | ||
"z", "zs", "s", "s1", "p", "b", "out". | ||
|
||
|
||
Example | ||
------- | ||
|
||
cpg_clocks: cpg_clocks@ffc80000 { | ||
compatible = "renesas,r8a7779-cpg-clocks"; | ||
reg = <0 0xffc80000 0 0x30>; | ||
clocks = <&extal_clk>; | ||
#clock-cells = <1>; | ||
clock-output-names = "plla", "z", "zs", "s", "s1", "p", | ||
"b", "out"; | ||
}; |
Oops, something went wrong.