Skip to content

Commit 8f306cf

Browse files
Tero Kristobebarino
authored andcommitted
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>
1 parent b608a89 commit 8f306cf

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Texas Instruments TI-SCI Clocks
2+
===============================
3+
4+
All clocks on Texas Instruments' SoCs that contain a System Controller,
5+
are only controlled by this entity. Communication between a host processor
6+
running an OS and the System Controller happens through a protocol known
7+
as TI-SCI[1]. This clock implementation plugs into the common clock
8+
framework and makes use of the TI-SCI protocol on clock API requests.
9+
10+
[1] Documentation/devicetree/bindings/arm/keystone/ti,sci.txt
11+
12+
Required properties:
13+
-------------------
14+
- compatible: Must be "ti,k2g-sci-clk"
15+
- #clock-cells: Shall be 2.
16+
In clock consumers, this cell represents the device ID and clock ID
17+
exposed by the PM firmware. The assignments can be found in the header
18+
files <dt-bindings/genpd/<soc>.h> (which covers the device IDs) and
19+
<dt-bindings/clock/<soc>.h> (which covers the clock IDs), where <soc>
20+
is the SoC involved, for example 'k2g'.
21+
22+
Examples:
23+
--------
24+
25+
pmmc: pmmc {
26+
compatible = "ti,k2g-sci";
27+
28+
k2g_clks: clocks {
29+
compatible = "ti,k2g-sci-clk";
30+
#clock-cells = <2>;
31+
};
32+
};
33+
34+
uart0: serial@2530c00 {
35+
compatible = "ns16550a";
36+
clocks = <&k2g_clks 0x2c 0>;
37+
};

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12630,6 +12630,7 @@ F: include/linux/soc/ti/ti_sci_protocol.h
1263012630
F: Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt
1263112631
F: include/dt-bindings/genpd/k2g.h
1263212632
F: drivers/soc/ti/ti_sci_pm_domains.c
12633+
F: Documentation/devicetree/bindings/clock/ti,sci-clk.txt
1263312634

1263412635
THANKO'S RAREMONO AM/FM/SW RADIO RECEIVER USB DRIVER
1263512636
M: Hans Verkuil <hverkuil@xs4all.nl>

0 commit comments

Comments
 (0)