-
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.
Documentation: dt: Add TI SCI clock driver
Add a clock implementation, TI SCI clock, that will hook to the common clock framework, and allow each clock to be controlled via TI SCI protocol. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
- Loading branch information
Tero Kristo
authored and
Stephen Boyd
committed
Jun 13, 2017
1 parent
b608a89
commit 8f306cf
Showing
2 changed files
with
38 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Texas Instruments TI-SCI Clocks | ||
=============================== | ||
|
||
All clocks on Texas Instruments' SoCs that contain a System Controller, | ||
are only controlled by this entity. Communication between a host processor | ||
running an OS and the System Controller happens through a protocol known | ||
as TI-SCI[1]. This clock implementation plugs into the common clock | ||
framework and makes use of the TI-SCI protocol on clock API requests. | ||
|
||
[1] Documentation/devicetree/bindings/arm/keystone/ti,sci.txt | ||
|
||
Required properties: | ||
------------------- | ||
- compatible: Must be "ti,k2g-sci-clk" | ||
- #clock-cells: Shall be 2. | ||
In clock consumers, this cell represents the device ID and clock ID | ||
exposed by the PM firmware. The assignments can be found in the header | ||
files <dt-bindings/genpd/<soc>.h> (which covers the device IDs) and | ||
<dt-bindings/clock/<soc>.h> (which covers the clock IDs), where <soc> | ||
is the SoC involved, for example 'k2g'. | ||
|
||
Examples: | ||
-------- | ||
|
||
pmmc: pmmc { | ||
compatible = "ti,k2g-sci"; | ||
|
||
k2g_clks: clocks { | ||
compatible = "ti,k2g-sci-clk"; | ||
#clock-cells = <2>; | ||
}; | ||
}; | ||
|
||
uart0: serial@2530c00 { | ||
compatible = "ns16550a"; | ||
clocks = <&k2g_clks 0x2c 0>; | ||
}; |
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