[PATCH v2 1/4] ASoC: dt-bindings: qcom,wcd937x: Add USB-C graph properties

From: Val Packett

Date: Tue Oct 20 2026 - 04:34:26 EST


This codec can be used with a USB-C SBU mux to support analog headphone
adapters. Describe the mode-switch, orientation-switch and port
properties similarly to wcd939x.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Signed-off-by: Val Packett <val@xxxxxxxxxxxx>
---
.../devicetree/bindings/sound/qcom,wcd937x.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd937x.yaml b/Documentation/devicetree/bindings/sound/qcom,wcd937x.yaml
index f94203798f24..f15b9a9d90b1 100644
--- a/Documentation/devicetree/bindings/sound/qcom,wcd937x.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,wcd937x.yaml
@@ -25,6 +25,21 @@ properties:
- const: qcom,wcd9375-codec
- const: qcom,wcd9370-codec

+ mode-switch:
+ description: Flag the port as possible handler of altmode switching
+ type: boolean
+
+ orientation-switch:
+ description: Flag the port as possible handler of orientation switching
+ type: boolean
+
+ port:
+ $ref: /schemas/graph.yaml#/properties/port
+ description:
+ A port node to link the WCD937x Codec node to an external USB-C MUX IC for
+ handling altmode muxing and orientation switching to detect and enable
+ Audio Accessory Mode.
+
vdd-px-supply:
description: A reference to the 1.8V I/O supply

--
2.55.0