Update the binding in
Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml
to include the compatible string "qcom,pmi8998-vbus-reg".
This change adds PMI8998 support to the Qualcomm USB VBUS regulator
bindings.
With this patch, device trees that describe a PMI8998 USB VBUS regulator
using the "qcom,pmi8998-vbus-reg" compatible string will now validate
correctly. This is required to support hardware based on PMI8998, which
has different current limit tables and other regulator-specific
configurations.
Tested: The next patch contains the driver and has been tested with
Lantronix SOM.
Signed-off-by: James A. MacInnes <james.a.macinnes@gmail.com>
---
.../devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml
index fcefc722ee2a..6092560e9048 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml
@@ -22,6 +22,7 @@ properties:
oneOf:
- enum:
- qcom,pm8150b-vbus-reg
+ - qcom,pmi8998-vbus-reg
- items:
- enum:
- qcom,pm4125-vbus-reg
--
2.43.0
On Tue, Feb 11, 2025 at 05:07:42PM -0800, James A. MacInnes wrote: > Update the binding in > Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml > to include the compatible string "qcom,pmi8998-vbus-reg". > This change adds PMI8998 support to the Qualcomm USB VBUS regulator > bindings. The second phrase is obvious. > > With this patch, device trees that describe a PMI8998 USB VBUS regulator > using the "qcom,pmi8998-vbus-reg" compatible string will now validate > correctly. This is required to support hardware based on PMI8998, which > has different current limit tables and other regulator-specific > configurations. All of this is also obvious > > Tested: The next patch contains the driver and has been tested with > Lantronix SOM. Drop > > Signed-off-by: James A. MacInnes <james.a.macinnes@gmail.com> > --- > .../devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml > index fcefc722ee2a..6092560e9048 100644 > --- a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml > +++ b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml > @@ -22,6 +22,7 @@ properties: > oneOf: > - enum: > - qcom,pm8150b-vbus-reg > + - qcom,pmi8998-vbus-reg > - items: > - enum: > - qcom,pm4125-vbus-reg > -- > 2.43.0 > -- With best wishes Dmitry
© 2016 - 2025 Red Hat, Inc.