Skip to content

Commit d53bdaa

Browse files
Kriskura176767gregkh
authored andcommitted
dt-bindings: usb: ti,hd3ss3220: Add support for VBUS based on ID state
Update the bindings to support reading ID state and VBUS, as per the HD3SS3220 data sheet. The ID pin is kept high if VBUS is not at VSafe0V and asserted low once VBUS is at VSafe0V, enforcing the Type-C requirement that VBUS must be at VSafe0V before re-enabling VBUS. Add id-gpios property to describe the input gpio for USB ID pin. Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com> Link: https://patch.msgid.link/20251111072025.2199142-2-krishna.kurapati@oss.qualcomm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1052864 commit d53bdaa

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Documentation/devicetree/bindings/usb/ti,hd3ss3220.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ properties:
2525
interrupts:
2626
maxItems: 1
2727

28+
id-gpios:
29+
description:
30+
An input gpio for USB ID pin. Upon detecting a UFP device, HD3SS3220
31+
will keep ID pin high if VBUS is not at VSafe0V. Once VBUS is at VSafe0V,
32+
the HD3SS3220 will assert ID pin low. This is done to enforce Type-C
33+
requirement that VBUS must be at VSafe0V before re-enabling VBUS.
34+
maxItems: 1
35+
2836
ports:
2937
$ref: /schemas/graph.yaml#/properties/ports
3038
description: OF graph bindings (specified in bindings/graph.txt) that model

0 commit comments

Comments
 (0)