[PATCH V1 4/4] phy: qcom-qmp-ufs: read max-microamp values from device tree
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Sat Aug 9 00:30:09 PDT 2025
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 at quicinc.com>
> ---
> drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 22 +++++++++++++++++++---
> 1 file changed, 19 insertions(+), 3 deletions(-)
>
--
With best wishes
Dmitry
More information about the linux-phy
mailing list