-
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.20' of git://git.linaro.org/people/mike.tu…
…rquette/linux Pull clock framework updates from Mike Turquette: "The clock framework changes contain the usual driver additions, enhancements and fixes mostly for ARM32, ARM64, MIPS and Power-based devices. Additionally the framework core underwent a bit of surgery with two major changes: - The boundary between the clock core and clock providers (e.g clock drivers) is now more well defined with dedicated provider helper functions. struct clk no longer maps 1:1 with the hardware clock but is a true per-user cookie which helps us tracker users of hardware clocks and debug bad behavior. - The addition of rate constraints for clocks. Rate ranges are now supported which are analogous to the voltage ranges in the regulator framework. Unfortunately these changes to the core created some breakeage. We think we fixed it all up but for this reason there are lots of last minute commits trying to undo the damage" * tag 'clk-for-linus-3.20' of git://git.linaro.org/people/mike.turquette/linux: (113 commits) clk: Only recalculate the rate if needed Revert "clk: mxs: Fix invalid 32-bit access to frac registers" clk: qoriq: Add support for the platform PLL powerpc/corenet: Enable CLK_QORIQ clk: Replace explicit clk assignment with __clk_hw_set_clk clk: Add __clk_hw_set_clk helper function clk: Don't dereference parent clock if is NULL MIPS: Alchemy: Remove bogus args from alchemy_clk_fgcs_detr clkdev: Always allocate a struct clk and call __clk_get() w/ CCF clk: shmobile: div6: Avoid division by zero in .round_rate() clk: mxs: Fix invalid 32-bit access to frac registers clk: omap: compile legacy omap3 clocks conditionally clkdev: Export clk_register_clkdev clk: Add rate constraints to clocks clk: remove clk-private.h pci: xgene: do not use clk-private.h arm: omap2+ remove dead clock code clk: Make clk API return per-user struct clk instances clk: tegra: Define PLLD_DSI and remove dsia(b)_mux clk: tegra: Add support for the Tegra132 CAR IP block ...
- Loading branch information
Showing
132 changed files
with
13,039 additions
and
5,696 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Qualcomm LPASS Clock & Reset Controller Binding | ||
------------------------------------------------ | ||
|
||
Required properties : | ||
- compatible : shall contain only one of the following: | ||
|
||
"qcom,lcc-msm8960" | ||
"qcom,lcc-apq8064" | ||
"qcom,lcc-ipq8064" | ||
|
||
- reg : shall contain base register location and length | ||
- #clock-cells : shall contain 1 | ||
- #reset-cells : shall contain 1 | ||
|
||
Example: | ||
clock-controller@28000000 { | ||
compatible = "qcom,lcc-ipq8064"; | ||
reg = <0x28000000 0x1000>; | ||
#clock-cells = <1>; | ||
#reset-cells = <1>; | ||
}; |
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
33 changes: 33 additions & 0 deletions
33
Documentation/devicetree/bindings/clock/renesas,r8a73a4-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,33 @@ | ||
* Renesas R8A73A4 Clock Pulse Generator (CPG) | ||
|
||
The CPG generates core clocks for the R8A73A4 SoC. It includes five PLLs | ||
and several fixed ratio dividers. | ||
|
||
Required Properties: | ||
|
||
- compatible: Must be "renesas,r8a73a4-cpg-clocks" | ||
|
||
- reg: Base address and length of the memory resource used by the CPG | ||
|
||
- clocks: Reference to the parent clocks ("extal1" and "extal2") | ||
|
||
- #clock-cells: Must be 1 | ||
|
||
- clock-output-names: The names of the clocks. Supported clocks are "main", | ||
"pll0", "pll1", "pll2", "pll2s", "pll2h", "z", "z2", "i", "m3", "b", | ||
"m1", "m2", "zx", "zs", and "hp". | ||
|
||
|
||
Example | ||
------- | ||
|
||
cpg_clocks: cpg_clocks@e6150000 { | ||
compatible = "renesas,r8a73a4-cpg-clocks"; | ||
reg = <0 0xe6150000 0 0x10000>; | ||
clocks = <&extal1_clk>, <&extal2_clk>; | ||
#clock-cells = <1>; | ||
clock-output-names = "main", "pll0", "pll1", "pll2", | ||
"pll2s", "pll2h", "z", "z2", | ||
"i", "m3", "b", "m1", "m2", | ||
"zx", "zs", "hp"; | ||
}; |
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,42 @@ | ||
Bindings for Texas Instruments CDCE706 programmable 3-PLL clock | ||
synthesizer/multiplier/divider. | ||
|
||
Reference: http://www.ti.com/lit/ds/symlink/cdce706.pdf | ||
|
||
I2C device node required properties: | ||
- compatible: shall be "ti,cdce706". | ||
- reg: i2c device address, shall be in range [0x68...0x6b]. | ||
- #clock-cells: from common clock binding; shall be set to 1. | ||
- clocks: from common clock binding; list of parent clock | ||
handles, shall be reference clock(s) connected to CLK_IN0 | ||
and CLK_IN1 pins. | ||
- clock-names: shall be clk_in0 and/or clk_in1. Use clk_in0 | ||
in case of crystal oscillator or differential signal input | ||
configuration. Use clk_in0 and clk_in1 in case of independent | ||
single-ended LVCMOS inputs configuration. | ||
|
||
Example: | ||
|
||
clocks { | ||
clk54: clk54 { | ||
#clock-cells = <0>; | ||
compatible = "fixed-clock"; | ||
clock-frequency = <54000000>; | ||
}; | ||
}; | ||
... | ||
i2c0: i2c-master@0d090000 { | ||
... | ||
cdce706: clock-synth@69 { | ||
compatible = "ti,cdce706"; | ||
#clock-cells = <1>; | ||
reg = <0x69>; | ||
clocks = <&clk54>; | ||
clock-names = "clk_in0"; | ||
}; | ||
}; | ||
... | ||
simple-audio-card,codec { | ||
... | ||
clocks = <&cdce706 4>; | ||
}; |
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,33 @@ | ||
Binding for Texas Instruments FAPLL clock. | ||
|
||
Binding status: Unstable - ABI compatibility may be broken in the future | ||
|
||
This binding uses the common clock binding[1]. It assumes a | ||
register-mapped FAPLL with usually two selectable input clocks | ||
(reference clock and bypass clock), and one or more child | ||
syntesizers. | ||
|
||
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
|
||
Required properties: | ||
- compatible : shall be "ti,dm816-fapll-clock" | ||
- #clock-cells : from common clock binding; shall be set to 0. | ||
- clocks : link phandles of parent clocks (clk-ref and clk-bypass) | ||
- reg : address and length of the register set for controlling the FAPLL. | ||
|
||
Examples: | ||
main_fapll: main_fapll { | ||
#clock-cells = <1>; | ||
compatible = "ti,dm816-fapll-clock"; | ||
reg = <0x400 0x40>; | ||
clocks = <&sys_clkin_ck &sys_clkin_ck>; | ||
clock-indices = <1>, <2>, <3>, <4>, <5>, | ||
<6>, <7>; | ||
clock-output-names = "main_pll_clk1", | ||
"main_pll_clk2", | ||
"main_pll_clk3", | ||
"main_pll_clk4", | ||
"main_pll_clk5", | ||
"main_pll_clk6", | ||
"main_pll_clk7"; | ||
}; |
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 |
---|---|---|
|
@@ -9719,6 +9719,11 @@ L: [email protected] | |
S: Maintained | ||
F: drivers/thermal/ti-soc-thermal/ | ||
|
||
TI CDCE706 CLOCK DRIVER | ||
M: Max Filippov <[email protected]> | ||
S: Maintained | ||
F: drivers/clk/clk-cdce706.c | ||
|
||
TI CLOCK DRIVER | ||
M: Tero Kristo <[email protected]> | ||
L: [email protected] | ||
|
Oops, something went wrong.