# SPDX-License-Identifier: BSD-2-Clause # Copyright 2019 ARM Ltd. # Copyright 2019 Linaro Ltd. %YAML 1.2 --- $id: http://devicetree.org/schemas/power-domain/power-domain-consumer.yaml# $schema: http://devicetree.org/meta-schemas/base.yaml# title: Power Domain Consumer Common Properties maintainers: - Rob Herring # always select the core schema select: true properties: power-domains: description: A list of PM domain specifiers, as defined by bindings of the power controller that is the PM domain provider. $ref: /schemas/types.yaml#/definitions/phandle-array power-domain-names: description: A list of power domain name strings sorted in the same order as the power-domains property. Consumers drivers will use power-domain-names to match power domains with power-domains specifiers. $ref: /schemas/types.yaml#/definitions/string-array dependencies: power-domain-names: [ power-domains ] additionalProperties: true examples: - | leaky-device@12350000 { compatible = "foo,i-leak-current"; reg = <0x12350000 0x1000>; power-domains = <&power 0>; power-domain-names = "io"; }; leaky-device@12351000 { compatible = "foo,i-leak-current"; reg = <0x12351000 0x1000>; power-domains = <&power 0>, <&power 1> ; power-domain-names = "io", "clk"; };