Re: [PATCH 2/2] regulator: qcom-refgen: add support for the IPQ9650 SoC

From: Konrad Dybcio

Date: Tue Jun 09 2026 - 09:53:18 EST


On 6/2/26 11:22 AM, Kathiravan Thirumoorthy wrote:
> IPQ9650 SoC has 2 REFGEN blocks providing the reference current to the
> PCIe and USB, UNIPHY PHYs. For the other SoCs, clocks for this block is
> enabled on power up but that's not the case for IPQ9650 and we have to
> enable those clocks explicitly to bring up the PHYs properly.
>
> As per the design team, REFGEN block provides the reference current.
> Hence marked the regulator type as REGULATOR_CURRENT.
>
> Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>
> ---

I'm slightly confused. Is there no register programming needed?
Can we at least retrieve the running state in .is_enabled() by reading
some value?

Konrad