-
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 remote-tracking branch 'linaro/clk-next' into clk-next
- Loading branch information
Showing
69 changed files
with
3,389 additions
and
813 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.