Lines Matching +full:is +full:- +full:dual

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#
10 - Rob Herring <[email protected]>
14 of a USB interface controller or a separate node when it is attached to both
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
41 non-fullsize 'usb-a-connector' or 'usb-b-connector' compatible
46 - mini
47 - micro
49 self-powered:
53 # The following are optional properties for "usb-b-connector".
54 id-gpios:
58 vbus-gpios:
63 vbus-supply:
65 mode or dual role mode is supported.
67 model it as a regulator. See bindings/regulator/fixed-regulator.yaml
69 power-role:
71 support. "dual" refers to Dual Role Port (DRP).
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
90 Dual Role Device (DRD).
94 - host
95 - device
96 - dual
98 typec-power-opmode:
102 - "default" corresponds to default USB voltage and current defined by the
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:
139 dt-bindings/usb/pd.h.
142 $ref: /schemas/types.yaml#/definitions/uint32-array
144 accessory-mode-audio:
147 is only necessary if there are no other means to discover supported
150 accessory-mode-debug:
153 is only necessary if there are no other means to discover supported
159 particular device. This is only necessary if there are no other means to
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.
185 there is a single High Speed (HS) port present in this connector. If there
186 is more than one bus (several port, with 'reg' property), they can be grouped
192 unless the bus is between parent node and the connector. Since a single
207 description: Sideband Use (SBU), present in USB-C. This describes the
208 alternate mode connection of which SBU is a part.
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"
217 different power levels and "6.4.1.3.1.6 Fast Role Swap USB Type-C Current"
224 satisfy. During FRS, VBUS voltage is at 5V, as the partners are in implicit
225 contract, hence, the power level is only a function of the current capability.
226 "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
232 slow-charger-loop:
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.
247 "^caps-[0-9]+$":
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:
273 corresponding to the received PS_RDY message is transmitted by the PHY
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:
288 to complete Battery Charger (BC1.2) Detection. BC1.2 detection is a
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:
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:
320 the PD spec chapter 6.4.1. Required for power source and power dual role.
322 defined in dt-bindings/usb/pd.h.
325 $ref: /schemas/types.yaml#/definitions/uint32-array
327 sink-pdos:
332 PD spec chapter 6.4.1. Required for power sink and power dual role. User
334 in dt-bindings/usb/pd.h.
337 $ref: /schemas/types.yaml#/definitions/uint32-array
339 op-sink-microwatt:
341 offer the power, Capability Mismatch is set. Required for power sink and
342 power dual role.
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 {
381 compatible = "usb-b-connector";
382 label = "micro-USB";
387 # USB-C connector attached to CC controller (s2mm005), HS lines routed
390 - |
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>
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 - |
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)
465 # the output of MUX is connected to the SoC.
466 - |
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>;
491 - |
492 #include <dt-bindings/gpio/gpio.h>
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 {
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>;