dt-bindings: remoteproc: qcom: Update Q6V5 Modem PIL binding
authorSibi Sankar <sibis@codeaurora.org>
Fri, 17 Sep 2021 13:55:28 +0000 (19:25 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 27 Sep 2021 23:37:34 +0000 (18:37 -0500)
Add a new modem compatible string for QTI SC7280 SoCs and introduce the
"qcom,ext-regs" and "qcom,qaccept-regs" properties needed by the modem
sub-system running on SC7280 SoCs.

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1631886935-14691-4-git-send-email-sibis@codeaurora.org
Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt

index 494257010629f46f40020b1c5f497f51bced45ab..8f1507052afd10b678d161852922dc0540a7de9f 100644 (file)
@@ -15,6 +15,7 @@ on the Qualcomm Hexagon core.
                    "qcom,msm8996-mss-pil"
                    "qcom,msm8998-mss-pil"
                    "qcom,sc7180-mss-pil"
+                   "qcom,sc7280-mss-pil"
                    "qcom,sdm845-mss-pil"
 
 - reg:
@@ -47,6 +48,7 @@ on the Qualcomm Hexagon core.
        qcom,msm8996-mss-pil:
        qcom,msm8998-mss-pil:
        qcom,sc7180-mss-pil:
+       qcom,sc7280-mss-pil:
        qcom,sdm845-mss-pil:
                    must be "wdog", "fatal", "ready", "handover", "stop-ack",
                    "shutdown-ack"
@@ -87,6 +89,8 @@ on the Qualcomm Hexagon core.
        qcom,sc7180-mss-pil:
                    must be "iface", "bus", "xo", "snoc_axi", "mnoc_axi",
                    "nav"
+       qcom,sc7280-mss-pil:
+                   must be "iface", "xo", "snoc_axi", "offline", "pka"
        qcom,sdm845-mss-pil:
                    must be "iface", "bus", "mem", "xo", "gpll0_mss",
                    "snoc_axi", "mnoc_axi", "prng"
@@ -98,7 +102,7 @@ on the Qualcomm Hexagon core.
                    reference to the list of 3 reset-controllers for the
                    wcss sub-system
                    reference to the list of 2 reset-controllers for the modem
-                   sub-system on SC7180, SDM845 SoCs
+                   sub-system on SC7180, SC7280, SDM845 SoCs
 
 - reset-names:
        Usage: required
@@ -107,7 +111,7 @@ on the Qualcomm Hexagon core.
                    must be "wcss_aon_reset", "wcss_reset", "wcss_q6_reset"
                    for the wcss sub-system
                    must be "mss_restart", "pdc_reset" for the modem
-                   sub-system on SC7180, SDM845 SoCs
+                   sub-system on SC7180, SC7280, SDM845 SoCs
 
 For devices where the mba and mpss sub-nodes are not specified, mba/mpss region
 should be referenced as follows:
@@ -173,6 +177,9 @@ For the compatible string below the following supplies are required:
        qcom,msm8998-mss-pil:
                    must be "cx", "mx"
        qcom,sc7180-mss-pil:
+                   must be "cx", "mx", "mss"
+       qcom,sc7280-mss-pil:
+                   must be "cx", "mss"
        qcom,sdm845-mss-pil:
                    must be "cx", "mx", "mss"
 
@@ -198,6 +205,9 @@ For the compatible string below the following supplies are required:
        Definition: a phandle reference to a syscon representing TCSR followed
                    by the three offsets within syscon for q6, modem and nc
                    halt registers.
+                   a phandle reference to a syscon representing TCSR followed
+                   by the four offsets within syscon for q6, modem, nc and vq6
+                   halt registers on SC7280 SoCs.
 
 For the compatible strings below the following phandle references are required:
   "qcom,sc7180-mss-pil"
@@ -208,6 +218,24 @@ For the compatible strings below the following phandle references are required:
                    by the offset within syscon for conn_box_spare0 register
                    used by the modem sub-system running on SC7180 SoC.
 
+For the compatible strings below the following phandle references are required:
+  "qcom,sc7280-mss-pil"
+- qcom,ext-regs:
+       Usage: required
+       Value type: <prop-encoded-array>
+       Definition: two phandle references to syscons representing TCSR_REG and
+                   TCSR register space followed by the two offsets within the syscon
+                   to force_clk_en/rscc_disable and axim1_clk_off/crypto_clk_off
+                   registers respectively.
+
+- qcom,qaccept-regs:
+       Usage: required
+       Value type: <prop-encoded-array>
+       Definition: a phandle reference to a syscon representing TCSR followed
+                   by the three offsets within syscon for mdm, cx and axi
+                   qaccept registers used by the modem sub-system running on
+                   SC7280 SoC.
+
 The Hexagon node must contain iommus property as described in ../iommu/iommu.txt
 on platforms which do not have TrustZone.