^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/clock/fixed-clock.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: Binding for simple fixed-rate clock sources
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Michael Turquette <mturquette@baylibre.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - Stephen Boyd <sboyd@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) const: fixed-clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) "#clock-cells":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) const: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) clock-frequency: true
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) clock-accuracy:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) description: accuracy of clock in ppb (parts per billion).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) clock-output-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) - "#clock-cells"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) - clock-frequency
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) clock {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) compatible = "fixed-clock";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) #clock-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) clock-frequency = <1000000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) clock-accuracy = <100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) ...