firmware: qcom_scm: Add MDM9607 compatible
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Sun, 31 Jan 2021 01:30:57 +0000 (02:30 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 10 Jun 2021 16:26:45 +0000 (11:26 -0500)
Add a compatible for MDM9607. It uses the "legacy" calling
convention.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210131013058.54299-1-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Documentation/devicetree/bindings/firmware/qcom,scm.txt
drivers/firmware/qcom_scm.c

index e747d73..a7333ad 100644 (file)
@@ -12,6 +12,7 @@ Required properties:
  * "qcom,scm-ipq4019"
  * "qcom,scm-ipq806x"
  * "qcom,scm-ipq8074"
+ * "qcom,scm-mdm9607"
  * "qcom,scm-msm8660"
  * "qcom,scm-msm8916"
  * "qcom,scm-msm8960"
index ee9cb54..47ea2bd 100644 (file)
@@ -1281,6 +1281,9 @@ static const struct of_device_id qcom_scm_dt_match[] = {
                                                             SCM_HAS_BUS_CLK)
        },
        { .compatible = "qcom,scm-ipq4019" },
+       { .compatible = "qcom,scm-mdm9607", .data = (void *)(SCM_HAS_CORE_CLK |
+                                                            SCM_HAS_IFACE_CLK |
+                                                            SCM_HAS_BUS_CLK) },
        { .compatible = "qcom,scm-msm8660", .data = (void *) SCM_HAS_CORE_CLK },
        { .compatible = "qcom,scm-msm8960", .data = (void *) SCM_HAS_CORE_CLK },
        { .compatible = "qcom,scm-msm8916", .data = (void *)(SCM_HAS_CORE_CLK |