xref: /linux/Documentation/devicetree/bindings/clock/ti/ti,clockdomain.yaml (revision 502d45774af09f1c681c754c4b7cdfb5d7f72fd9)
1*3a6deb47SBhargav Joshi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*3a6deb47SBhargav Joshi%YAML 1.2
3*3a6deb47SBhargav Joshi---
4*3a6deb47SBhargav Joshi$id: http://devicetree.org/schemas/clock/ti/ti,clockdomain.yaml#
5*3a6deb47SBhargav Joshi$schema: http://devicetree.org/meta-schemas/core.yaml#
6*3a6deb47SBhargav Joshi
7*3a6deb47SBhargav Joshititle: Texas Instruments clockdomain
8*3a6deb47SBhargav Joshi
9*3a6deb47SBhargav Joshimaintainers:
10*3a6deb47SBhargav Joshi  - Tero Kristo <kristo@kernel.org>
11*3a6deb47SBhargav Joshi
12*3a6deb47SBhargav Joshidescription:
13*3a6deb47SBhargav Joshi  This binding uses the common clock binding in consumer role. Every clock on TI
14*3a6deb47SBhargav Joshi  SoC belongs to one clockdomain, but software only needs this information for
15*3a6deb47SBhargav Joshi  specific clocks which require their parent clockdomain to be controlled when
16*3a6deb47SBhargav Joshi  the clock is enabled/disabled. This binding doesn't define a new clock binding
17*3a6deb47SBhargav Joshi  type, it is used to group existing clock nodes under hardware hierarchy.
18*3a6deb47SBhargav Joshi
19*3a6deb47SBhargav Joshiproperties:
20*3a6deb47SBhargav Joshi  compatible:
21*3a6deb47SBhargav Joshi    const: ti,clockdomain
22*3a6deb47SBhargav Joshi
23*3a6deb47SBhargav Joshi  "#clock-cells":
24*3a6deb47SBhargav Joshi    const: 0
25*3a6deb47SBhargav Joshi
26*3a6deb47SBhargav Joshi  clocks:
27*3a6deb47SBhargav Joshi    minItems: 1
28*3a6deb47SBhargav Joshi    maxItems: 64
29*3a6deb47SBhargav Joshi
30*3a6deb47SBhargav Joshi  clock-output-names:
31*3a6deb47SBhargav Joshi    maxItems: 1
32*3a6deb47SBhargav Joshi
33*3a6deb47SBhargav Joshirequired:
34*3a6deb47SBhargav Joshi  - compatible
35*3a6deb47SBhargav Joshi  - clocks
36*3a6deb47SBhargav Joshi
37*3a6deb47SBhargav JoshiadditionalProperties: false
38*3a6deb47SBhargav Joshi
39*3a6deb47SBhargav Joshiexamples:
40*3a6deb47SBhargav Joshi  - |
41*3a6deb47SBhargav Joshi    dss_clkdm {
42*3a6deb47SBhargav Joshi        compatible = "ti,clockdomain";
43*3a6deb47SBhargav Joshi        clocks = <&dss1_alwon_fck_3430es2>, <&dss_ick_3430es2>;
44*3a6deb47SBhargav Joshi    };
45