[PATCH V1 4/4] phy: qcom-qmp-ufs: read max-microamp values from device tree
Mark Brown
broonie at kernel.org
Thu Aug 7 11:45:19 PDT 2025
On Thu, Aug 07, 2025 at 11:26:17PM +0530, Nitin Rawat wrote:
> 1. Regulator and PMIC configurations are board-specific, meaning they can
> vary significantly across different platforms. For example, some boards may
> use different generations of UFS devices — such as UFS 2.x — which come with
> distinct power and load requirements and some with UFS3.x which has it own
> power/load requirement.
Requirements from generations of UFS devices presumably come from the
UFS spec and should just be known though?
> 2. UFS PHY load and PMIC requirements also varies across targets, depending
> on the underlying technology node and the specific PHY capabilities. These
> differences can be influenced by the MIPI version or other implementation
> details.
If you've got non-enumerable PHYs that have a big impact that's a much
clearer use case for putting things in DT.
> Given this variability, expressing these requirements in the device tree
> allows for a flexible and accurate way to describe board-specific
> constraints without hardcoding them into the driver.
There's still the issue with making this a thing for all regulators, not
just for this specific device.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-phy/attachments/20250807/bce87247/attachment.sig>
More information about the linux-phy
mailing list