Re: [PATCH v2 RESEND] clk: qcom: rpmh: make clkaN optional

From: Dmitry Baryshkov
Date: Sun May 18 2025 - 17:47:32 EST


On Sun, May 18, 2025 at 09:04:03PM +0800, Pengyu Luo wrote:
> On SM8650, clkaN are missing in cmd-db for some specific devices. This
> caused a boot failure. Printing log during initramfs phase, I found
>
> [ 0.053281] clk-rpmh 17a00000.rsc:clock-controller: missing RPMh resource address for clka1
>
> Adding the optional property to avoid probing failure which causes
> countless deferred probe. In the downstream tree,similar workarounds
> are introduced for SM7635, SM8550, SM8635, SM8650, SM8750.
>
> Signed-off-by: Pengyu Luo <mitltlatltl@xxxxxxxxx>
> ---
> Changes in v2:
> - using capital letters, sm[0-9]+ => SM[0-9]+, rpmh => RPMh (Dmitry)
> - correct typo, alform => plaform (Dmitry)
> - remove tested-by tag from myself (Dmitry)
> - line break to keep 80 characters per line (Dmitry)
> - Link to v1: https://lore.kernel.org/all/20250404072003.515796-1-mitltlatltl@xxxxxxxxx
> ---
> drivers/clk/qcom/clk-rpmh.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>

--
With best wishes
Dmitry