Lines Matching +full:power +full:- +full:source

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
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 # The following are optional properties for "usb-c-connector".
70 power-role:
71 description: Determines the power role that the Type C connector will
76 - source
77 - sink
78 - dual
80 try-power-role:
81 description: Preferred power role.
85 - source
86 - sink
87 - dual
89 data-role:
95 - host
96 - device
97 - dual
99 typec-power-opmode:
100 description: Determines the power operation mode that the Type C connector
101 will support and will advertise through CC pins when it has no power
103 - "default" corresponds to default USB voltage and current defined by the
105 5V 900mA or 1500mA for USB 3.2 ports in single-lane or dual-lane
107 - "1.5A" and "3.0A", 5V 1.5A and 5V 3.0A respectively, as defined in USB
108 Type-C Cable and Connector specification, when Power Delivery is not
112 - default
113 - 1.5A
114 - 3.0A
116 pd-disable:
117 description: Set this property if the Type-C connector has no power delivery support.
120 # The following are optional properties for "usb-c-connector" with power
122 source-pdos:
123 description: An array of u32 with each entry providing supported power
124 source data object(PDO), the detailed bit definitions of PDO can be found
125 in "Universal Serial Bus Power Delivery Specification" chapter 6.4.1.2
127 the PD spec chapter 6.4.1. Required for power source and power dual role.
128 User can specify the source PDO array via PDO_FIXED/BATT/VAR/PPS_APDO()
129 defined in dt-bindings/usb/pd.h.
132 $ref: /schemas/types.yaml#/definitions/uint32-array
134 sink-pdos:
135 description: An array of u32 with each entry providing supported power sink
137 "Universal Serial Bus Power Delivery Specification" chapter 6.4.1.3
139 PD spec chapter 6.4.1. Required for power sink and power dual role. User
141 in dt-bindings/usb/pd.h.
144 $ref: /schemas/types.yaml#/definitions/uint32-array
146 sink-vdos:
150 "USB Power Delivery Specification Revision 3.0, Version 2.0 + ECNs 2020-12-10"
153 dt-bindings/usb/pd.h.
156 $ref: /schemas/types.yaml#/definitions/uint32-array
158 sink-vdos-v1:
162 "USB Power Delivery Specification Revision 2.0, Version 1.3" chapter 6.4.4.3.1 Discover
164 dt-bindings/usb/pd.h.
167 $ref: /schemas/types.yaml#/definitions/uint32-array
169 op-sink-microwatt:
170 description: Sink required operating power in microwatt, if source can't
171 offer the power, Capability Mismatch is set. Required for power sink and
172 power dual role.
199 description: Sideband Use (SBU), present in USB-C. This describes the
203 - port@0
205 new-source-frs-typec-current:
206 description: Initial current capability of the new source when vSafe5V
207 is applied during PD3.0 Fast Role Swap. "Table 6-14 Fixed Supply PDO - Sink"
208 of "USB Power Delivery Specification Revision 3.0, Version 1.2" provides the
209 different power levels and "6.4.1.3.1.6 Fast Role Swap USB Type-C Current"
210 provides a detailed description of the field. The sink PDO from current source
211 reflects the current source's(i.e. transmitter of the FRS signal) power
213 a.k.a new source, should check if it will be able to satisfy the current source's,
217 contract, hence, the power level is only a function of the current capability.
218 "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
224 slow-charger-loop:
226 still comply to pSnkStby i.e Maximum power that can be consumed by sink while in Sink Standby
227 state as defined in 7.4.2 Sink Electrical Parameters of USB Power Delivery Specification
228 Revision 3.0, Version 1.2. When the property is set, the port requests pSnkStby(2.5W -
231 SNK_READY for non-pd link.
235 sink-vdos-v1: [ sink-vdos ]
236 sink-vdos: [ sink-vdos-v1 ]
239 - compatible
242 - if:
246 const: gpio-usb-b-connector
249 - required:
250 - vbus-gpios
251 - required:
252 - id-gpios
254 - if:
258 const: samsung,usb-connector-11pin
265 - not:
267 - typec-power-opmode
268 - new-source-frs-typec-current
273 # Micro-USB connector with HS lines routed via controller (MUIC).
274 - |
275 muic-max77843 {
277 compatible = "usb-b-connector";
278 label = "micro-USB";
283 # USB-C connector attached to CC controller (s2mm005), HS lines routed
286 - |
289 compatible = "usb-c-connector";
290 label = "USB-C";
293 #address-cells = <1>;
294 #size-cells = <0>;
299 remote-endpoint = <&max77865_usbc_hs>;
305 remote-endpoint = <&usbdrd_phy_ss>;
311 remote-endpoint = <&dp_aux>;
318 # USB-C connector attached to a typec port controller(ptn5110), which has
319 # power delivery support and enables drp.
320 - |
321 #include <dt-bindings/usb/pd.h>
324 compatible = "usb-c-connector";
325 label = "USB-C";
326 power-role = "dual";
327 try-power-role = "sink";
328 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
329 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
331 op-sink-microwatt = <10000000>;
335 # USB-C connector attached to SoC with a single High-Speed controller
336 - |
338 compatible = "usb-c-connector";
339 label = "USB-C";
343 remote-endpoint = <&usb_hs_ep>;
348 # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220)
351 - |
353 compatible = "usb-c-connector";
354 label = "USB-C";
355 data-role = "dual";
358 #address-cells = <1>;
359 #size-cells = <0>;
363 remote-endpoint = <&usb3_hs_ep>;
369 remote-endpoint = <&hd3ss3220_in_ep>;
376 - |
377 #include <dt-bindings/gpio/gpio.h>
381 compatible = "gpio-usb-b-connector", "usb-b-connector";
383 id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>;
384 vbus-supply = <&usb_p0_vbus>;
388 # Micro-USB connector with HS lines routed via controller (MUIC) and MHL
389 # lines connected to HDMI-MHL bridge (sii8620) on Samsung Exynos5433-based
391 - |
392 muic-max77843 {
394 compatible = "samsung,usb-connector-11pin", "usb-b-connector";
395 label = "micro-USB";
399 #address-cells = <1>;
400 #size-cells = <0>;
405 remote-endpoint = <&usb_to_muic>;
411 remote-endpoint = <&sii8620_mhl>;