Add two new optional properties to the SC8280XP QMP UFS PHY
device tree binding:
- `vdda-phy-max-microamp`: Specifies the maximum current (in microamps)
that can be drawn from the PHY supply.
- `vdda-pll-max-microamp`: Specifies the maximum current (in microamps)
that can be drawn from the PLL supply.
These additions help define power requirements more precisely for
regulators supplying the PHY and PLL blocks and ensuring the regulators
is kept in correct mode based on the client load requirements.
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com>
---
.../bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
index a58370a6a5d3..4648642dc974 100644
--- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
@@ -71,6 +71,16 @@ properties:
vdda-pll-supply: true
+ vdda-phy-max-microamp:
+ maxItems: 1
+ description:
+ Specifies max. load that can be drawn from phy supply.
+
+ vdda-pll-max-microamp:
+ maxItems: 1
+ description:
+ Specifies max. load that can be drawn from pll supply.
+
"#clock-cells":
const: 1
--
2.48.1
On Wed, Aug 06, 2025 at 09:13:37PM +0530, Nitin Rawat wrote: > Add two new optional properties to the SC8280XP QMP UFS PHY > device tree binding: Please start your commit message with a description of the problem you're trying to solve. > > - `vdda-phy-max-microamp`: Specifies the maximum current (in microamps) > that can be drawn from the PHY supply. > - `vdda-pll-max-microamp`: Specifies the maximum current (in microamps) > that can be drawn from the PLL supply. That's literally the content of the patch...use the commit message to describe the problem you're solving and a technical description of the solution to your problem (and in this case, why that solution goes in the DeviceTree). Regards, Bjorn > > These additions help define power requirements more precisely for > regulators supplying the PHY and PLL blocks and ensuring the regulators > is kept in correct mode based on the client load requirements. > > Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com> > --- > .../bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml > index a58370a6a5d3..4648642dc974 100644 > --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml > @@ -71,6 +71,16 @@ properties: > > vdda-pll-supply: true > > + vdda-phy-max-microamp: > + maxItems: 1 > + description: > + Specifies max. load that can be drawn from phy supply. > + > + vdda-pll-max-microamp: > + maxItems: 1 > + description: > + Specifies max. load that can be drawn from pll supply. > + > "#clock-cells": > const: 1 > > -- > 2.48.1 >
On Wed, Aug 06, 2025 at 09:13:37PM +0530, Nitin Rawat wrote: > Add two new optional properties to the SC8280XP QMP UFS PHY > device tree binding: > > - `vdda-phy-max-microamp`: Specifies the maximum current (in microamps) > that can be drawn from the PHY supply. > - `vdda-pll-max-microamp`: Specifies the maximum current (in microamps) > that can be drawn from the PLL supply. How much you can draw from some supply is not a property of the device, but that supply, so to me this is really oddly named. Anyway, discussion is going in driver patch. Best regards, Krzysztof
© 2016 - 2025 Red Hat, Inc.