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
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:
68 description: Determines the power role that the Type C connector will
73 - source
74 - sink
75 - dual
77 try-power-role:
78 description: Preferred power role.
82 - source
83 - sink
84 - dual
86 data-role:
92 - host
93 - device
94 - dual
96 typec-power-opmode:
97 description: Determines the power operation mode that the Type C connector
98 will support and will advertise through CC pins when it has no power
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:
121 description: An array of u32 with each entry providing supported power
122 source data object(PDO), the detailed bit definitions of PDO can be found
123 in "Universal Serial Bus Power Delivery Specification" chapter 6.4.1.2
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:
133 description: An array of u32 with each entry providing supported power sink
135 "Universal Serial Bus Power Delivery Specification" chapter 6.4.1.3
137 PD spec chapter 6.4.1. Required for power sink and power dual role. User
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:
160 "USB Power Delivery Specification Revision 2.0, Version 1.3" chapter 6.4.4.3.1 Discover
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
169 offer the power, Capability Mismatch is set. Required for power sink and
170 power dual role.
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"
199 of "USB Power Delivery Specification Revision 3.0, Version 1.2" provides the
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,
208 contract, hence, the power level is only a function of the current capability.
209 "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
215 slow-charger-loop:
217 still comply to pSnkStby i.e Maximum power that can be consumed by sink while in Sink Standby
218 state as defined in 7.4.2 Sink Electrical Parameters of USB Power Delivery Specification
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
310 # power delivery support and enables drp.
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>;