Lines Matching +full:select +full:- +full:gpios
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/usb/gpio-sbu-mux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO-based SBU mux
10 - Bjorn Andersson <andersson@kernel.org>
13 In USB Type-C applications the SBU lines needs to be connected, disconnected
21 - enum:
22 - nxp,cbdtu02043
23 - onnn,fsusb42
24 - onnn,fsusb43l10x
25 - pericom,pi3usb102
26 - ti,tmuxhs4212
27 - const: gpio-sbu-mux
29 enable-gpios:
32 select-gpios:
33 description: Orientation select
35 vcc-supply:
38 mode-switch: true
39 orientation-switch: true
48 - compatible
49 - select-gpios
50 - orientation-switch
51 - port
54 - $ref: usb-switch.yaml#
55 - if:
57 - mode-switch
60 - enable-gpios
65 - |
66 #include <dt-bindings/gpio/gpio.h>
70 compatible = "usb-c-connector";
73 #address-cells = <1>;
74 #size-cells = <0>;
79 remote-endpoint = <&usb_hs_phy_in>;
86 remote-endpoint = <&usb_ss_phy_in>;
93 remote-endpoint = <&sbu_mux_in>;
100 sbu-mux {
101 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
103 enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
104 select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
106 mode-switch;
107 orientation-switch;
111 remote-endpoint = <&tcpm_sbu_out>;