xref: /linux/Documentation/devicetree/bindings/clock/ti/ti,interface-clock.yaml (revision 9f3a2ba62c7226a6604b8aaeb92b5ff906fa4e6b)
1*beec5847SAndreas Kemnade# SPDX-License-Identifier: GPL-2.0-only
2*beec5847SAndreas Kemnade%YAML 1.2
3*beec5847SAndreas Kemnade---
4*beec5847SAndreas Kemnade$id: http://devicetree.org/schemas/clock/ti/ti,interface-clock.yaml#
5*beec5847SAndreas Kemnade$schema: http://devicetree.org/meta-schemas/core.yaml#
6*beec5847SAndreas Kemnade
7*beec5847SAndreas Kemnadetitle: Texas Instruments interface clock.
8*beec5847SAndreas Kemnade
9*beec5847SAndreas Kemnademaintainers:
10*beec5847SAndreas Kemnade  - Tero Kristo <kristo@kernel.org>
11*beec5847SAndreas Kemnade
12*beec5847SAndreas Kemnadedescription: |
13*beec5847SAndreas Kemnade  This clock is quite much similar to the basic gate-clock[1], however,
14*beec5847SAndreas Kemnade  it supports a number of additional features, including
15*beec5847SAndreas Kemnade  companion clock finding (match corresponding functional gate
16*beec5847SAndreas Kemnade  clock) and hardware autoidle enable / disable.
17*beec5847SAndreas Kemnade
18*beec5847SAndreas Kemnade  [1] Documentation/devicetree/bindings/clock/gpio-gate-clock.yaml
19*beec5847SAndreas Kemnade
20*beec5847SAndreas Kemnadeproperties:
21*beec5847SAndreas Kemnade  compatible:
22*beec5847SAndreas Kemnade    enum:
23*beec5847SAndreas Kemnade      - ti,omap3-interface-clock           # basic OMAP3 interface clock
24*beec5847SAndreas Kemnade      - ti,omap3-no-wait-interface-clock   # interface clock which has no hardware
25*beec5847SAndreas Kemnade                                           # capability for waiting clock to be ready
26*beec5847SAndreas Kemnade      - ti,omap3-hsotgusb-interface-clock  # interface clock with USB specific HW handling
27*beec5847SAndreas Kemnade      - ti,omap3-dss-interface-clock       # interface clock with DSS specific HW handling
28*beec5847SAndreas Kemnade      - ti,omap3-ssi-interface-clock       # interface clock with SSI specific HW handling
29*beec5847SAndreas Kemnade      - ti,am35xx-interface-clock          # interface clock with AM35xx specific HW handling
30*beec5847SAndreas Kemnade      - ti,omap2430-interface-clock        # interface clock with OMAP2430 specific HW handling
31*beec5847SAndreas Kemnade
32*beec5847SAndreas Kemnade  "#clock-cells":
33*beec5847SAndreas Kemnade    const: 0
34*beec5847SAndreas Kemnade
35*beec5847SAndreas Kemnade  clocks:
36*beec5847SAndreas Kemnade    maxItems: 1
37*beec5847SAndreas Kemnade
38*beec5847SAndreas Kemnade  clock-output-names:
39*beec5847SAndreas Kemnade    maxItems: 1
40*beec5847SAndreas Kemnade
41*beec5847SAndreas Kemnade  reg:
42*beec5847SAndreas Kemnade    maxItems: 1
43*beec5847SAndreas Kemnade
44*beec5847SAndreas Kemnade  ti,bit-shift:
45*beec5847SAndreas Kemnade    description:
46*beec5847SAndreas Kemnade      bit shift for the bit enabling/disabling the clock
47*beec5847SAndreas Kemnade    $ref: /schemas/types.yaml#/definitions/uint32
48*beec5847SAndreas Kemnade    default: 0
49*beec5847SAndreas Kemnade    maximum: 31
50*beec5847SAndreas Kemnade
51*beec5847SAndreas Kemnaderequired:
52*beec5847SAndreas Kemnade  - compatible
53*beec5847SAndreas Kemnade  - clocks
54*beec5847SAndreas Kemnade  - '#clock-cells'
55*beec5847SAndreas Kemnade  - reg
56*beec5847SAndreas Kemnade
57*beec5847SAndreas KemnadeadditionalProperties: false
58*beec5847SAndreas Kemnade
59*beec5847SAndreas Kemnadeexamples:
60*beec5847SAndreas Kemnade  - |
61*beec5847SAndreas Kemnade    bus {
62*beec5847SAndreas Kemnade      #address-cells = <1>;
63*beec5847SAndreas Kemnade      #size-cells = <0>;
64*beec5847SAndreas Kemnade
65*beec5847SAndreas Kemnade      aes1_ick: clock-controller@3 {
66*beec5847SAndreas Kemnade        #clock-cells = <0>;
67*beec5847SAndreas Kemnade        compatible = "ti,omap3-interface-clock";
68*beec5847SAndreas Kemnade        clocks = <&security_l4_ick2>;
69*beec5847SAndreas Kemnade        reg = <3>;
70*beec5847SAndreas Kemnade      };
71*beec5847SAndreas Kemnade    };
72