1e8117f85SHector Martin# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2e8117f85SHector Martin%YAML 1.2 3e8117f85SHector Martin--- 4e8117f85SHector Martin$id: http://devicetree.org/schemas/power/apple,pmgr-pwrstate.yaml# 5e8117f85SHector Martin$schema: http://devicetree.org/meta-schemas/core.yaml# 6e8117f85SHector Martin 7e8117f85SHector Martintitle: Apple SoC PMGR Power States 8e8117f85SHector Martin 9e8117f85SHector Martinmaintainers: 10e8117f85SHector Martin - Hector Martin <marcan@marcan.st> 11e8117f85SHector Martin 12e8117f85SHector MartinallOf: 1393215d9fSKrzysztof Kozlowski - $ref: power-domain.yaml# 14e8117f85SHector Martin 15e8117f85SHector Martindescription: | 16e8117f85SHector Martin Apple SoCs include PMGR blocks responsible for power management, 17e8117f85SHector Martin which can control various clocks, resets, power states, and 18e8117f85SHector Martin performance features. This binding describes the device power 19e8117f85SHector Martin state registers, which control power states and resets. 20e8117f85SHector Martin 21e8117f85SHector Martin Each instance of a power controller within the PMGR syscon node 22e8117f85SHector Martin represents a generic power domain provider, as documented in 23e8117f85SHector Martin Documentation/devicetree/bindings/power/power-domain.yaml. 24e8117f85SHector Martin The provider controls a single SoC block. The power hierarchy is 25e8117f85SHector Martin represented via power-domains relationships between these nodes. 26e8117f85SHector Martin 27e8117f85SHector Martin See Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml 28e8117f85SHector Martin for the top-level PMGR node documentation. 29e8117f85SHector Martin 30e8117f85SHector Martinproperties: 31e8117f85SHector Martin compatible: 32e8117f85SHector Martin items: 33e8117f85SHector Martin - enum: 34e8117f85SHector Martin - apple,t8103-pmgr-pwrstate 35*4d93b3a9SHector Martin - apple,t8112-pmgr-pwrstate 36e8117f85SHector Martin - apple,t6000-pmgr-pwrstate 37e8117f85SHector Martin - const: apple,pmgr-pwrstate 38e8117f85SHector Martin 39e8117f85SHector Martin reg: 40e8117f85SHector Martin maxItems: 1 41e8117f85SHector Martin 42e8117f85SHector Martin "#power-domain-cells": 43e8117f85SHector Martin const: 0 44e8117f85SHector Martin 45e8117f85SHector Martin "#reset-cells": 46e8117f85SHector Martin const: 0 47e8117f85SHector Martin 48e8117f85SHector Martin power-domains: 49e8117f85SHector Martin description: 50e8117f85SHector Martin Reference to parent power domains. A domain may have multiple parents, 51e8117f85SHector Martin and all will be powered up when it is powered. 52e8117f85SHector Martin minItems: 1 53e8117f85SHector Martin maxItems: 8 # Arbitrary, should be enough 54e8117f85SHector Martin 55e8117f85SHector Martin label: 56e8117f85SHector Martin description: 57e8117f85SHector Martin Specifies the name of the SoC domain being controlled. This is used to 58e8117f85SHector Martin name the power/reset domains. 59e8117f85SHector Martin 60e8117f85SHector Martin apple,always-on: 61e8117f85SHector Martin description: 62e8117f85SHector Martin Forces this power domain to always be powered up. 63e8117f85SHector Martin type: boolean 64e8117f85SHector Martin 65d824dadeSHector Martin apple,min-state: 66d824dadeSHector Martin description: 67d824dadeSHector Martin Specifies the minimum power state for auto-PM. 68d824dadeSHector Martin 0 = power gated, 4 = clock gated, 15 = on. 69d824dadeSHector Martin $ref: /schemas/types.yaml#/definitions/uint32 70d824dadeSHector Martin minimum: 0 71d824dadeSHector Martin maximum: 15 72d824dadeSHector Martin 73e8117f85SHector Martinrequired: 74e8117f85SHector Martin - compatible 75e8117f85SHector Martin - reg 76e8117f85SHector Martin - "#power-domain-cells" 77e8117f85SHector Martin - "#reset-cells" 78e8117f85SHector Martin - label 79e8117f85SHector Martin 80e8117f85SHector MartinadditionalProperties: false 81