Re: [PATCH V1 4/4] phy: qcom-qmp-ufs: read max-microamp values from device tree
From: Dmitry Baryshkov
Date: Sat Aug 09 2025 - 03:30:25 EST
On Wed, Aug 06, 2025 at 09:13:40PM +0530, Nitin Rawat wrote:
> Add support in QMP PHY driver to read optional vdda-phy-max-microamp
> and vdda-pll-max-microamp properties from the device tree.
>
> These properties define the expected maximum current (in microamps) for
> each supply. The driver uses this information to configure regulators
> more accurately and ensure they operate in the correct mode based on
> client load requirements.
What defines those load values? Are they actually dependent on the
platform? On the SoC? On the board design? On the UFS gear?
>
> If the property is not present, the driver defaults load to
> `QMP_VREG_UNUSED`.
>
> Signed-off-by: Nitin Rawat <quic_nitirawa@xxxxxxxxxxx>
> ---
> drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 22 +++++++++++++++++++---
> 1 file changed, 19 insertions(+), 3 deletions(-)
>
--
With best wishes
Dmitry