[PATCH 1/5] clk: qcom: clk-stub: Add compatibles for QCS615/SA8775P/SC7280

Julien Stephan jstephan at baylibre.com
Thu Mar 19 11:30:35 CET 2026


Le jeu. 19 mars 2026 à 10:37, Balaji Selvanathan
<balaji.selvanathan at oss.qualcomm.com> a écrit :
>
> Add RPMH clock compatible strings for QCS615, SA8775P, and SC7280
> SoCs to enable clock framework support on these platforms.
>
> Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
> ---
>  drivers/clk/clk-stub.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/clk/clk-stub.c b/drivers/clk/clk-stub.c
> index 117266ac778..6a178976cc3 100644
> --- a/drivers/clk/clk-stub.c
> +++ b/drivers/clk/clk-stub.c
> @@ -49,7 +49,10 @@ static struct clk_ops stub_clk_ops = {
>  };
>
>  static const struct udevice_id stub_clk_ids[] = {
> +       { .compatible = "qcom,qcs615-rpmh-clk" },
>         { .compatible = "qcom,rpmcc" },
> +       { .compatible = "qcom,sa8775p-rpmh-clk" },
> +       { .compatible = "qcom,sc7280-rpmh-clk" },

This one already exist, so it is a duplicate. Drop it. Also update
commit message accordingly.
Unless you are trying to sort the compatible strings, in which case
you're missing "qcom,sc7180-rpmh-clk", and the sorting should be done
in a separate commit beforehand.

Cheers
Julien

>         { .compatible = "qcom,sdm670-rpmh-clk" },
>         { .compatible = "qcom,sdm845-rpmh-clk" },
>         { .compatible = "qcom,sc7180-rpmh-clk" },
> @@ -69,4 +72,3 @@ U_BOOT_DRIVER(clk_stub) = {
>         .of_match = stub_clk_ids,
>         .flags = DM_FLAG_DEFAULT_PD_CTRL_OFF,
>  };
> -
>
> --
> 2.34.1
>


More information about the U-Boot mailing list