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
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:
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:
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:
190 description: Sideband Use (SBU), present in USB-C. This describes the
194 - port@0
196 new-source-frs-typec-current:
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"
209 "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
215 slow-charger-loop:
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
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>;
353 # USB connector with GPIO control lines
354 - |
355 #include <dt-bindings/gpio/gpio.h>
357 usb {
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>;