Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Fairchild FUSB302 Type-C Port controllers
2
3Required properties :
4- compatible : "fcs,fusb302"
5- reg : I2C slave address
6- interrupts : Interrupt specifier
7
8Required 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.txt
13
14Deprecated properties :
15- fcs,max-sink-microvolt : Maximum sink voltage accepted by port controller
16- fcs,max-sink-microamp : Maximum sink current accepted by port controller
17- fcs,max-sink-microwatt : Maximum sink power accepted by port controller
18- fcs,operating-sink-microwatt : Minimum amount of power accepted from a sink
19 when negotiating
20
21
22Example:
23
24fusb302: typec-portc@54 {
25 compatible = "fcs,fusb302";
26 reg = <0x54>;
27 interrupt-parent = <&nmi_intc>;
28 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
29
30 usb_con: connector {
31 compatible = "usb-c-connector";
32 label = "USB-C";
33 power-role = "dual";
34 try-power-role = "sink";
35 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
36 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
37 PDO_VAR(3000, 12000, 3000)
38 PDO_PPS_APDO(3000, 11000, 3000)>;
39 op-sink-microwatt = <10000000>;
40 };
41};