1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/power/domain-idle-state.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: PM Domain Idle States binding description 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Ulf Hansson <ulf.hansson@linaro.org> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: 13c66ec88fSEmmanuel Vadot A domain idle state node represents the state parameters that will be used to 14c66ec88fSEmmanuel Vadot select the state when there are no active components in the PM domain. 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadotproperties: 17c66ec88fSEmmanuel Vadot $nodename: 18c66ec88fSEmmanuel Vadot const: domain-idle-states 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel VadotpatternProperties: 21c66ec88fSEmmanuel Vadot "^(cpu|cluster|domain)-": 22c66ec88fSEmmanuel Vadot type: object 23c66ec88fSEmmanuel Vadot description: 24c66ec88fSEmmanuel Vadot Each state node represents a domain idle state description. 25c66ec88fSEmmanuel Vadot 26c66ec88fSEmmanuel Vadot properties: 27c66ec88fSEmmanuel Vadot compatible: 28c66ec88fSEmmanuel Vadot const: domain-idle-state 29c66ec88fSEmmanuel Vadot 30c66ec88fSEmmanuel Vadot entry-latency-us: 31c66ec88fSEmmanuel Vadot description: 32c66ec88fSEmmanuel Vadot The worst case latency in microseconds required to enter the idle 33c66ec88fSEmmanuel Vadot state. Note that, the exit-latency-us duration may be guaranteed only 34c66ec88fSEmmanuel Vadot after the entry-latency-us has passed. 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot exit-latency-us: 37c66ec88fSEmmanuel Vadot description: 38c66ec88fSEmmanuel Vadot The worst case latency in microseconds required to exit the idle 39c66ec88fSEmmanuel Vadot state. 40c66ec88fSEmmanuel Vadot 41c66ec88fSEmmanuel Vadot min-residency-us: 42c66ec88fSEmmanuel Vadot description: 43c66ec88fSEmmanuel Vadot The minimum residency duration in microseconds after which the idle 44c66ec88fSEmmanuel Vadot state will yield power benefits, after overcoming the overhead while 45c66ec88fSEmmanuel Vadot entering the idle state. 46c66ec88fSEmmanuel Vadot 47c66ec88fSEmmanuel Vadot required: 48c66ec88fSEmmanuel Vadot - compatible 49c66ec88fSEmmanuel Vadot - entry-latency-us 50c66ec88fSEmmanuel Vadot - exit-latency-us 51c66ec88fSEmmanuel Vadot - min-residency-us 52c66ec88fSEmmanuel Vadot 53*6be33864SEmmanuel VadotadditionalProperties: false 54*6be33864SEmmanuel Vadot 55c66ec88fSEmmanuel Vadotexamples: 56c66ec88fSEmmanuel Vadot - | 57c66ec88fSEmmanuel Vadot 58c66ec88fSEmmanuel Vadot domain-idle-states { 59c66ec88fSEmmanuel Vadot domain_retention: domain-retention { 60c66ec88fSEmmanuel Vadot compatible = "domain-idle-state"; 61c66ec88fSEmmanuel Vadot entry-latency-us = <20>; 62c66ec88fSEmmanuel Vadot exit-latency-us = <40>; 63c66ec88fSEmmanuel Vadot min-residency-us = <80>; 64c66ec88fSEmmanuel Vadot }; 65c66ec88fSEmmanuel Vadot }; 66c66ec88fSEmmanuel Vadot... 67