Qualcomm Always-On Subsystem side channel

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,aoss-qmp.yaml#"

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

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

This binding describes the hardware component responsible for side channel requests to the always-on subsystem (AOSS), used for certain power management requests that is not handled by the standard RPMh interface. Each client in the SoC has its own block of message RAM and IRQ for communication with the AOSS. The protocol used to communicate in the message RAM is known as Qualcomm Messaging Protocol (QMP) The AOSS side channel exposes control over a set of resources, used to control a set of debug related clocks and to affect the low power state of resources related to the secondary subsystems.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,glymur-aoss-qmp", "qcom,kaanapali-aoss-qmp", "qcom,milos-aoss-qmp", "qcom,qcs615-aoss-qmp", "qcom,qcs8300-aoss-qmp", "qcom,qdu1000-aoss-qmp", "qcom,sa8255p-aoss-qmp", "qcom,sa8775p-aoss-qmp", "qcom,sar2130p-aoss-qmp", "qcom,sc7180-aoss-qmp", "qcom,sc7280-aoss-qmp", "qcom,sc8180x-aoss-qmp", "qcom,sc8280xp-aoss-qmp", "qcom,sdx75-aoss-qmp", "qcom,sdm845-aoss-qmp", "qcom,sm6350-aoss-qmp", "qcom,sm7150-aoss-qmp", "qcom,sm8150-aoss-qmp", "qcom,sm8250-aoss-qmp", "qcom,sm8350-aoss-qmp", "qcom,sm8450-aoss-qmp", "qcom,sm8550-aoss-qmp", "qcom,sm8650-aoss-qmp", "qcom,sm8750-aoss-qmp", "qcom,x1e80100-aoss-qmp"

Item 2

Exact value (const): "qcom,aoss-qmp"

reg — required here #

Maximum number of items (maxItems): 1

The base address and size of the message RAM for this client's communication with the AOSS

interrupts — required here #

Maximum number of items (maxItems): 1

Should specify the AOSS message IRQ for this client

mboxes — required here #

Maximum number of items (maxItems): 1

Reference to the mailbox representing the outgoing doorbell in APCS for this client, as described in mailbox/mailbox.txt

#clock-cells — required here #

Exact value (const): 0

The single clock represents the QDSS clock.

Required in this object (required): "compatible", "reg", "interrupts", "mboxes", "#clock-cells"

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

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(cx|mx|ebi)$ — name matches this regular expression #

Value type (type): "object"

The AOSS side channel also provides the controls for three cooling devices, these are expressed as subnodes of the QMP node. The name of the node is used to identify the resource and must therefore be "cx", "mx" or "ebi".

Properties and child nodes (properties) #

#cooling-cells — required here

Exact value (const): 2

Required in this object (required): "#cooling-cells"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

aoss_qmp: qmp@c300000 {
  compatible = "qcom,sdm845-aoss-qmp", "qcom,aoss-qmp";
  reg = <0x0c300000 0x100000>;
  interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
  mboxes = <&apss_shared 0>;

  #clock-cells = <0>;

  cx_cdev: cx {
    #cooling-cells = <2>;
  };

  mx_cdev: mx {
    #cooling-cells = <2>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page