summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/fcs,fusb302.txt
blob: a5d011d2efc8eda036a2858d8261c550b1f64a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Fairchild FUSB302 Type-C Port controllers

Required properties :
- compatible             : "fcs,fusb302"
- reg                    : I2C slave address
- interrupts             : Interrupt specifier

Required sub-node:
- connector : The "usb-c-connector" attached to the FUSB302 IC. The bindings
  of the connector node are specified in:

	Documentation/devicetree/bindings/connector/usb-connector.txt

Deprecated properties :
- fcs,max-sink-microvolt : Maximum sink voltage accepted by port controller
- fcs,max-sink-microamp : Maximum sink current accepted by port controller
- fcs,max-sink-microwatt : Maximum sink power accepted by port controller
- fcs,operating-sink-microwatt : Minimum amount of power accepted from a sink
  when negotiating


Example:

fusb302: typec-portc@54 {
	compatible = "fcs,fusb302";
	reg = <0x54>;
	interrupt-parent = <&nmi_intc>;
	interrupts = <0 IRQ_TYPE_LEVEL_LOW>;

	usb_con: connector {
		compatible = "usb-c-connector";
		label = "USB-C";
		power-role = "dual";
		try-power-role = "sink";
		source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
		sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
			     PDO_VAR(3000, 12000, 3000)
			     PDO_PPS_APDO(3000, 11000, 3000)>;
		op-sink-microwatt = <10000000>;
	};
};