Back to home page

OSCL-LXR

 
 

    


0001 Richtek RT1711H TypeC PD Controller.
0002 
0003 Required properties:
0004  - compatible : Must be "richtek,rt1711h".
0005  - reg : Must be 0x4e, it's slave address of RT1711H.
0006  - interrupts : <a b> where a is the interrupt number and b represents an
0007    encoding of the sense and level information for the interrupt.
0008 
0009 Required sub-node:
0010 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings
0011   of connector node are specified in
0012   Documentation/devicetree/bindings/connector/usb-connector.yaml
0013 
0014 Example :
0015 rt1711h@4e {
0016         compatible = "richtek,rt1711h";
0017         reg = <0x4e>;
0018         interrupt-parent = <&gpio26>;
0019         interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
0020 
0021         usb_con: connector {
0022                 compatible = "usb-c-connector";
0023                 label = "USB-C";
0024                 data-role = "dual";
0025                 power-role = "dual";
0026                 try-power-role = "sink";
0027                 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
0028                 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
0029                              PDO_VAR(5000, 12000, 2000)>;
0030                 op-sink-microwatt = <10000000>;
0031 
0032                 ports {
0033                         #address-cells = <1>;
0034                         #size-cells = <0>;
0035 
0036                         port@1 {
0037                                 reg = <1>;
0038                                 usb_con_ss: endpoint {
0039                                         remote-endpoint = <&usb3_data_ss>;
0040                                 };
0041                         };
0042                 };
0043         };
0044 };