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: 28*8534231eSKyle Deng - qcom,qcs8300-aoss-qmp 2995593428SMelody Olvera - qcom,qdu1000-aoss-qmp 30e81ee454SNikunj Kela - qcom,sa8255p-aoss-qmp 310dc60885SBartosz Golaszewski - qcom,sa8775p-aoss-qmp 3225136f04SDmitry Baryshkov - qcom,sar2130p-aoss-qmp 3344dadfbcSBjorn Andersson - qcom,sc7180-aoss-qmp 3444dadfbcSBjorn Andersson - qcom,sc7280-aoss-qmp 3544dadfbcSBjorn Andersson - qcom,sc8180x-aoss-qmp 36c8c39c74SLuca Weiss - qcom,sc8280xp-aoss-qmp 377981cf16SRohit Agarwal - qcom,sdx75-aoss-qmp 3844dadfbcSBjorn Andersson - qcom,sdm845-aoss-qmp 39069f01faSKonrad Dybcio - qcom,sm6350-aoss-qmp 4044dadfbcSBjorn Andersson - qcom,sm8150-aoss-qmp 4144dadfbcSBjorn Andersson - qcom,sm8250-aoss-qmp 4244dadfbcSBjorn Andersson - qcom,sm8350-aoss-qmp 43fbbb1cd0SKrzysztof Kozlowski - qcom,sm8450-aoss-qmp 441f0067c6SAbel Vesa - qcom,sm8550-aoss-qmp 458c1f28ffSNeil Armstrong - qcom,sm8650-aoss-qmp 46cb0d1c4eSKrzysztof Kozlowski - qcom,sm8750-aoss-qmp 47ce2e6658SAbel Vesa - qcom,x1e80100-aoss-qmp 4844dadfbcSBjorn Andersson - const: qcom,aoss-qmp 4944dadfbcSBjorn Andersson 5044dadfbcSBjorn Andersson reg: 5144dadfbcSBjorn Andersson maxItems: 1 5244dadfbcSBjorn Andersson description: 5344dadfbcSBjorn Andersson The base address and size of the message RAM for this client's 5444dadfbcSBjorn Andersson communication with the AOSS 5544dadfbcSBjorn Andersson 5644dadfbcSBjorn Andersson interrupts: 5744dadfbcSBjorn Andersson maxItems: 1 5844dadfbcSBjorn Andersson description: 5944dadfbcSBjorn Andersson Should specify the AOSS message IRQ for this client 6044dadfbcSBjorn Andersson 6144dadfbcSBjorn Andersson mboxes: 6244dadfbcSBjorn Andersson maxItems: 1 6344dadfbcSBjorn Andersson description: 6444dadfbcSBjorn Andersson Reference to the mailbox representing the outgoing doorbell in APCS for 6544dadfbcSBjorn Andersson this client, as described in mailbox/mailbox.txt 6644dadfbcSBjorn Andersson 6744dadfbcSBjorn Andersson "#clock-cells": 6844dadfbcSBjorn Andersson const: 0 6944dadfbcSBjorn Andersson description: 7044dadfbcSBjorn Andersson The single clock represents the QDSS clock. 7144dadfbcSBjorn Andersson 7244dadfbcSBjorn Anderssonrequired: 7344dadfbcSBjorn Andersson - compatible 7444dadfbcSBjorn Andersson - reg 7544dadfbcSBjorn Andersson - interrupts 7644dadfbcSBjorn Andersson - mboxes 7744dadfbcSBjorn Andersson - "#clock-cells" 7844dadfbcSBjorn Andersson 7944dadfbcSBjorn AnderssonadditionalProperties: false 8044dadfbcSBjorn Andersson 8144dadfbcSBjorn AnderssonpatternProperties: 8244dadfbcSBjorn Andersson "^(cx|mx|ebi)$": 8344dadfbcSBjorn Andersson type: object 8444dadfbcSBjorn Andersson description: 8544dadfbcSBjorn Andersson The AOSS side channel also provides the controls for three cooling devices, 8644dadfbcSBjorn Andersson these are expressed as subnodes of the QMP node. The name of the node is 8747aab533SBjorn Helgaas used to identify the resource and must therefore be "cx", "mx" or "ebi". 8844dadfbcSBjorn Andersson 8944dadfbcSBjorn Andersson properties: 9044dadfbcSBjorn Andersson "#cooling-cells": 9144dadfbcSBjorn Andersson const: 2 9244dadfbcSBjorn Andersson 9344dadfbcSBjorn Andersson required: 9444dadfbcSBjorn Andersson - "#cooling-cells" 9544dadfbcSBjorn Andersson 9644dadfbcSBjorn Andersson additionalProperties: false 9744dadfbcSBjorn Andersson 9844dadfbcSBjorn Anderssonexamples: 9944dadfbcSBjorn Andersson - | 10044dadfbcSBjorn Andersson #include <dt-bindings/interrupt-controller/arm-gic.h> 10144dadfbcSBjorn Andersson 10244dadfbcSBjorn Andersson aoss_qmp: qmp@c300000 { 10344dadfbcSBjorn Andersson compatible = "qcom,sdm845-aoss-qmp", "qcom,aoss-qmp"; 10444dadfbcSBjorn Andersson reg = <0x0c300000 0x100000>; 10544dadfbcSBjorn Andersson interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>; 10644dadfbcSBjorn Andersson mboxes = <&apss_shared 0>; 10744dadfbcSBjorn Andersson 10844dadfbcSBjorn Andersson #clock-cells = <0>; 10944dadfbcSBjorn Andersson 11044dadfbcSBjorn Andersson cx_cdev: cx { 11144dadfbcSBjorn Andersson #cooling-cells = <2>; 11244dadfbcSBjorn Andersson }; 11344dadfbcSBjorn Andersson 11444dadfbcSBjorn Andersson mx_cdev: mx { 11544dadfbcSBjorn Andersson #cooling-cells = <2>; 11644dadfbcSBjorn Andersson }; 11744dadfbcSBjorn Andersson }; 11844dadfbcSBjorn Andersson... 119