Lines Matching +full:gpio +full:- +full:sbu +full:- +full:mux
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
15 a family of hardware solutions which switches between these modes using GPIO
21 - enum:
22 - nxp,cbdtu02043
23 - onnn,fsusb43l10x
24 - pericom,pi3usb102
25 - const: gpio-sbu-mux
27 enable-gpios:
28 description: Switch enable GPIO
30 select-gpios:
33 vcc-supply:
36 mode-switch:
40 orientation-switch:
47 A port node to link the SBU mux to a TypeC controller for the purpose of
51 - compatible
52 - enable-gpios
53 - select-gpios
54 - orientation-switch
55 - port
60 - |
61 #include <dt-bindings/gpio/gpio.h>
65 compatible = "usb-c-connector";
68 #address-cells = <1>;
69 #size-cells = <0>;
74 remote-endpoint = <&usb_hs_phy_in>;
81 remote-endpoint = <&usb_ss_phy_in>;
88 remote-endpoint = <&sbu_mux_in>;
95 sbu-mux {
96 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
98 enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
99 select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
101 mode-switch;
102 orientation-switch;
106 remote-endpoint = <&tcpm_sbu_out>;