summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/gated-fixed-clock.yaml
blob: d3e0faf3c64daba5c1ec8b5748087fe47f255902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/gated-fixed-clock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Gated Fixed clock

maintainers:
  - Heiko Stuebner <heiko@sntech.de>

properties:
  compatible:
    const: gated-fixed-clock

  "#clock-cells":
    const: 0

  clock-frequency: true

  clock-output-names:
    maxItems: 1

  enable-gpios:
    description:
      Contains a single GPIO specifier for the GPIO that enables and disables
      the oscillator.
    maxItems: 1

  vdd-supply:
    description: handle of the regulator that provides the supply voltage

required:
  - compatible
  - "#clock-cells"
  - clock-frequency
  - vdd-supply

additionalProperties: false

examples:
  - |
    clock-1000000000 {
      compatible = "gated-fixed-clock";
      #clock-cells = <0>;
      clock-frequency = <1000000000>;
      vdd-supply = <&reg_vdd>;
    };
...