richtek,rt1711h.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Richtek RT1711H TypeC PD Controller.
  2. Required properties:
  3. - compatible : Must be "richtek,rt1711h".
  4. - reg : Must be 0x4e, it's slave address of RT1711H.
  5. - interrupts : <a b> where a is the interrupt number and b represents an
  6. encoding of the sense and level information for the interrupt.
  7. Required sub-node:
  8. - connector: The "usb-c-connector" attached to the tcpci chip, the bindings
  9. of connector node are specified in
  10. Documentation/devicetree/bindings/connector/usb-connector.yaml
  11. Example :
  12. rt1711h@4e {
  13. compatible = "richtek,rt1711h";
  14. reg = <0x4e>;
  15. interrupt-parent = <&gpio26>;
  16. interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
  17. usb_con: connector {
  18. compatible = "usb-c-connector";
  19. label = "USB-C";
  20. data-role = "dual";
  21. power-role = "dual";
  22. try-power-role = "sink";
  23. source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
  24. sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
  25. PDO_VAR(5000, 12000, 2000)>;
  26. op-sink-microwatt = <10000000>;
  27. ports {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. port@1 {
  31. reg = <1>;
  32. usb_con_ss: endpoint {
  33. remote-endpoint = <&usb3_data_ss>;
  34. };
  35. };
  36. };
  37. };
  38. };