Lines Matching +full:usb +full:- +full:c

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#
7 title: USB Connector
10 - Rob Herring <robh@kernel.org>
13 A USB connector node represents a physical USB connector. It should be a child
14 of a USB interface controller or a separate node when it is attached to both
15 MUX and USB interface controller.
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:
52 description: An input gpio for USB ID pin.
55 vbus-gpios:
56 description: An input gpio for USB VBus pin, used to detect presence of
60 vbus-supply:
61 description: A phandle to the regulator for USB VBUS if needed when host
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:
82 - source
83 - sink
84 - dual
86 data-role:
87 description: Data role if Type C connector supports USB data. "dual" refers
92 - host
93 - device
94 - dual
96 typec-power-opmode:
97 description: Determines the power operation mode that the Type C connector
100 - "default" corresponds to default USB voltage and current defined by the
101 USB 2.0 and USB 3.2 specifications, 5V 500mA for USB 2.0 ports and
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
109 - default
110 - 1.5A
111 - 3.0A
113 pd-disable:
114 description: Set this property if the Type-C connector has no power delivery support.
117 # The following are optional properties for "usb-c-connector" with power
119 source-pdos:
126 defined in dt-bindings/usb/pd.h.
129 $ref: /schemas/types.yaml#/definitions/uint32-array
131 sink-pdos:
138 in dt-bindings/usb/pd.h.
141 $ref: /schemas/types.yaml#/definitions/uint32-array
143 sink-vdos:
147 "USB Power Delivery Specification Revision 3.0, Version 2.0 + ECNs 2020-12-10"
150 dt-bindings/usb/pd.h.
153 $ref: /schemas/types.yaml#/definitions/uint32-array
155 sink-vdos-v1:
159 "USB Power Delivery Specification Revision 2.0, Version 1.3" chapter 6.4.4.3.1 Discover
161 dt-bindings/usb/pd.h.
164 $ref: /schemas/types.yaml#/definitions/uint32-array
166 op-sink-microwatt:
189 description: Sideband Use (SBU), present in USB-C. This describes the
193 - port@0
195 new-source-frs-typec-current:
197 is applied during PD3.0 Fast Role Swap. "Table 6-14 Fixed Supply PDO - Sink"
198 of "USB Power Delivery Specification Revision 3.0, Version 1.2" provides the
199 different power levels and "6.4.1.3.1.6 Fast Role Swap USB Type-C Current"
208 "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
214 slow-charger-loop:
217 state as defined in 7.4.2 Sink Electrical Parameters of USB Power Delivery Specification
218 Revision 3.0, Version 1.2. When the property is set, the port requests pSnkStby(2.5W -
221 SNK_READY for non-pd link.
225 sink-vdos-v1: [ 'sink-vdos' ]
226 sink-vdos: [ 'sink-vdos-v1' ]
229 - compatible
232 - if:
236 const: gpio-usb-b-connector
239 - required:
240 - vbus-gpios
241 - required:
242 - id-gpios
244 - if:
248 const: samsung,usb-connector-11pin
255 - not:
257 - typec-power-opmode
258 - new-source-frs-typec-current
263 # Micro-USB connector with HS lines routed via controller (MUIC).
264 - |
265 muic-max77843 {
267 compatible = "usb-b-connector";
268 label = "micro-USB";
273 # USB-C connector attached to CC controller (s2mm005), HS lines routed
276 - |
279 compatible = "usb-c-connector";
280 label = "USB-C";
283 #address-cells = <1>;
284 #size-cells = <0>;
289 remote-endpoint = <&max77865_usbc_hs>;
295 remote-endpoint = <&usbdrd_phy_ss>;
301 remote-endpoint = <&dp_aux>;
308 # USB-C connector attached to a typec port controller(ptn5110), which has
310 - |
311 #include <dt-bindings/usb/pd.h>
314 compatible = "usb-c-connector";
315 label = "USB-C";
316 power-role = "dual";
317 try-power-role = "sink";
318 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
319 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
321 op-sink-microwatt = <10000000>;
325 # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220)
328 - |
330 compatible = "usb-c-connector";
331 label = "USB-C";
332 data-role = "dual";
335 #address-cells = <1>;
336 #size-cells = <0>;
340 remote-endpoint = <&usb3_hs_ep>;
346 remote-endpoint = <&hd3ss3220_in_ep>;
352 # USB connector with GPIO control lines
353 - |
354 #include <dt-bindings/gpio/gpio.h>
356 usb {
358 compatible = "gpio-usb-b-connector", "usb-b-connector";
360 id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>;
361 vbus-supply = <&usb_p0_vbus>;
365 # Micro-USB connector with HS lines routed via controller (MUIC) and MHL
366 # lines connected to HDMI-MHL bridge (sii8620) on Samsung Exynos5433-based
368 - |
369 muic-max77843 {
371 compatible = "samsung,usb-connector-11pin", "usb-b-connector";
372 label = "micro-USB";
376 #address-cells = <1>;
377 #size-cells = <0>;
382 remote-endpoint = <&usb_to_muic>;
388 remote-endpoint = <&sii8620_mhl>;