Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml
Extension
.yaml
Size
4523 bytes
Lines
150
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/arm/apple/apple,pmgr.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple SoC Power Manager (PMGR)

maintainers:
  - Hector Martin <marcan@marcan.st>

description: |
  Apple SoCs include PMGR blocks responsible for power management,
  which can control various clocks, resets, power states, and
  performance features. This node represents the PMGR as a syscon,
  with sub-nodes representing individual features.

properties:
  $nodename:
    pattern: "^power-management@[0-9a-f]+$"

  compatible:
    oneOf:
      - items:
          - enum:
              # Do not add additional SoC to this list.
              - apple,s5l8960x-pmgr
              - apple,t7000-pmgr
              - apple,s8000-pmgr
              - apple,t8010-pmgr
              - apple,t8015-pmgr
              - apple,t8103-pmgr
              - apple,t8112-pmgr
              - apple,t6000-pmgr
          - const: apple,pmgr
          - const: syscon
          - const: simple-mfd
      - items:
          - enum:
              - apple,t6020-pmgr
              - apple,t8122-pmgr
          - const: apple,t8103-pmgr
          - const: syscon
          - const: simple-mfd

  reg:
    maxItems: 1

  "#address-cells":
    const: 1

  "#size-cells":
    const: 1

patternProperties:
  "power-controller@[0-9a-f]+$":
    description:
      The individual power management domains within this controller
    type: object
    $ref: /schemas/power/apple,pmgr-pwrstate.yaml#

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    soc {

Annotation

Implementation Notes