diff --git a/drivers/clk/clk-stub.c b/drivers/clk/clk-stub.c index 85e54841386a..74825f87580a 100644 --- a/drivers/clk/clk-stub.c +++ b/drivers/clk/clk-stub.c @@ -52,7 +52,6 @@ static const struct udevice_id stub_clk_ids[] = { { .compatible = "qcom,qcs615-rpmh-clk" }, { .compatible = "qcom,rpmcc" }, { .compatible = "qcom,sc7180-rpmh-clk" }, - { .compatible = "qcom,sc7280-rpmh-clk" }, { .compatible = "qcom,sdm670-rpmh-clk" }, { .compatible = "qcom,sdm845-rpmh-clk" }, { .compatible = "qcom,sm6350-rpmh-clk" }, diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index 3fd12fb32ee0..7f990b7ecd8f 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -100,9 +100,9 @@ config CLK_QCOM_RPMH depends on CLK help Say Y here to enable support for the RPMh-managed clocks found on - SoCs such as SM8550, SM8650 and SA8775P. These clocks are owned by - the always-on subsystem; the driver only reports the fixed CXO rate - (bi_tcxo_div2) and accepts no-op enable/set_rate requests. + SoCs such as SC7280, SM8550, SM8650 and SA8775P. These clocks are + owned by the always-on subsystem; the driver only reports the fixed + CXO rate (bi_tcxo_div2) and accepts no-op enable/set_rate requests. config CLK_QCOM_SA8775P bool "Qualcomm SA8775 GCC" @@ -197,6 +197,7 @@ config CLK_QCOM_SM8650 config CLK_QCOM_SC7280 bool "Qualcomm SC7280 GCC" select CLK_QCOM + select CLK_QCOM_RPMH help Say Y here to enable support for the Global Clock Controller on the Snapdragon SC7280 SoC. This driver supports the clocks diff --git a/drivers/clk/qcom/clock-rpmh.c b/drivers/clk/qcom/clock-rpmh.c index 026059def678..6e0ee3b3c505 100644 --- a/drivers/clk/qcom/clock-rpmh.c +++ b/drivers/clk/qcom/clock-rpmh.c @@ -47,6 +47,7 @@ static struct clk_ops qcom_rpmh_clk_ops = { static const struct udevice_id qcom_rpmh_clk_ids[] = { { .compatible = "qcom,sa8775p-rpmh-clk", .data = TCXO_DIV2_RATE }, + { .compatible = "qcom,sc7280-rpmh-clk", .data = TCXO_DIV2_RATE }, { .compatible = "qcom,sm8550-rpmh-clk", .data = TCXO_DIV2_RATE }, { .compatible = "qcom,sm8650-rpmh-clk", .data = TCXO_DIV2_RATE }, { }