1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/usb/qcom,wcd939x-usbss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm WCD9380/WCD9385 USB SubSystem Altmode/Analog Audio Switch
10 - Neil Armstrong <neil.armstrong@linaro.org>
13 Qualcomm WCD9390/WCD9395 is a standalone Hi-Fi audio codec IC with a
14 functionally separate USB SubSystem for Altmode/Analog Audio Switch
15 accessible over an I2C interface.
16 The Audio Headphone and Microphone data path between the Codec and the
17 USB-C Mux subsystems are external to the IC, thus requiring DT port-endpoint
18 graph description to handle USB-C altmode & orientation switching for Audio
24 - const: qcom,wcd9390-usbss
26 - const: qcom,wcd9395-usbss
27 - const: qcom,wcd9390-usbss
36 description: USBSS VDD power supply
39 description: Flag the port as possible handle of altmode switching
43 description: Flag the port as possible handler of orientation switching
47 $ref: /schemas/graph.yaml#/properties/ports
50 $ref: /schemas/graph.yaml#/properties/port
52 A port node to link the WCD939x USB SubSystem to a TypeC controller for the
53 purpose of handling altmode muxing and orientation switching.
56 $ref: /schemas/graph.yaml#/properties/port
58 A port node to link the WCD939x USB SubSystem to the Codec SubSystem for the
59 purpose of handling USB-C Audio Accessory Mode muxing and orientation switching.
66 additionalProperties: false
75 compatible = "qcom,wcd9390-usbss";
78 vdd-supply = <&vreg_bob>;
89 wcd9390_usbss_sbu: endpoint {
90 remote-endpoint = <&typec_sbu>;
95 wcd9390_usbss_codec: endpoint {
96 remote-endpoint = <&wcd9390_codec_usbss>;