Lines Matching +full:source +full:- +full:pdos

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
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:
55 vbus-gpios:
60 vbus-supply:
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:
73 - source
74 - sink
75 - dual
77 try-power-role:
82 - source
83 - sink
84 - dual
86 data-role:
92 - host
93 - device
94 - dual
96 # The following are optional properties for "usb-c-connector" with power
98 source-pdos:
100 source data object(PDO), the detailed bit definitions of PDO can be found
103 the PD spec chapter 6.4.1. Required for power source and power dual role.
104 User can specify the source PDO array via PDO_FIXED/BATT/VAR/PPS_APDO()
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:
123 description: Sink required operating power in microwatt, if source can't
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>;
269 - |
270 #include <dt-bindings/gpio/gpio.h>
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>;