Documentation/devicetree/bindings/clock/samsung,exynos7870-cmu.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/clock/samsung,exynos7870-cmu.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/clock/samsung,exynos7870-cmu.yaml
Extension
.yaml
Size
6168 bytes
Lines
228
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/samsung,exynos7870-cmu.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung Exynos7870 SoC clock controller

maintainers:
  - Kaustabh Chakraborty <kauschluss@disroot.org>

description: |
  Exynos7870 clock controller is comprised of several CMU units, generating
  clocks for different domains. Those CMU units are modeled as separate device
  tree nodes, and might depend on each other. The root clock in that root tree
  is an external clock: OSCCLK (26 MHz). This external clock must be defined
  as a fixed-rate clock in dts.

  Each clock is assigned an identifier and client nodes can use this identifier
  to specify the clock which they consume. All clocks available for usage
  in clock consumer nodes are defined as preprocessor macros in
  include/dt-bindings/clock/samsung,exynos7870-cmu.h header.

properties:
  compatible:
    enum:
      - samsung,exynos7870-cmu-mif
      - samsung,exynos7870-cmu-dispaud
      - samsung,exynos7870-cmu-fsys
      - samsung,exynos7870-cmu-g3d
      - samsung,exynos7870-cmu-isp
      - samsung,exynos7870-cmu-mfcmscl
      - samsung,exynos7870-cmu-peri

  clocks:
    minItems: 1
    maxItems: 10

  clock-names:
    minItems: 1
    maxItems: 10

  "#clock-cells":
    const: 1

  reg:
    maxItems: 1

required:
  - compatible
  - clocks
  - clock-names
  - "#clock-cells"
  - reg

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: samsung,exynos7870-cmu-mif
    then:
      properties:
        clocks:
          items:
            - description: External reference clock (26 MHz)

        clock-names:
          items:
            - const: oscclk

Annotation

Implementation Notes