Path: blob/master/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
26308 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/bus/simple-pm-bus.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Simple Power-Managed Bus78maintainers:9- Geert Uytterhoeven <geert+renesas@glider.be>1011description: |12A Simple Power-Managed Bus is a transparent bus that doesn't need a real13driver, as it's typically initialized by the boot loader.1415However, its bus controller is part of a PM domain, or under the control16of a functional clock. Hence, the bus controller's PM domain and/or17clock must be enabled for child devices connected to the bus (either18on-SoC or externally) to function.1920While "simple-pm-bus" follows the "simple-bus" set of properties, as21specified in the Devicetree Specification, it is not an extension of22"simple-bus".2324properties:25$nodename:26pattern: "^bus(@[0-9a-f]+)?$"2728compatible:29contains:30const: simple-pm-bus31description:32Shall contain "simple-pm-bus" in addition to a optional bus-specific33compatible strings defined in individual pm-bus bindings.3435'#address-cells':36enum: [ 1, 2 ]3738'#size-cells':39enum: [ 1, 2 ]4041ranges: true4243clocks: true44# Functional clocks45# Required if power-domains is absent, optional otherwise4647power-domains:48# Required if clocks is absent, optional otherwise49minItems: 15051required:52- compatible53- '#address-cells'54- '#size-cells'55- ranges5657anyOf:58- required:59- clocks60- required:61- power-domains6263additionalProperties: true6465examples:66- |67#include <dt-bindings/clock/qcom,gcc-msm8996.h>68#include <dt-bindings/interrupt-controller/irq.h>6970bus {71power-domains = <&gcc AGGRE0_NOC_GDSC>;72compatible = "simple-pm-bus";73#address-cells = <1>;74#size-cells = <1>;75ranges;76};777879