hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/usb/etek,et7303.yaml
....@@ -19,9 +19,19 @@
1919 interrupts:
2020 maxItems: 1
2121
22
+ ports:
23
+ type: object
24
+ properties:
25
+ port@0:
26
+ type: object
27
+ description: TCPC connected to USB controller to support dual-role switch.
28
+
29
+ required:
30
+ - port@0
31
+
2232 connector:
2333 type: object
24
- $ref: ../connector/usb-connector.txt#
34
+ $ref: ../connector/usb-connector.yaml#
2535 description:
2636 Properties for usb c connector that attached to the tcpci chip.
2737
....@@ -47,7 +57,20 @@
4757 vbus-supply = <&vcc5v0_typec>;
4858 status = "okay";
4959
60
+ ports {
61
+ #address-cells = <1>;
62
+ #size-cells = <0>;
63
+
64
+ port@0 {
65
+ reg = <0>;
66
+ usbc0_role_sw: endpoint@0 {
67
+ remote-endpoint = <&dwc3_0_role_switch>;
68
+ };
69
+ };
70
+ };
71
+
5072 usb_con: connector {
73
+ compatible = "usb-c-connector";
5174 label = "USB-C";
5275 data-role = "dual";
5376 power-role = "dual";
....@@ -55,6 +78,18 @@
5578 op-sink-microwatt = <1000000>;
5679 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
5780 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
81
+
82
+ ports {
83
+ #address-cells = <1>;
84
+ #size-cells = <0>;
85
+
86
+ port@0 {
87
+ reg = <0>;
88
+ usbc0_orien_sw: endpoint {
89
+ remote-endpoint = <&usbdp_phy0_orientation_switch>;
90
+ };
91
+ };
92
+ };
5893 };
5994 };
6095 };