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 # The following are optional properties for "usb-c-connector" with power
98 source-pdos:
105 defined in dt-bindings/usb/pd.h.
108 $ref: /schemas/types.yaml#/definitions/uint32-array
110 sink-pdos:
117 in dt-bindings/usb/pd.h.
120 $ref: /schemas/types.yaml#/definitions/uint32-array
122 op-sink-microwatt:
144 description: Sideband Use (SBU), present in USB-C. This describes the
148 - port@0
151 - compatible
154 - if:
158 const: gpio-usb-b-connector
161 - required:
162 - vbus-gpios
163 - required:
164 - id-gpios
166 - if:
170 const: samsung,usb-connector-11pin
179 # Micro-USB connector with HS lines routed via controller (MUIC).
180 - |
181 muic-max77843 {
183 compatible = "usb-b-connector";
184 label = "micro-USB";
189 # USB-C connector attached to CC controller (s2mm005), HS lines routed
192 - |
195 compatible = "usb-c-connector";
196 label = "USB-C";
199 #address-cells = <1>;
200 #size-cells = <0>;
205 remote-endpoint = <&max77865_usbc_hs>;
211 remote-endpoint = <&usbdrd_phy_ss>;
217 remote-endpoint = <&dp_aux>;
224 # USB-C connector attached to a typec port controller(ptn5110), which has
226 - |
227 #include <dt-bindings/usb/pd.h>
230 compatible = "usb-c-connector";
231 label = "USB-C";
232 power-role = "dual";
233 try-power-role = "sink";
234 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
235 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
237 op-sink-microwatt = <10000000>;
241 # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220)
244 - |
246 compatible = "usb-c-connector";
247 label = "USB-C";
248 data-role = "dual";
251 #address-cells = <1>;
252 #size-cells = <0>;
256 remote-endpoint = <&usb3_hs_ep>;
262 remote-endpoint = <&hd3ss3220_in_ep>;
268 # USB connector with GPIO control lines
269 - |
270 #include <dt-bindings/gpio/gpio.h>
272 usb {
274 compatible = "gpio-usb-b-connector", "usb-b-connector";
276 id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>;
277 vbus-supply = <&usb_p0_vbus>;
281 # Micro-USB connector with HS lines routed via controller (MUIC) and MHL
282 # lines connected to HDMI-MHL bridge (sii8620) on Samsung Exynos5433-based
284 - |
285 muic-max77843 {
287 compatible = "samsung,usb-connector-11pin", "usb-b-connector";
288 label = "micro-USB";
292 #address-cells = <1>;
293 #size-cells = <0>;
298 remote-endpoint = <&usb_to_muic>;
304 remote-endpoint = <&sii8620_mhl>;