Debian Codegraph @

Documentation/devicetree/bindings/clock/fixed-factor-clock.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/clock/fixed-factor-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Simple fixed factor rate clock sources
8
9 maintainers:
10 - Michael Turquette <[email protected]>
11 - Stephen Boyd <[email protected]>
12
13 properties:
14 $nodename:
15 anyOf:
16 - description:
17 If the frequency is fixed, the preferred name is 'clock-<freq>' with
18 <freq> being the output frequency.
19 pattern: "^clock-([0-9]+|[0-9a-z-]+)$"
20 - description: Any name allowed
21 deprecated: true
22
23 compatible:
24 enum:
25 - fixed-factor-clock
26
27 "#clock-cells":
28 const: 0
29
30 clocks:
31 maxItems: 1
32
33 clock-div:
34 description: Fixed divider
35 $ref: /schemas/types.yaml#/definitions/uint32
36 minimum: 1
37
38 clock-mult:
39 description: Fixed multiplier
40 $ref: /schemas/types.yaml#/definitions/uint32
41
42 clock-output-names:
43 maxItems: 1
44
45 required:
46 - compatible
47 - clocks
48 - "#clock-cells"
49 - clock-div
50 - clock-mult
51
52 additionalProperties: false
53
54 examples:
55 - |
56 clock {
57 compatible = "fixed-factor-clock";
58 clocks = <&parentclk>;
59 #clock-cells = <0>;
60 clock-div = <2>;
61 clock-mult = <1>;
62 };
63 ...