Lines Matching +full:usb +full:- +full:connector

1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: USB Connector
10 - Rob Herring <[email protected]>
13 A USB connector node represents a physical USB connector. It should be a child
14 of a USB interface controller or a separate node when it is attached to both
15 MUX and USB interface controller.
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
26 - const: gpio-usb-b-connector
27 - const: usb-b-connector
29 - items:
30 - const: samsung,usb-connector-11pin
31 - const: usb-b-connector
37 description: Symbolic name for the connector.
40 description: Size of the connector, should be specified in case of
41 non-fullsize 'usb-a-connector' or 'usb-b-connector' compatible
46 - mini
47 - micro
49 self-powered:
50 description: Set this property if the USB device has its own power source.
53 # The following are optional properties for "usb-b-connector".
54 id-gpios:
55 description: An input gpio for USB ID pin.
58 vbus-gpios:
59 description: An input gpio for USB VBus pin, used to detect presence of
63 vbus-supply:
64 description: A phandle to the regulator for USB VBUS if needed when host
67 model it as a regulator. See bindings/regulator/fixed-regulator.yaml
69 power-role:
70 description: Determines the power role that the Type C connector will
75 - source
76 - sink
77 - dual
79 try-power-role:
84 - source
85 - sink
86 - dual
88 data-role:
89 description: Data role if Type C connector supports USB data. "dual" refers
94 - host
95 - device
96 - dual
98 typec-power-opmode:
99 description: Determines the power operation mode that the Type C connector
102 - "default" corresponds to default USB voltage and current defined by the
103 USB 2.0 and USB 3.2 specifications, 5V 500mA for USB 2.0 ports and
104 5V 900mA or 1500mA for USB 3.2 ports in single-lane or dual-lane
106 - "1.5A" and "3.0A", 5V 1.5A and 5V 3.0A respectively, as defined in USB
107 Type-C Cable and Connector specification, when Power Delivery is not
111 - default
112 - 1.5A
113 - 3.0A
115 pd-disable:
116 description: Set this property if the Type-C connector has no power delivery support.
119 # The following are optional properties for "usb-c-connector" with power
121 sink-vdos:
125 "USB Power Delivery Specification Revision 3.0, Version 2.0 + ECNs 2020-12-10"
128 dt-bindings/usb/pd.h.
131 $ref: /schemas/types.yaml#/definitions/uint32-array
133 sink-vdos-v1:
137 "USB Power Delivery Specification Revision 2.0, Version 1.3" chapter 6.4.4.3.1 Discover
139 dt-bindings/usb/pd.h.
142 $ref: /schemas/types.yaml#/definitions/uint32-array
144 accessory-mode-audio:
150 accessory-mode-debug:
169 A single USB-C Alternative Mode as supported by the USB-C connector logic.
176 description: Unique value assigned by USB-IF to the Vendor / AltMode.
180 description: VDO returned by Discover Modes USB PD command.
184 description: OF graph bindings modeling a data bus to the connector, e.g.
185 there is a single High Speed (HS) port present in this connector. If there
191 description: OF graph bindings modeling any data bus to the connector
192 unless the bus is between parent node and the connector. Since a single
193 connector can have multiple data buses every bus has an assigned OF graph
207 description: Sideband Use (SBU), present in USB-C. This describes the
211 - port@0
213 new-source-frs-typec-current:
215 is applied during PD3.0 Fast Role Swap. "Table 6-14 Fixed Supply PDO - Sink"
216 of "USB Power Delivery Specification Revision 3.0, Version 1.2" provides the
217 different power levels and "6.4.1.3.1.6 Fast Role Swap USB Type-C Current"
226 "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
232 slow-charger-loop:
235 state as defined in 7.4.2 Sink Electrical Parameters of USB Power Delivery Specification
236 Revision 3.0, Version 1.2. When the property is set, the port requests pSnkStby(2.5W -
239 SNK_READY for non-pd link.
243 description: A child node to contain all the selectable USB Power Delivery capabilities.
247 "^caps-[0-9]+$":
248 description: Child nodes under "capabilities" node. Each node contains a selectable USB
256 sink-wait-cap-time-ms:
257 description: Represents the max time in ms that USB Type-C port (in sink
267 ps-source-off-time-ms:
274 layer. A timeout shall lead to error recovery in the type-c port.
279 cc-debounce-time-ms:
286 sink-bc12-completion-time-ms:
290 parallel once the Type-C connection state machine reaches the "potential
292 the incoming PD messages, sink-bc12-completion-time-ms is used to delay
296 pd-revision:
297 description: Specifies the maximum USB PD revision and version supported by
298 the connector. This property is specified in the following order;
300 $ref: /schemas/types.yaml#/definitions/uint8-array
304 sink-vdos-v1: [ sink-vdos ]
305 sink-vdos: [ sink-vdos-v1 ]
308 - compatible
315 source-pdos:
322 defined in dt-bindings/usb/pd.h.
325 $ref: /schemas/types.yaml#/definitions/uint32-array
327 sink-pdos:
334 in dt-bindings/usb/pd.h.
337 $ref: /schemas/types.yaml#/definitions/uint32-array
339 op-sink-microwatt:
345 - $ref: "#/$defs/capabilities"
346 - if:
350 const: gpio-usb-b-connector
353 - required:
354 - vbus-gpios
355 - required:
356 - id-gpios
358 - if:
362 const: samsung,usb-connector-11pin
369 - not:
371 - typec-power-opmode
372 - new-source-frs-typec-current
377 # Micro-USB connector with HS lines routed via controller (MUIC).
378 - |
379 muic-max77843 {
380 usb_con1: connector {
381 compatible = "usb-b-connector";
382 label = "micro-USB";
387 # USB-C connector attached to CC controller (s2mm005), HS lines routed
389 # DisplayPort video lines are routed to the connector via SS mux in USB3 PHY.
390 - |
392 usb_con2: connector {
393 compatible = "usb-c-connector";
394 label = "USB-C";
404 #address-cells = <1>;
405 #size-cells = <0>;
410 remote-endpoint = <&max77865_usbc_hs>;
416 remote-endpoint = <&usbdrd_phy_ss>;
422 remote-endpoint = <&dp_aux>;
429 # USB-C connector attached to a typec port controller(ptn5110), which has
431 - |
432 #include <dt-bindings/usb/pd.h>
434 usb_con3: connector {
435 compatible = "usb-c-connector";
436 label = "USB-C";
437 power-role = "dual";
438 try-power-role = "sink";
439 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
440 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
442 op-sink-microwatt = <10000000>;
443 sink-wait-cap-time-ms = <465>;
444 ps-source-off-time-ms = <835>;
445 cc-debounce-time-ms = <101>;
446 sink-bc12-completion-time-ms = <500>;
450 # USB-C connector attached to SoC with a single High-Speed controller
451 - |
452 connector {
453 compatible = "usb-c-connector";
454 label = "USB-C";
458 remote-endpoint = <&usb_hs_ep>;
463 # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220)
466 - |
467 connector {
468 compatible = "usb-c-connector";
469 label = "USB-C";
470 data-role = "dual";
473 #address-cells = <1>;
474 #size-cells = <0>;
478 remote-endpoint = <&usb3_hs_ep>;
484 remote-endpoint = <&hd3ss3220_in_ep>;
490 # USB connector with GPIO control lines
491 - |
492 #include <dt-bindings/gpio/gpio.h>
494 usb {
495 connector {
496 compatible = "gpio-usb-b-connector", "usb-b-connector";
498 id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>;
499 vbus-supply = <&usb_p0_vbus>;
503 # Micro-USB connector with HS lines routed via controller (MUIC) and MHL
504 # lines connected to HDMI-MHL bridge (sii8620) on Samsung Exynos5433-based
506 - |
507 muic-max77843 {
508 usb_con4: connector {
509 compatible = "samsung,usb-connector-11pin", "usb-b-connector";
510 label = "micro-USB";
514 #address-cells = <1>;
515 #size-cells = <0>;
520 remote-endpoint = <&usb_to_muic>;
526 remote-endpoint = <&sii8620_mhl>;