431a30b7d4
Convert the usb-connector.txt bindings file to YAML format. This allows it to be used in dt_bindings_check verification. This patch was born out of a patch series for the addition of a Type C connector class port driver[1]. An attempt has been made to maintain the same documentation text and example structure as was in the .txt file, but wherever needed modifications have been made to satisfy dt_bindings_check. Also, update all references to usb-connector.txt to now use usb-connector.yaml. [1]: https://lkml.org/lkml/2020/2/19/1232 Signed-off-by: Prashant Malani <pmalani@chromium.org> Reviewed-by: Benson Leung <bleung@chromium.org> Signed-off-by: Rob Herring <robh@kernel.org>
35 lines
917 B
Plaintext
35 lines
917 B
Plaintext
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.yaml
|
|
|
|
|
|
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>;
|
|
};
|
|
};
|