[PATCH v2 2/2] clk: qcom: rpmh: Add support for QCS9100 rpmh clocks

From: Tengfei Fan
Date: Tue Jul 09 2024 - 10:38:40 EST


Adds the RPMH clocks present in QCS9100 SoC.
QCS9100 is drived from SA8775p. Currently, both the QCS9100 and SA8775p
platform use non-SCMI resource. In the future, the SA8775p platform will
move to use SCMI resources and it will have new sa8775p-related device
tree. Consequently, introduce "qcom,qcs9100-rpmh-clk" to the rpmh clock
device match table.

Signed-off-by: Tengfei Fan <quic_tengfan@xxxxxxxxxxx>
---
drivers/clk/qcom/clk-rpmh.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c
index bb82abeed88f..8131afba85d6 100644
--- a/drivers/clk/qcom/clk-rpmh.c
+++ b/drivers/clk/qcom/clk-rpmh.c
@@ -876,6 +876,7 @@ static int clk_rpmh_probe(struct platform_device *pdev)
}

static const struct of_device_id clk_rpmh_match_table[] = {
+ { .compatible = "qcom,qcs9100-rpmh-clk", .data = &clk_rpmh_sa8775p},
{ .compatible = "qcom,qdu1000-rpmh-clk", .data = &clk_rpmh_qdu1000},
{ .compatible = "qcom,sa8775p-rpmh-clk", .data = &clk_rpmh_sa8775p},
{ .compatible = "qcom,sc7180-rpmh-clk", .data = &clk_rpmh_sc7180},

--
2.25.1