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

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

File Facts

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

title: Samsung Exynos2200 SoC clock controller

maintainers:
  - Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
  - Chanwoo Choi <cw00.choi@samsung.com>
  - Krzysztof Kozlowski <krzk@kernel.org>

description: |
  Exynos2200 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 clocks in that root tree
  are two external clocks: XTCXO (76.8 MHz) and RTCCLK (32768 Hz). XTCXO must be
  defined as a fixed-rate clock in dts, whereas RTCCLK originates from PMIC.

  CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and
  dividers; all other clocks of function blocks (other CMUs) are usually
  derived from CMU_TOP.

  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,exynos2200-cmu.h' header.

properties:
  compatible:
    enum:
      - samsung,exynos2200-cmu-alive
      - samsung,exynos2200-cmu-cmgp
      - samsung,exynos2200-cmu-hsi0
      - samsung,exynos2200-cmu-peric0
      - samsung,exynos2200-cmu-peric1
      - samsung,exynos2200-cmu-peric2
      - samsung,exynos2200-cmu-peris
      - samsung,exynos2200-cmu-top
      - samsung,exynos2200-cmu-ufs
      - samsung,exynos2200-cmu-vts

  clocks:
    minItems: 1
    maxItems: 6

  clock-names:
    minItems: 1
    maxItems: 6

  "#clock-cells":
    const: 1

  reg:
    maxItems: 1

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

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: samsung,exynos2200-cmu-alive

Annotation

Implementation Notes