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' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/clk/linux Pull clk updates from Stephen Boyd: "The clk changes for this release cycle are mostly dominated by new device support in terms of LoC, but there has been some cleanup in the core as well as the usual minor clk additions to various drivers. Core: - parent tracking has been simplified - CLK_IS_ROOT is now a no-op flag, cleaning up drivers has started - of_clk_init() doesn't consider disabled DT nodes anymore - clk_unregister() had an error path bug squashed - of_clk_get_parent_count() has been fixed to only return unsigned ints - HAVE_MACH_CLKDEV is removed now that the last arch user (ARM) is gone New Drivers: - NXP LPC18xx creg - QCOM IPQ4019 GCC - TI dm814x ADPLL - i.MX6QP Updates: - Cyngus audio clks found on Broadcom iProc devices - Non-critical fixes for BCM2385 PLLs - Samsung exynos5433 updates for clk id errors, HDMI support, suspend/resume simplifications - USB, CAN, LVDS, and FCP clks on shmobile devices - sunxi got support for more clks on new SoCs and went through a minor refactoring/rewrite to use a simpler factor clk construct - rockchip added some more clk ids and added suport for fraction dividers - QCOM GDSCs in msm8996 - A new devm helper to make adding custom actions simpler (acked by Greg)" * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (197 commits) clk: bcm2835: fix check of error code returned by devm_ioremap_resource() clk: renesas: div6: use RENESAS for #define clk: renesas: Rename header file renesas.h clk: max77{686,802}: Remove CLK_IS_ROOT clk: versatile: Remove CLK_IS_ROOT clk: sunxi: Remove use of variable length array clk: fixed-rate: Remove CLK_IS_ROOT clk: qcom: Remove CLK_IS_ROOT doc: dt: add documentation for lpc1850-creg-clk driver clk: add lpc18xx creg clk driver clk: lpc32xx: fix compilation warning clk: xgene: Add missing parenthesis when clearing divider value clk: mb86s7x: Remove CLK_IS_ROOT clk: x86: Remove clkdev.h and clk.h includes clk: x86: Remove CLK_IS_ROOT clk: mvebu: Remove CLK_IS_ROOT clk: renesas: move drivers to renesas directory clk: si5{14,351,70}: Remove CLK_IS_ROOT clk: scpi: Remove CLK_IS_ROOT clk: s2mps11: Remove CLK_IS_ROOT ...
- Loading branch information
Showing
194 changed files
with
5,681 additions
and
2,463 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
52 changes: 52 additions & 0 deletions
52
Documentation/devicetree/bindings/clock/lpc1850-creg-clk.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,52 @@ | ||
* NXP LPC1850 CREG clocks | ||
|
||
The NXP LPC18xx/43xx CREG (Configuration Registers) block contains | ||
control registers for two low speed clocks. One of the clocks is a | ||
32 kHz oscillator driver with power up/down and clock gating. Next | ||
is a fixed divider that creates a 1 kHz clock from the 32 kHz osc. | ||
|
||
These clocks are used by the RTC and the Event Router peripherials. | ||
The 32 kHz can also be routed to other peripherials to enable low | ||
power modes. | ||
|
||
This binding uses the common clock binding: | ||
Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
|
||
Required properties: | ||
- compatible: | ||
Should be "nxp,lpc1850-creg-clk" | ||
- #clock-cells: | ||
Shall have value <1>. | ||
- clocks: | ||
Shall contain a phandle to the fixed 32 kHz crystal. | ||
|
||
The creg-clk node must be a child of the creg syscon node. | ||
|
||
The following clocks are available from the clock node. | ||
|
||
Clock ID Name | ||
0 1 kHz clock | ||
1 32 kHz Oscillator | ||
|
||
Example: | ||
soc { | ||
creg: syscon@40043000 { | ||
compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd"; | ||
reg = <0x40043000 0x1000>; | ||
|
||
creg_clk: clock-controller { | ||
compatible = "nxp,lpc1850-creg-clk"; | ||
clocks = <&xtal32>; | ||
#clock-cells = <1>; | ||
}; | ||
|
||
... | ||
}; | ||
|
||
rtc: rtc@40046000 { | ||
... | ||
clocks = <&creg_clk 0>, <&ccu1 CLK_CPU_BUS>; | ||
clock-names = "rtc", "reg"; | ||
... | ||
}; | ||
}; |
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,41 @@ | ||
Binding for Texas Instruments ADPLL 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 ADPLL with two to three selectable input clocks | ||
and three to four children. | ||
|
||
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
|
||
Required properties: | ||
- compatible : shall be one of "ti,dm814-adpll-s-clock" or | ||
"ti,dm814-adpll-lj-clock" depending on the type of the ADPLL | ||
- #clock-cells : from common clock binding; shall be set to 1. | ||
- clocks : link phandles of parent clocks clkinp and clkinpulow, note | ||
that the adpll-s-clock also has an optional clkinphif | ||
- reg : address and length of the register set for controlling the ADPLL. | ||
|
||
Examples: | ||
adpll_mpu_ck: adpll@40 { | ||
#clock-cells = <1>; | ||
compatible = "ti,dm814-adpll-s-clock"; | ||
reg = <0x40 0x40>; | ||
clocks = <&devosc_ck &devosc_ck &devosc_ck>; | ||
clock-names = "clkinp", "clkinpulow", "clkinphif"; | ||
clock-output-names = "481c5040.adpll.dcoclkldo", | ||
"481c5040.adpll.clkout", | ||
"481c5040.adpll.clkoutx2", | ||
"481c5040.adpll.clkouthif"; | ||
}; | ||
|
||
adpll_dsp_ck: adpll@80 { | ||
#clock-cells = <1>; | ||
compatible = "ti,dm814-adpll-lj-clock"; | ||
reg = <0x80 0x30>; | ||
clocks = <&devosc_ck &devosc_ck>; | ||
clock-names = "clkinp", "clkinpulow"; | ||
clock-output-names = "481c5080.adpll.dcoclkldo", | ||
"481c5080.adpll.clkout", | ||
"481c5080.adpll.clkoutldo"; | ||
}; |
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
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
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.