diff options
author | Tero Kristo <t-kristo@ti.com> | 2013-08-21 12:39:15 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-01-17 15:35:13 -0500 |
commit | 3cd4a596224565cff00b69a02d4b5fa7432ea6d3 (patch) | |
tree | 66ec0ab2c879ccb9715f335af51897376148b2a6 /Documentation | |
parent | f60b1ea5ea7ab1aee34a5ba55520b84b6e6d482e (diff) |
CLK: TI: add support for clockdomain binding
Some OMAP clocks require knowledge about their parent clockdomain for
book keeping purposes. This patch creates a new DT binding for TI
clockdomains, which act as a collection of device clocks. Clockdomain
itself is rather misleading name for the hardware functionality, as at
least on OMAP4 / OMAP5 / DRA7 the clockdomains can be collections of either
clocks and/or IP blocks, thus idle-domain or such might be more appropriate.
For most cases on these SoCs, the kernel doesn't even need the information
and the mappings can be ignored.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/clock/ti/clockdomain.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/ti/clockdomain.txt b/Documentation/devicetree/bindings/clock/ti/clockdomain.txt new file mode 100644 index 000000000000..cb76b3f2b341 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/ti/clockdomain.txt | |||
@@ -0,0 +1,24 @@ | |||
1 | Binding for Texas Instruments clockdomain. | ||
2 | |||
3 | Binding status: Unstable - ABI compatibility may be broken in the future | ||
4 | |||
5 | This binding uses the common clock binding[1] in consumer role. | ||
6 | Every clock on TI SoC belongs to one clockdomain, but software | ||
7 | only needs this information for specific clocks which require | ||
8 | their parent clockdomain to be controlled when the clock is | ||
9 | enabled/disabled. This binding doesn't define a new clock | ||
10 | binding type, it is used to group existing clock nodes under | ||
11 | hardware hierarchy. | ||
12 | |||
13 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
14 | |||
15 | Required properties: | ||
16 | - compatible : shall be "ti,clockdomain" | ||
17 | - #clock-cells : from common clock binding; shall be set to 0. | ||
18 | - clocks : link phandles of clocks within this domain | ||
19 | |||
20 | Examples: | ||
21 | dss_clkdm: dss_clkdm { | ||
22 | compatible = "ti,clockdomain"; | ||
23 | clocks = <&dss1_alwon_fck_3430es2>, <&dss_ick_3430es2>; | ||
24 | }; | ||