brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · 59a6af7 Raw
81 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/power/apple,pmgr-pwrstate.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Apple SoC PMGR Power States8 9maintainers:10  - Hector Martin <marcan@marcan.st>11 12allOf:13  - $ref: power-domain.yaml#14 15description: |16  Apple SoCs include PMGR blocks responsible for power management,17  which can control various clocks, resets, power states, and18  performance features. This binding describes the device power19  state registers, which control power states and resets.20 21  Each instance of a power controller within the PMGR syscon node22  represents a generic power domain provider, as documented in23  Documentation/devicetree/bindings/power/power-domain.yaml.24  The provider controls a single SoC block. The power hierarchy is25  represented via power-domains relationships between these nodes.26 27  See Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml28  for the top-level PMGR node documentation.29 30properties:31  compatible:32    items:33      - enum:34          - apple,t8103-pmgr-pwrstate35          - apple,t8112-pmgr-pwrstate36          - apple,t6000-pmgr-pwrstate37      - const: apple,pmgr-pwrstate38 39  reg:40    maxItems: 141 42  "#power-domain-cells":43    const: 044 45  "#reset-cells":46    const: 047 48  power-domains:49    description:50      Reference to parent power domains. A domain may have multiple parents,51      and all will be powered up when it is powered.52    minItems: 153    maxItems: 8 # Arbitrary, should be enough54 55  label:56    description:57      Specifies the name of the SoC domain being controlled. This is used to58      name the power/reset domains.59 60  apple,always-on:61    description:62      Forces this power domain to always be powered up.63    type: boolean64 65  apple,min-state:66    description:67      Specifies the minimum power state for auto-PM.68      0 = power gated, 4 = clock gated, 15 = on.69    $ref: /schemas/types.yaml#/definitions/uint3270    minimum: 071    maximum: 1572 73required:74  - compatible75  - reg76  - "#power-domain-cells"77  - "#reset-cells"78  - label79 80additionalProperties: false81