Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/fixed-clock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Binding for simple fixed-rate clock sources
0008 
0009 maintainers:
0010   - Michael Turquette <mturquette@baylibre.com>
0011   - Stephen Boyd <sboyd@kernel.org>
0012 
0013 properties:
0014   compatible:
0015     const: fixed-clock
0016 
0017   "#clock-cells":
0018     const: 0
0019 
0020   clock-frequency: true
0021 
0022   clock-accuracy:
0023     description: accuracy of clock in ppb (parts per billion).
0024     $ref: /schemas/types.yaml#/definitions/uint32
0025 
0026   clock-output-names:
0027     maxItems: 1
0028 
0029 required:
0030   - compatible
0031   - "#clock-cells"
0032   - clock-frequency
0033 
0034 additionalProperties: false
0035 
0036 examples:
0037   - |
0038     clock {
0039       compatible = "fixed-clock";
0040       #clock-cells = <0>;
0041       clock-frequency = <1000000000>;
0042       clock-accuracy = <100>;
0043     };
0044 ...