Re: [PATCH 2/3] phy: qcom: edp: Add missing refclk for X1E80100

From: Konrad Dybcio
Date: Wed Jul 30 2025 - 07:59:17 EST


On 7/30/25 1:46 PM, Abel Vesa wrote:
> On X Elite, the DP PHY needs another clock called refclk.
> Rework the match data to allow passing different number of clocks and
> add the refclk to the X1E80100 config data.
>
> Cc: stable@xxxxxxxxxxxxxxx # v6.10
> Fixes: db83c107dc29 ("phy: qcom: edp: Add v6 specific ops and X1E80100 platform support")
> Signed-off-by: Abel Vesa <abel.vesa@xxxxxxxxxx>
> ---

[...]

> + edp->num_clks = edp->cfg->num_clks;
> +
> + ret = devm_clk_bulk_get(dev, edp->num_clks, edp->clks);

Go with devm_clk_bulk_get_all() instead, no need to be so stringent

Konrad