hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/Documentation/devicetree/bindings/usb/fcs,fusb302.txt
....@@ -5,10 +5,12 @@
55 - reg : I2C slave address
66 - interrupts : Interrupt specifier
77
8
-Optional properties :
9
-- fcs,operating-sink-microwatt :
10
- Minimum amount of power accepted from a sink
11
- when negotiating
8
+Required sub-node:
9
+- connector : The "usb-c-connector" attached to the FUSB302 IC. The bindings
10
+ of the connector node are specified in:
11
+
12
+ Documentation/devicetree/bindings/connector/usb-connector.yaml
13
+
1214
1315 Example:
1416
....@@ -17,7 +19,16 @@
1719 reg = <0x54>;
1820 interrupt-parent = <&nmi_intc>;
1921 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
20
- fcs,max-sink-microvolt = <12000000>;
21
- fcs,max-sink-microamp = <3000000>;
22
- fcs,max-sink-microwatt = <36000000>;
22
+
23
+ usb_con: connector {
24
+ compatible = "usb-c-connector";
25
+ label = "USB-C";
26
+ power-role = "dual";
27
+ try-power-role = "sink";
28
+ source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
29
+ sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
30
+ PDO_VAR(3000, 12000, 3000)
31
+ PDO_PPS_APDO(3000, 11000, 3000)>;
32
+ op-sink-microwatt = <10000000>;
33
+ };
2334 };