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 <robh@kernel.org>
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
38 non-fullsize 'usb-a-connector' or 'usb-b-connector' compatible
43 - mini
44 - micro
46 self-powered:
47 description: Set this property if the USB device has its own power source.
50 # The following are optional properties for "usb-b-connector".
51 id-gpios:
55 vbus-gpios:
60 vbus-supply:
64 model it as a regulator. See bindings/regulator/fixed-regulator.yaml
66 # The following are optional properties for "usb-c-connector".
67 power-role:
73 - source
74 - sink
75 - dual
77 try-power-role:
82 - source
83 - sink
84 - dual
86 data-role:
92 - host
93 - device
94 - dual
96 typec-power-opmode:
100 - "default" corresponds to default USB voltage and current defined by the
102 5V 900mA or 1500mA for USB 3.2 ports in single-lane or dual-lane
104 - "1.5A" and "3.0A", 5V 1.5A and 5V 3.0A respectively, as defined in USB
105 Type-C Cable and Connector specification, when Power Delivery is not
108 - $ref: /schemas/types.yaml#/definitions/string
110 - default
111 - 1.5A
112 - 3.0A
114 pd-disable:
115 description: Set this property if the Type-C connector has no power delivery support.
118 # The following are optional properties for "usb-c-connector" with power
120 source-pdos:
122 source data object(PDO), the detailed bit definitions of PDO can be found
125 the PD spec chapter 6.4.1. Required for power source and power dual role.
126 User can specify the source PDO array via PDO_FIXED/BATT/VAR/PPS_APDO()
127 defined in dt-bindings/usb/pd.h.
130 $ref: /schemas/types.yaml#/definitions/uint32-array
132 sink-pdos:
139 in dt-bindings/usb/pd.h.
142 $ref: /schemas/types.yaml#/definitions/uint32-array
144 sink-vdos:
148 "USB Power Delivery Specification Revision 3.0, Version 2.0 + ECNs 2020-12-10"
151 dt-bindings/usb/pd.h.
154 $ref: /schemas/types.yaml#/definitions/uint32-array
156 sink-vdos-v1:
162 dt-bindings/usb/pd.h.
165 $ref: /schemas/types.yaml#/definitions/uint32-array
167 op-sink-microwatt:
168 description: Sink required operating power in microwatt, if source can't
190 description: Sideband Use (SBU), present in USB-C. This describes the
194 - port@0
196 new-source-frs-typec-current:
197 description: Initial current capability of the new source when vSafe5V
198 is applied during PD3.0 Fast Role Swap. "Table 6-14 Fixed Supply PDO - Sink"
200 different power levels and "6.4.1.3.1.6 Fast Role Swap USB Type-C Current"
201 provides a detailed description of the field. The sink PDO from current source
202 reflects the current source's(i.e. transmitter of the FRS signal) power
204 a.k.a new source, should check if it will be able to satisfy the current source's,
209 "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
215 slow-charger-loop:
219 Revision 3.0, Version 1.2. When the property is set, the port requests pSnkStby(2.5W -
222 SNK_READY for non-pd link.
226 sink-vdos-v1: [ 'sink-vdos' ]
227 sink-vdos: [ 'sink-vdos-v1' ]
230 - compatible
233 - if:
237 const: gpio-usb-b-connector
240 - required:
241 - vbus-gpios
242 - required:
243 - id-gpios
245 - if:
249 const: samsung,usb-connector-11pin
256 - not:
258 - typec-power-opmode
259 - new-source-frs-typec-current
264 # Micro-USB connector with HS lines routed via controller (MUIC).
265 - |
266 muic-max77843 {
268 compatible = "usb-b-connector";
269 label = "micro-USB";
274 # USB-C connector attached to CC controller (s2mm005), HS lines routed
277 - |
280 compatible = "usb-c-connector";
281 label = "USB-C";
284 #address-cells = <1>;
285 #size-cells = <0>;
290 remote-endpoint = <&max77865_usbc_hs>;
296 remote-endpoint = <&usbdrd_phy_ss>;
302 remote-endpoint = <&dp_aux>;
309 # USB-C connector attached to a typec port controller(ptn5110), which has
311 - |
312 #include <dt-bindings/usb/pd.h>
315 compatible = "usb-c-connector";
316 label = "USB-C";
317 power-role = "dual";
318 try-power-role = "sink";
319 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
320 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
322 op-sink-microwatt = <10000000>;
326 # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220)
329 - |
331 compatible = "usb-c-connector";
332 label = "USB-C";
333 data-role = "dual";
336 #address-cells = <1>;
337 #size-cells = <0>;
341 remote-endpoint = <&usb3_hs_ep>;
347 remote-endpoint = <&hd3ss3220_in_ep>;
354 - |
355 #include <dt-bindings/gpio/gpio.h>
359 compatible = "gpio-usb-b-connector", "usb-b-connector";
361 id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>;
362 vbus-supply = <&usb_p0_vbus>;
366 # Micro-USB connector with HS lines routed via controller (MUIC) and MHL
367 # lines connected to HDMI-MHL bridge (sii8620) on Samsung Exynos5433-based
369 - |
370 muic-max77843 {
372 compatible = "samsung,usb-connector-11pin", "usb-b-connector";
373 label = "micro-USB";
377 #address-cells = <1>;
378 #size-cells = <0>;
383 remote-endpoint = <&usb_to_muic>;
389 remote-endpoint = <&sii8620_mhl>;