Lines Matching +full:power +full:- +full:role

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
41 non-fullsize 'usb-a-connector' or 'usb-b-connector' compatible
46 - mini
47 - micro
49 self-powered:
50 description: Set this property if the USB device has its own power source.
53 # The following are optional properties for "usb-b-connector".
54 id-gpios:
58 vbus-gpios:
63 vbus-supply:
65 mode or dual role mode is supported.
67 model it as a regulator. See bindings/regulator/fixed-regulator.yaml
69 power-role:
70 description: Determines the power role that the Type C connector will
71 support. "dual" refers to Dual Role Port (DRP).
75 - source
76 - sink
77 - dual
79 try-power-role:
80 description: Preferred power role.
84 - source
85 - sink
86 - dual
88 data-role:
89 description: Data role if Type C connector supports USB data. "dual" refers
90 Dual Role Device (DRD).
94 - host
95 - device
96 - dual
98 typec-power-opmode:
99 description: Determines the power operation mode that the Type C connector
100 will support and will advertise through CC pins when it has no power
102 - "default" corresponds to default USB voltage and current defined by the
104 5V 900mA or 1500mA for USB 3.2 ports in single-lane or dual-lane
106 - "1.5A" and "3.0A", 5V 1.5A and 5V 3.0A respectively, as defined in USB
107 Type-C Cable and Connector specification, when Power Delivery is not
111 - default
112 - 1.5A
113 - 3.0A
115 pd-disable:
116 description: Set this property if the Type-C connector has no power delivery support.
119 # The following are optional properties for "usb-c-connector" with power
121 sink-vdos:
125 "USB Power Delivery Specification Revision 3.0, Version 2.0 + ECNs 2020-12-10"
128 dt-bindings/usb/pd.h.
131 $ref: /schemas/types.yaml#/definitions/uint32-array
133 sink-vdos-v1:
137 "USB Power Delivery Specification Revision 2.0, Version 1.3" chapter 6.4.4.3.1 Discover
139 dt-bindings/usb/pd.h.
142 $ref: /schemas/types.yaml#/definitions/uint32-array
144 accessory-mode-audio:
150 accessory-mode-debug:
169 A single USB-C Alternative Mode as supported by the USB-C connector logic.
176 description: Unique value assigned by USB-IF to the Vendor / AltMode.
207 description: Sideband Use (SBU), present in USB-C. This describes the
211 - port@0
213 new-source-frs-typec-current:
215 is applied during PD3.0 Fast Role Swap. "Table 6-14 Fixed Supply PDO - Sink"
216 of "USB Power Delivery Specification Revision 3.0, Version 1.2" provides the
217 different power levels and "6.4.1.3.1.6 Fast Role Swap USB Type-C Current"
219 reflects the current source's(i.e. transmitter of the FRS signal) power
225 contract, hence, the power level is only a function of the current capability.
226 "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
232 slow-charger-loop:
234 still comply to pSnkStby i.e Maximum power that can be consumed by sink while in Sink Standby
235 state as defined in 7.4.2 Sink Electrical Parameters of USB Power Delivery Specification
236 Revision 3.0, Version 1.2. When the property is set, the port requests pSnkStby(2.5W -
239 SNK_READY for non-pd link.
243 description: A child node to contain all the selectable USB Power Delivery capabilities.
247 "^caps-[0-9]+$":
249 Power Delivery capability.
257 sink-vdos-v1: [ sink-vdos ]
258 sink-vdos: [ sink-vdos-v1 ]
261 - compatible
268 source-pdos:
269 description: An array of u32 with each entry providing supported power
271 in "Universal Serial Bus Power Delivery Specification" chapter 6.4.1.2
273 the PD spec chapter 6.4.1. Required for power source and power dual role.
275 defined in dt-bindings/usb/pd.h.
278 $ref: /schemas/types.yaml#/definitions/uint32-array
280 sink-pdos:
281 description: An array of u32 with each entry providing supported power sink
283 "Universal Serial Bus Power Delivery Specification" chapter 6.4.1.3
285 PD spec chapter 6.4.1. Required for power sink and power dual role. User
287 in dt-bindings/usb/pd.h.
290 $ref: /schemas/types.yaml#/definitions/uint32-array
292 op-sink-microwatt:
293 description: Sink required operating power in microwatt, if source can't
294 offer the power, Capability Mismatch is set. Required for power sink and
295 power dual role.
298 - $ref: "#/$defs/capabilities"
299 - if:
303 const: gpio-usb-b-connector
306 - required:
307 - vbus-gpios
308 - required:
309 - id-gpios
311 - if:
315 const: samsung,usb-connector-11pin
322 - not:
324 - typec-power-opmode
325 - new-source-frs-typec-current
330 # Micro-USB connector with HS lines routed via controller (MUIC).
331 - |
332 muic-max77843 {
334 compatible = "usb-b-connector";
335 label = "micro-USB";
340 # USB-C connector attached to CC controller (s2mm005), HS lines routed
343 - |
346 compatible = "usb-c-connector";
347 label = "USB-C";
357 #address-cells = <1>;
358 #size-cells = <0>;
363 remote-endpoint = <&max77865_usbc_hs>;
369 remote-endpoint = <&usbdrd_phy_ss>;
375 remote-endpoint = <&dp_aux>;
382 # USB-C connector attached to a typec port controller(ptn5110), which has
383 # power delivery support and enables drp.
384 - |
385 #include <dt-bindings/usb/pd.h>
388 compatible = "usb-c-connector";
389 label = "USB-C";
390 power-role = "dual";
391 try-power-role = "sink";
392 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
393 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
395 op-sink-microwatt = <10000000>;
399 # USB-C connector attached to SoC with a single High-Speed controller
400 - |
402 compatible = "usb-c-connector";
403 label = "USB-C";
407 remote-endpoint = <&usb_hs_ep>;
412 # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220)
415 - |
417 compatible = "usb-c-connector";
418 label = "USB-C";
419 data-role = "dual";
422 #address-cells = <1>;
423 #size-cells = <0>;
427 remote-endpoint = <&usb3_hs_ep>;
433 remote-endpoint = <&hd3ss3220_in_ep>;
440 - |
441 #include <dt-bindings/gpio/gpio.h>
445 compatible = "gpio-usb-b-connector", "usb-b-connector";
447 id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>;
448 vbus-supply = <&usb_p0_vbus>;
452 # Micro-USB connector with HS lines routed via controller (MUIC) and MHL
453 # lines connected to HDMI-MHL bridge (sii8620) on Samsung Exynos5433-based
455 - |
456 muic-max77843 {
458 compatible = "samsung,usb-connector-11pin", "usb-b-connector";
459 label = "micro-USB";
463 #address-cells = <1>;
464 #size-cells = <0>;
469 remote-endpoint = <&usb_to_muic>;
475 remote-endpoint = <&sii8620_mhl>;