Simple Power-Managed Bus

Schema identifier ($id): "http://devicetree.org/schemas/bus/simple-pm-bus.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

A Simple Power-Managed Bus is a transparent bus that doesn't need a real driver, as it's typically initialized by the boot loader.

However, its bus controller is part of a PM domain, or under the control of a functional clock. Hence, the bus controller's PM domain and/or clock must be enabled for child devices connected to the bus (either on-SoC or externally) to function.

While "simple-pm-bus" follows the "simple-bus" set of properties, as specified in the Devicetree Specification, it is not an extension of "simple-bus".

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^bus(@[0-9a-f]+)?$"

compatible — required here #

Rule for matching array elements (contains) #

Exact value (const): "simple-pm-bus"

Shall contain "simple-pm-bus" in addition to a optional bus-specific compatible strings defined in individual pm-bus bindings.

#address-cells — required here #

Allowed values (enum): 1, 2

#size-cells — required here #

Allowed values (enum): 1, 2

ranges — required here #

true — No constraints added by this property rule.

clocks — not listed as required here #

true — No constraints added by this property rule.

power-domains — not listed as required here #

Minimum number of items (minItems): 1

Required in this object (required): "compatible", "#address-cells", "#size-cells", "ranges"

At least one of these rules must match (anyOf) #

Rule 1 #

Required in this object (required): "clocks"

Rule 2 #

Required in this object (required): "power-domains"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-msm8996.h>
#include <dt-bindings/interrupt-controller/irq.h>

bus {
    power-domains = <&gcc AGGRE0_NOC_GDSC>;
    compatible = "simple-pm-bus";
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 45: Functional clocks

Line 46: Required if power-domains is absent, optional otherwise

Line 49: Required if clocks is absent, optional otherwise

Edit this page