The MSM8998 SoC happens to use the same configuration, for both
clusters, as SDM660 Gold L2: add a compatible for it and point
it to the 660 Gold configuration.

Signed-off-by: AngeloGioacchino Del Regno 
<[email protected]>
---
 drivers/soc/qcom/spm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/soc/qcom/spm.c b/drivers/soc/qcom/spm.c
index 843732d12c54..0618fa080367 100644
--- a/drivers/soc/qcom/spm.c
+++ b/drivers/soc/qcom/spm.c
@@ -149,6 +149,8 @@ static const struct of_device_id spm_match_table[] = {
          .data = &spm_reg_660_gold_l2 },
        { .compatible = "qcom,sdm660-silver-saw2-v4.1-l2",
          .data = &spm_reg_660_silver_l2 },
+       { .compatible = "qcom,msm8998-saw2-v4.1-l2",
+         .data = &spm_reg_660_gold_l2 },
        { .compatible = "qcom,msm8974-saw2-v2.1-cpu",
          .data = &spm_reg_8974_8084_cpu },
        { .compatible = "qcom,apq8084-saw2-v2.1-cpu",
-- 
2.29.2

Reply via email to