Re: [PATCH 1/2] dt-bindings: usb: qcom,pmic-types: require one of the VBUS sources
From: Bryan O'Donoghue
Date: Sun Sep 20 2026 - 17:28:21 EST
On 20/09/2026 15:37, Dmitry Baryshkov wrote:
The commit fe2195b019f6 ("dt-bindings: usb: qcom,pmic-typec: deprecate
device-specific VBUS") deprecated the old, device-specific VBUS supply
property for the sake of using the generic vbus-supply of the connector.
It also removed the old property from the list of required properties,
so now schema stopped requiring any VBUS supply. Add separate claude
demanding that either an old one or a generic property are provided.
This is a weird sentence.
Fixes: fe2195b019f6 ("dt-bindings: usb: qcom,pmic-typec: deprecate device-specific VBUS")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml b/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
index ba790c4488b7..db487562cec4 100644
--- a/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
+++ b/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
@@ -91,6 +91,14 @@ required:
- interrupts
- interrupt-names
+oneOf:
+ - required:
+ - vdd-vbus-supply
+ - properties:
+ connector:
+ required:
+ - vbus-supply
+
allOf:
- if:
properties:
Other than that this seems logical.
Once fixed.
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>