Lines Matching +full:source +full:- +full:pdos
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]>
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:
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:
58 vbus-gpios:
63 vbus-supply:
67 model it as a regulator. See bindings/regulator/fixed-regulator.yaml
69 power-role:
75 - source
76 - sink
77 - dual
79 try-power-role:
84 - source
85 - sink
86 - dual
88 data-role:
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:
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.
207 description: Sideband Use (SBU), present in USB-C. This describes the
211 - port@0
213 new-source-frs-typec-current:
214 description: Initial current capability of the new source when vSafe5V
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"
218 provides a detailed description of the field. The sink PDO from current source
219 reflects the current source's(i.e. transmitter of the FRS signal) power
221 a.k.a new source, should check if it will be able to satisfy the current source's,
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
258 role) should wait for the port partner (source role) to send source caps.
259 SinkWaitCap timer starts when port in sink role attaches to the source.
260 This timer will stop when sink receives PD source cap advertisement before
267 ps-source-off-time-ms:
268 description: Represents the max time in ms that a DRP in source role should
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:
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:
317 source data object(PDO), the detailed bit definitions of PDO can be found
320 the PD spec chapter 6.4.1. Required for power source and power dual role.
321 User can specify the source PDO array via PDO_FIXED/BATT/VAR/PPS_APDO()
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:
340 description: Sink required operating power in microwatt, if source can't
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)
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>;