]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: connector: add pd-disable dependency
authorXu Yang <xu.yang_2@nxp.com>
Mon, 30 Mar 2026 06:35:18 +0000 (14:35 +0800)
committerRob Herring (Arm) <robh@kernel.org>
Tue, 31 Mar 2026 15:46:15 +0000 (10:46 -0500)
When Power Delivery is not supported, the source is unable to obtain the
current capability from the Source PDO. As a result, typec-power-opmode
needs to be added to advertise such capability.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Fixes: 7a4440bc0d86 ("dt-bindings: connector: Add pd-disable property")
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://patch.msgid.link/20260330063518.719345-1-xu.yang_2@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/connector/usb-connector.yaml

index 11e40d225b9f3a0d0aeea7bf764f1c00a719d615..d97b29e49bf55b8f9bb560d74908757b2d62e0c3 100644 (file)
@@ -301,6 +301,7 @@ properties:
     maxItems: 4
 
 dependencies:
+  pd-disable: [typec-power-opmode]
   sink-vdos-v1: [ sink-vdos ]
   sink-vdos: [ sink-vdos-v1 ]