@@ -230,6 +230,10 @@ properties:
230230 connector :
231231 type : object
232232
233+ port :
234+ description : connection to a USB Type C controller
235+ $ref : /schemas/graph.yaml#/properties/port
236+
233237 mode :
234238 description : A string that determines the mode in which to
235239 run the port.
@@ -256,7 +260,12 @@ properties:
256260 voltage.
257261
258262 dependencies :
259- usb-role-switch : [ connector ]
263+ usb-role-switch :
264+ oneOf :
265+ - required :
266+ - connector
267+ - required :
268+ - port
260269
261270 usb2-1 :
262271 type : object
@@ -268,6 +277,10 @@ properties:
268277 connector :
269278 type : object
270279
280+ port :
281+ description : connection to a USB Type C controller
282+ $ref : /schemas/graph.yaml#/properties/port
283+
271284 mode :
272285 description : A string that determines the mode in which to
273286 run the port.
@@ -306,6 +319,10 @@ properties:
306319 connector :
307320 type : object
308321
322+ port :
323+ description : connection to a USB Type C controller
324+ $ref : /schemas/graph.yaml#/properties/port
325+
309326 mode :
310327 description : A string that determines the mode in which to
311328 run the port.
@@ -344,6 +361,10 @@ properties:
344361 connector :
345362 type : object
346363
364+ port :
365+ description : connection to a USB Type C controller
366+ $ref : /schemas/graph.yaml#/properties/port
367+
347368 mode :
348369 description : A string that determines the mode in which to
349370 run the port.
@@ -405,6 +426,10 @@ properties:
405426 description : A phandle to the regulator supplying the VBUS
406427 voltage.
407428
429+ port :
430+ description : connection to a USB Type C controller
431+ $ref : /schemas/graph.yaml#/properties/port
432+
408433 usb3-1 :
409434 type : object
410435 additionalProperties : false
@@ -438,6 +463,10 @@ properties:
438463 description : A phandle to the regulator supplying the VBUS
439464 voltage.
440465
466+ port :
467+ description : connection to a USB Type C controller
468+ $ref : /schemas/graph.yaml#/properties/port
469+
441470 usb3-2 :
442471 type : object
443472 additionalProperties : false
@@ -471,6 +500,10 @@ properties:
471500 description : A phandle to the regulator supplying the VBUS
472501 voltage.
473502
503+ port :
504+ description : connection to a USB Type C controller
505+ $ref : /schemas/graph.yaml#/properties/port
506+
474507 usb3-3 :
475508 type : object
476509 additionalProperties : false
@@ -504,6 +537,10 @@ properties:
504537 description : A phandle to the regulator supplying the VBUS
505538 voltage.
506539
540+ port :
541+ description : connection to a USB Type C controller
542+ $ref : /schemas/graph.yaml#/properties/port
543+
507544additionalProperties : false
508545
509546required :
0 commit comments