2022-03-05 19:01:09

by Adam Skladowski

[permalink] [raw]
Subject: [PATCH 4/4] firmware: qcom_scm: Add compatible for MSM8976 SoC

Add compatible for SCM on MSM8976.
Signed-off-by: Adam Skladowski <[email protected]>
---
drivers/firmware/qcom_scm.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c
index 491bbf70c94a2..3163660fa8e29 100644
--- a/drivers/firmware/qcom_scm.c
+++ b/drivers/firmware/qcom_scm.c
@@ -1379,6 +1379,10 @@ static const struct of_device_id qcom_scm_dt_match[] = {
SCM_HAS_IFACE_CLK |
SCM_HAS_BUS_CLK)
},
+ { .compatible = "qcom,scm-msm8976", .data = (void *)(SCM_HAS_CORE_CLK |
+ SCM_HAS_IFACE_CLK |
+ SCM_HAS_BUS_CLK)
+ },
{ .compatible = "qcom,scm-msm8994" },
{ .compatible = "qcom,scm-msm8996" },
{ .compatible = "qcom,scm" },
--
2.25.1