Documentation/devicetree/bindings/clock/marvell,pxa1908.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/clock/marvell,pxa1908.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/clock/marvell,pxa1908.yaml
Extension
.yaml
Size
1453 bytes
Lines
67
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/marvell,pxa1908.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell PXA1908 Clock Controllers

maintainers:
  - Duje Mihanović <duje.mihanovic@skole.hr>

description: |
  The PXA1908 clock subsystem generates and supplies clock to various
  controllers within the PXA1908 SoC. The PXA1908 contains numerous clock
  controller blocks, with the ones currently supported being APBC, APBCP, MPMU
  and APMU roughly corresponding to internal buses.

  All these clock identifiers could be found in <include/dt-bindings/marvell,pxa1908.h>.

properties:
  compatible:
    oneOf:
      - enum:
          - marvell,pxa1908-apbc
          - marvell,pxa1908-apbcp
          - marvell,pxa1908-mpmu
      - items:
          - const: marvell,pxa1908-apmu
          - const: syscon

  reg:
    maxItems: 1

  '#clock-cells':
    const: 1

  '#power-domain-cells':
    const: 1

required:
  - compatible
  - reg
  - '#clock-cells'

additionalProperties: false

if:
  not:
    properties:
      compatible:
        contains:
          const: marvell,pxa1908-apmu

then:
  properties:
    '#power-domain-cells': false

examples:
  # APMU block:
  - |
    clock-controller@d4282800 {
      compatible = "marvell,pxa1908-apmu", "syscon";
      reg = <0xd4282800 0x400>;
      #clock-cells = <1>;
      #power-domain-cells = <1>;
    };

Annotation

Implementation Notes