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.
Merge tag 'clk-for-linus-3.19' of git://git.linaro.org/people/mike.tu…
…rquette/linux Pull clk framework updates from Mike Turquette: "This is much later than usual due to several last minute bugs that had to be addressed. As usual the majority of changes are new drivers and modifications to existing drivers. The core recieved many fixes along with the groundwork for several large changes coming in the future which will better parition clock providers from clock consumers" * tag 'clk-for-linus-3.19' of git://git.linaro.org/people/mike.turquette/linux: (86 commits) clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated ARM: OMAP3: clock: fix boot breakage in legacy mode ARM: OMAP2+: clock: fix DPLL code to use new determine rate APIs clk: Really fix deadlock with mmap_sem clk: mmp: fix sparse non static symbol warning clk: Change clk_ops->determine_rate to return a clk_hw as the best parent clk: change clk_debugfs_add_file to take a struct clk_hw clk: Don't expose __clk_get_accuracy clk: Don't try to use a struct clk* after it could have been freed clk: Remove unused function __clk_get_prepare_count clk: samsung: Fix double add of syscore ops after driver rebind clk: samsung: exynos4: set parent of sclk_hdmiphy to hdmi clk: samsung: exynos4415: Fix build with PM_SLEEP disabled clk: samsung: remove unnecessary inclusion of header files from clk.h clk: samsung: remove unnecessary CONFIG_OF from clk.c clk: samsung: Spelling s/bwtween/between/ clk: rockchip: Add support for the mmc clock phases using the framework clk: rockchip: add bindings for the mmc clocks clk: rockchip: rk3288 export i2s0_clkout for use in DT clk: rockchip: use clock ID for DMC (memory controller) on rk3288 ...
- Loading branch information
Showing
94 changed files
with
6,663 additions
and
690 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
38 changes: 38 additions & 0 deletions
38
Documentation/devicetree/bindings/clock/exynos4415-clock.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,38 @@ | ||
* Samsung Exynos4415 Clock Controller | ||
|
||
The Exynos4415 clock controller generates and supplies clock to various | ||
consumer devices within the Exynos4415 SoC. | ||
|
||
Required properties: | ||
|
||
- compatible: should be one of the following: | ||
- "samsung,exynos4415-cmu" - for the main system clocks controller | ||
(CMU_LEFTBUS, CMU_RIGHTBUS, CMU_TOP, CMU_CPU clock domains). | ||
- "samsung,exynos4415-cmu-dmc" - for the Exynos4415 SoC DRAM Memory | ||
Controller (DMC) domain clock controller. | ||
|
||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
|
||
- #clock-cells: should be 1. | ||
|
||
Each clock is assigned an identifier and client nodes can use this identifier | ||
to specify the clock which they consume. | ||
|
||
All available clocks are defined as preprocessor macros in | ||
dt-bindings/clock/exynos4415.h header and can be used in device | ||
tree sources. | ||
|
||
Example 1: An example of a clock controller node is listed below. | ||
|
||
cmu: clock-controller@10030000 { | ||
compatible = "samsung,exynos4415-cmu"; | ||
reg = <0x10030000 0x18000>; | ||
#clock-cells = <1>; | ||
}; | ||
|
||
cmu-dmc: clock-controller@105C0000 { | ||
compatible = "samsung,exynos4415-cmu-dmc"; | ||
reg = <0x105C0000 0x3000>; | ||
#clock-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
* Samsung Exynos7 Clock Controller | ||
|
||
Exynos7 clock controller has various blocks which are instantiated | ||
independently from the device-tree. These clock controllers | ||
generate and supply clocks to various hardware blocks within | ||
the SoC. | ||
|
||
Each clock is assigned an identifier and client nodes can use | ||
this identifier to specify the clock which they consume. All | ||
available clocks are defined as preprocessor macros in | ||
dt-bindings/clock/exynos7-clk.h header and can be used in | ||
device tree sources. | ||
|
||
External clocks: | ||
|
||
There are several clocks that are generated outside the SoC. It | ||
is expected that they are defined using standard clock bindings | ||
with following clock-output-names: | ||
|
||
- "fin_pll" - PLL input clock from XXTI | ||
|
||
Required Properties for Clock Controller: | ||
|
||
- compatible: clock controllers will use one of the following | ||
compatible strings to indicate the clock controller | ||
functionality. | ||
|
||
- "samsung,exynos7-clock-topc" | ||
- "samsung,exynos7-clock-top0" | ||
- "samsung,exynos7-clock-top1" | ||
- "samsung,exynos7-clock-ccore" | ||
- "samsung,exynos7-clock-peric0" | ||
- "samsung,exynos7-clock-peric1" | ||
- "samsung,exynos7-clock-peris" | ||
- "samsung,exynos7-clock-fsys0" | ||
- "samsung,exynos7-clock-fsys1" | ||
|
||
- reg: physical base address of the controller and the length of | ||
memory mapped region. | ||
|
||
- #clock-cells: should be 1. | ||
|
||
- clocks: list of clock identifiers which are fed as the input to | ||
the given clock controller. Please refer the next section to | ||
find the input clocks for a given controller. | ||
|
||
- clock-names: list of names of clocks which are fed as the input | ||
to the given clock controller. | ||
|
||
Input clocks for top0 clock controller: | ||
- fin_pll | ||
- dout_sclk_bus0_pll | ||
- dout_sclk_bus1_pll | ||
- dout_sclk_cc_pll | ||
- dout_sclk_mfc_pll | ||
|
||
Input clocks for top1 clock controller: | ||
- fin_pll | ||
- dout_sclk_bus0_pll | ||
- dout_sclk_bus1_pll | ||
- dout_sclk_cc_pll | ||
- dout_sclk_mfc_pll | ||
|
||
Input clocks for ccore clock controller: | ||
- fin_pll | ||
- dout_aclk_ccore_133 | ||
|
||
Input clocks for peric0 clock controller: | ||
- fin_pll | ||
- dout_aclk_peric0_66 | ||
- sclk_uart0 | ||
|
||
Input clocks for peric1 clock controller: | ||
- fin_pll | ||
- dout_aclk_peric1_66 | ||
- sclk_uart1 | ||
- sclk_uart2 | ||
- sclk_uart3 | ||
|
||
Input clocks for peris clock controller: | ||
- fin_pll | ||
- dout_aclk_peris_66 | ||
|
||
Input clocks for fsys0 clock controller: | ||
- fin_pll | ||
- dout_aclk_fsys0_200 | ||
- dout_sclk_mmc2 | ||
|
||
Input clocks for fsys1 clock controller: | ||
- fin_pll | ||
- dout_aclk_fsys1_200 | ||
- dout_sclk_mmc0 | ||
- dout_sclk_mmc1 |
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 @@ | ||
* Marvell MMP2 Clock Controller | ||
|
||
The MMP2 clock subsystem generates and supplies clock to various | ||
controllers within the MMP2 SoC. | ||
|
||
Required Properties: | ||
|
||
- compatible: should be one of the following. | ||
- "marvell,mmp2-clock" - controller compatible with MMP2 SoC. | ||
|
||
- reg: physical base address of the clock subsystem and length of memory mapped | ||
region. There are 3 places in SOC has clock control logic: | ||
"mpmu", "apmu", "apbc". So three reg spaces need to be defined. | ||
|
||
- #clock-cells: should be 1. | ||
- #reset-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/marvell-mmp2.h>. |
21 changes: 21 additions & 0 deletions
21
Documentation/devicetree/bindings/clock/marvell,pxa168.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,21 @@ | ||
* Marvell PXA168 Clock Controller | ||
|
||
The PXA168 clock subsystem generates and supplies clock to various | ||
controllers within the PXA168 SoC. | ||
|
||
Required Properties: | ||
|
||
- compatible: should be one of the following. | ||
- "marvell,pxa168-clock" - controller compatible with PXA168 SoC. | ||
|
||
- reg: physical base address of the clock subsystem and length of memory mapped | ||
region. There are 3 places in SOC has clock control logic: | ||
"mpmu", "apmu", "apbc". So three reg spaces need to be defined. | ||
|
||
- #clock-cells: should be 1. | ||
- #reset-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/marvell,pxa168.h>. |
21 changes: 21 additions & 0 deletions
21
Documentation/devicetree/bindings/clock/marvell,pxa910.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,21 @@ | ||
* Marvell PXA910 Clock Controller | ||
|
||
The PXA910 clock subsystem generates and supplies clock to various | ||
controllers within the PXA910 SoC. | ||
|
||
Required Properties: | ||
|
||
- compatible: should be one of the following. | ||
- "marvell,pxa910-clock" - controller compatible with PXA910 SoC. | ||
|
||
- reg: physical base address of the clock subsystem and length of memory mapped | ||
region. There are 4 places in SOC has clock control logic: | ||
"mpmu", "apmu", "apbc", "apbcp". So four reg spaces need to be defined. | ||
|
||
- #clock-cells: should be 1. | ||
- #reset-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/marvell-pxa910.h>. |
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 |
---|---|---|
|
@@ -2576,8 +2576,9 @@ F: drivers/media/platform/coda/ | |
|
||
COMMON CLK FRAMEWORK | ||
M: Mike Turquette <[email protected]> | ||
M: Stephen Boyd <[email protected]> | ||
L: [email protected] | ||
T: git git://git.linaro.org/people/mturquette/linux.git | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git | ||
S: Maintained | ||
F: drivers/clk/ | ||
X: drivers/clk/clkdev.c | ||
|
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.