144dadfbcSBjorn Andersson# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 244dadfbcSBjorn Andersson%YAML 1.2 344dadfbcSBjorn Andersson--- 444dadfbcSBjorn Andersson$id: http://devicetree.org/schemas/soc/qcom/qcom,aoss-qmp.yaml# 544dadfbcSBjorn Andersson$schema: http://devicetree.org/meta-schemas/core.yaml# 644dadfbcSBjorn Andersson 784e85359SKrzysztof Kozlowskititle: Qualcomm Always-On Subsystem side channel 844dadfbcSBjorn Andersson 944dadfbcSBjorn Anderssonmaintainers: 1044dadfbcSBjorn Andersson - Bjorn Andersson <bjorn.andersson@linaro.org> 1144dadfbcSBjorn Andersson 1244dadfbcSBjorn Anderssondescription: 1344dadfbcSBjorn Andersson This binding describes the hardware component responsible for side channel 1444dadfbcSBjorn Andersson requests to the always-on subsystem (AOSS), used for certain power management 1544dadfbcSBjorn Andersson requests that is not handled by the standard RPMh interface. Each client in the 16be55492eSRandy Dunlap SoC has its own block of message RAM and IRQ for communication with the AOSS. 1744dadfbcSBjorn Andersson The protocol used to communicate in the message RAM is known as Qualcomm 1844dadfbcSBjorn Andersson Messaging Protocol (QMP) 1944dadfbcSBjorn Andersson 2044dadfbcSBjorn Andersson The AOSS side channel exposes control over a set of resources, used to control 2144dadfbcSBjorn Andersson a set of debug related clocks and to affect the low power state of resources 22a4fe5159SSibi Sankar related to the secondary subsystems. 2344dadfbcSBjorn Andersson 2444dadfbcSBjorn Anderssonproperties: 2544dadfbcSBjorn Andersson compatible: 2644dadfbcSBjorn Andersson items: 2744dadfbcSBjorn Andersson - enum: 2895593428SMelody Olvera - qcom,qdu1000-aoss-qmp 290dc60885SBartosz Golaszewski - qcom,sa8775p-aoss-qmp 3044dadfbcSBjorn Andersson - qcom,sc7180-aoss-qmp 3144dadfbcSBjorn Andersson - qcom,sc7280-aoss-qmp 3244dadfbcSBjorn Andersson - qcom,sc8180x-aoss-qmp 33c8c39c74SLuca Weiss - qcom,sc8280xp-aoss-qmp 34*7981cf16SRohit Agarwal - qcom,sdx75-aoss-qmp 3544dadfbcSBjorn Andersson - qcom,sdm845-aoss-qmp 36069f01faSKonrad Dybcio - qcom,sm6350-aoss-qmp 3744dadfbcSBjorn Andersson - qcom,sm8150-aoss-qmp 3844dadfbcSBjorn Andersson - qcom,sm8250-aoss-qmp 3944dadfbcSBjorn Andersson - qcom,sm8350-aoss-qmp 40fbbb1cd0SKrzysztof Kozlowski - qcom,sm8450-aoss-qmp 411f0067c6SAbel Vesa - qcom,sm8550-aoss-qmp 428c1f28ffSNeil Armstrong - qcom,sm8650-aoss-qmp 43ce2e6658SAbel Vesa - qcom,x1e80100-aoss-qmp 4444dadfbcSBjorn Andersson - const: qcom,aoss-qmp 4544dadfbcSBjorn Andersson 4644dadfbcSBjorn Andersson reg: 4744dadfbcSBjorn Andersson maxItems: 1 4844dadfbcSBjorn Andersson description: 4944dadfbcSBjorn Andersson The base address and size of the message RAM for this client's 5044dadfbcSBjorn Andersson communication with the AOSS 5144dadfbcSBjorn Andersson 5244dadfbcSBjorn Andersson interrupts: 5344dadfbcSBjorn Andersson maxItems: 1 5444dadfbcSBjorn Andersson description: 5544dadfbcSBjorn Andersson Should specify the AOSS message IRQ for this client 5644dadfbcSBjorn Andersson 5744dadfbcSBjorn Andersson mboxes: 5844dadfbcSBjorn Andersson maxItems: 1 5944dadfbcSBjorn Andersson description: 6044dadfbcSBjorn Andersson Reference to the mailbox representing the outgoing doorbell in APCS for 6144dadfbcSBjorn Andersson this client, as described in mailbox/mailbox.txt 6244dadfbcSBjorn Andersson 6344dadfbcSBjorn Andersson "#clock-cells": 6444dadfbcSBjorn Andersson const: 0 6544dadfbcSBjorn Andersson description: 6644dadfbcSBjorn Andersson The single clock represents the QDSS clock. 6744dadfbcSBjorn Andersson 6844dadfbcSBjorn Anderssonrequired: 6944dadfbcSBjorn Andersson - compatible 7044dadfbcSBjorn Andersson - reg 7144dadfbcSBjorn Andersson - interrupts 7244dadfbcSBjorn Andersson - mboxes 7344dadfbcSBjorn Andersson - "#clock-cells" 7444dadfbcSBjorn Andersson 7544dadfbcSBjorn AnderssonadditionalProperties: false 7644dadfbcSBjorn Andersson 7744dadfbcSBjorn AnderssonpatternProperties: 7844dadfbcSBjorn Andersson "^(cx|mx|ebi)$": 7944dadfbcSBjorn Andersson type: object 8044dadfbcSBjorn Andersson description: 8144dadfbcSBjorn Andersson The AOSS side channel also provides the controls for three cooling devices, 8244dadfbcSBjorn Andersson these are expressed as subnodes of the QMP node. The name of the node is 8347aab533SBjorn Helgaas used to identify the resource and must therefore be "cx", "mx" or "ebi". 8444dadfbcSBjorn Andersson 8544dadfbcSBjorn Andersson properties: 8644dadfbcSBjorn Andersson "#cooling-cells": 8744dadfbcSBjorn Andersson const: 2 8844dadfbcSBjorn Andersson 8944dadfbcSBjorn Andersson required: 9044dadfbcSBjorn Andersson - "#cooling-cells" 9144dadfbcSBjorn Andersson 9244dadfbcSBjorn Andersson additionalProperties: false 9344dadfbcSBjorn Andersson 9444dadfbcSBjorn Anderssonexamples: 9544dadfbcSBjorn Andersson - | 9644dadfbcSBjorn Andersson #include <dt-bindings/interrupt-controller/arm-gic.h> 9744dadfbcSBjorn Andersson 9844dadfbcSBjorn Andersson aoss_qmp: qmp@c300000 { 9944dadfbcSBjorn Andersson compatible = "qcom,sdm845-aoss-qmp", "qcom,aoss-qmp"; 10044dadfbcSBjorn Andersson reg = <0x0c300000 0x100000>; 10144dadfbcSBjorn Andersson interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>; 10244dadfbcSBjorn Andersson mboxes = <&apss_shared 0>; 10344dadfbcSBjorn Andersson 10444dadfbcSBjorn Andersson #clock-cells = <0>; 10544dadfbcSBjorn Andersson 10644dadfbcSBjorn Andersson cx_cdev: cx { 10744dadfbcSBjorn Andersson #cooling-cells = <2>; 10844dadfbcSBjorn Andersson }; 10944dadfbcSBjorn Andersson 11044dadfbcSBjorn Andersson mx_cdev: mx { 11144dadfbcSBjorn Andersson #cooling-cells = <2>; 11244dadfbcSBjorn Andersson }; 11344dadfbcSBjorn Andersson }; 11444dadfbcSBjorn Andersson... 115