0001 TCPCI(Typec port cotroller interface) binding
0002 ---------------------------------------------
0003
0004 Required properties:
0005 - compatible: should be set one of following:
0006 - "nxp,ptn5110" for NXP USB PD TCPC PHY IC ptn5110.
0007
0008 - reg: the i2c slave address of typec port controller device.
0009 - interrupt-parent: the phandle to the interrupt controller which provides
0010 the interrupt.
0011 - interrupts: interrupt specification for tcpci alert.
0012
0013 Required sub-node:
0014 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings
0015 of connector node are specified in
0016 Documentation/devicetree/bindings/connector/usb-connector.yaml
0017
0018 Example:
0019
0020 ptn5110@50 {
0021 compatible = "nxp,ptn5110";
0022 reg = <0x50>;
0023 interrupt-parent = <&gpio3>;
0024 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
0025
0026 usb_con: connector {
0027 compatible = "usb-c-connector";
0028 label = "USB-C";
0029 data-role = "dual";
0030 power-role = "dual";
0031 try-power-role = "sink";
0032 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
0033 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
0034 PDO_VAR(5000, 12000, 2000)>;
0035 op-sink-microwatt = <10000000>;
0036
0037 ports {
0038 #address-cells = <1>;
0039 #size-cells = <0>;
0040
0041 port@1 {
0042 reg = <1>;
0043 usb_con_ss: endpoint {
0044 remote-endpoint = <&usb3_data_ss>;
0045 };
0046 };
0047 };
0048 };
0049 };