diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-06-25 13:59:47 -0700 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-06-25 14:02:48 -0700 |
commit | cd5bc327c70507bcffbfab5260cd4b89e68a1af2 (patch) | |
tree | 662b64c373f4ede81735e868d0121b4db7404c9f | |
parent | 87aa5653b4846bf2cb5296e962d6e36890abf52c (diff) |
firmware: qcom: scm: Add sdm845 compatible
Add a compatible for SDM845, no clocks necessary.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/firmware/qcom,scm.txt | 3 | ||||
-rw-r--r-- | drivers/firmware/qcom_scm.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt index fcf6979c0b6d..b07843f05e7d 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt @@ -12,9 +12,10 @@ Required properties: * "qcom,scm-msm8690" for MSM8690 platforms * "qcom,scm-msm8996" for MSM8996 platforms * "qcom,scm-ipq4019" for IPQ4019 platforms + * "qcom,scm-sdm845" for SDM845 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", "qcom,scm-ipq4019" + * No clock required for "qcom,scm-msm8996", "qcom,scm-ipq4019", "qcom,scm-sdm845" * 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 diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index e778af766fae..97ad56db5a5a 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -606,6 +606,9 @@ static const struct of_device_id qcom_scm_dt_match[] = { { .compatible = "qcom,scm-ipq4019", .data = NULL, /* no clocks */ }, + { .compatible = "qcom,scm-sdm845", + .data = NULL /* no clocks */ + }, { .compatible = "qcom,scm", .data = (void *)(SCM_HAS_CORE_CLK | SCM_HAS_IFACE_CLK |