OSDN Git Service

firmware: qcom: scm: Add ipq4019 soc compatible
authorSricharan R <sricharan@codeaurora.org>
Fri, 23 Mar 2018 10:18:44 +0000 (15:48 +0530)
committerAndy Gross <andy.gross@linaro.org>
Wed, 25 Apr 2018 05:10:33 +0000 (00:10 -0500)
Add the compatible for ipq4019.
This does not need clocks to do scm calls.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Documentation/devicetree/bindings/firmware/qcom,scm.txt
drivers/firmware/qcom_scm.c

index 7b40054..fcf6979 100644 (file)
@@ -11,9 +11,10 @@ Required properties:
  * "qcom,scm-msm8660" for MSM8660 platforms
  * "qcom,scm-msm8690" for MSM8690 platforms
  * "qcom,scm-msm8996" for MSM8996 platforms
+ * "qcom,scm-ipq4019" for IPQ4019 platforms
  * "qcom,scm" for later processors (MSM8916, APQ8084, MSM8974, etc)
 - clocks: One to three clocks may be required based on compatible.
- * No clock required for "qcom,scm-msm8996"
+ * No clock required for "qcom,scm-msm8996", "qcom,scm-ipq4019"
  * Only core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660", and "qcom,scm-msm8960"
  * Core, iface, and bus clocks required for "qcom,scm"
 - clock-names: Must contain "core" for the core clock, "iface" for the interface
index 5a7d693..e778af7 100644 (file)
@@ -603,6 +603,9 @@ static const struct of_device_id qcom_scm_dt_match[] = {
        { .compatible = "qcom,scm-msm8996",
          .data = NULL, /* no clocks */
        },
+       { .compatible = "qcom,scm-ipq4019",
+         .data = NULL, /* no clocks */
+       },
        { .compatible = "qcom,scm",
          .data = (void *)(SCM_HAS_CORE_CLK
                           | SCM_HAS_IFACE_CLK