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

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/clock/gated-fixed-clock.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/clock/gated-fixed-clock.yaml
Extension
.yaml
Size
955 bytes
Lines
50
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# 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>;
    };
...

Annotation

Implementation Notes