[PATCH 1/2] dt-bindings: usb: ti,hd3ss3220: Add support for supply regulators
Alexey Charkov <[email protected]>
| Newsgroups | org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb |
|---|---|
| Message-ID | <[email protected]> |
HD3SS3220 requires two supply regulators to operate. It also strictly requires that 5V is present before 3.3V, otherwise it gets backpowered in a non-functional state through the 3.3V rail and kills the I2C bus. Add both supply regulators to enable their explicit description in board device trees. Signed-off-by: Alexey Charkov <[email protected]> --- Documentation/devicetree/bindings/usb/ti,hd3ss3220.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ti,hd3ss3220.yaml b/Documentation/devicetree/bindings/usb/ti,hd3ss3220.yaml index 06099e93c6c3..654a982666dd 100644 --- a/Documentation/devicetree/bindings/usb/ti,hd3ss3220.yaml +++ b/Documentation/devicetree/bindings/usb/ti,hd3ss3220.yaml @@ -25,6 +25,15 @@ properties: interrupts: maxItems: 1 + vcc33-supply: + description: 3.3V supply (VCC33 pin), powering the SuperSpeed 2:1 MUX. + + vdd5-supply: + description: + 5V supply (VDD5 pin), powering the CC controller and sourcing VCONN. + VDD5 has to be stable for at least tVDD5V_PG (2ms) before VCC33 starts + ramping up, unless ENn_CC is held high while both rails ramp up. + id-gpios: description: An input gpio for USB ID pin. Upon detecting a UFP device, HD3SS3220 @@ -68,6 +77,8 @@ examples: reg = <0x47>; interrupt-parent = <&gpio6>; interrupts = <3>; + vcc33-supply = <&vcc3v3_control>; + vdd5-supply = <&vcc5v0_device_s0>; ports { #address-cells = <1>; -- 2.54.0