]> git.ipfire.org Git - thirdparty/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Mar 2026 15:19:10 +0000 (17:19 +0200)
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>
Cc: stable <stable@kernel.org>
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: Greg Kroah-Hartman <gregkh@linuxfoundation.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 ]