Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.110 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792515862; b=yFEIgHFvTPk26J0KHHppWw3SPXBfO5cQLoFldSbxGSmtZtiqQP8cxxBlKAG6rJxFBozH Sf7jv0178Duvv417CHmrYmKY6cPz8hQkNV8Ghs2HgiqXICdNBRjRM+EIKq/EWIrNiYmBx LroGMhMPqN38Sfb9OfCcqevb5vo8FVFNfZ0E9wmis4jQH4hVQtFpXA9B6mtca9/mCGVCt 6Aam3sdP3panmQ+xGSTL34ENJqpM5Hk3BCyki8hgwHOCogn8N0zTSdsZNrMlf//nB3q5O tKKRwvBuPCS3r8gcOVd8kDrCv/6DixOUMcqrvQ2cQ/BA7hJpEJzrDXaJgycuCMvizPw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792515862; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:From:To:Cc:Subject:Date:Message-ID: X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=8sR+zDzMi9HFrsdnqSgy6DAeaNbWllNx84H/JCpIZzw=; b=fpHt9nPB6iJC0LE1Q8MjsjmlLyKtZm+f7WpfVPTdWZm/Rx8Ry+4YgSd88xUtbGo9hOs0 nlixzJJIh2CwIO6bdg7E8waS06srHIms4HcZ1/jEnXPev5iJdc5erzm+VbZ5Bljd6Ho1w hX8/aMcK/q7tq2mj2GpdqLFmKzvbrhLCtUclXzcni0DOC5nH5NU9VicULJEVMMNB4EXK3 7RnK0Rf5hVSS5Z74bdsVC8uWi1X7L2O5J79R0gDDWyFA8LNFePJCu/O15ne8rMVK732uA 7FJsB45/Tqy4RFzRSEHXdHBJFctLVAIFyMzo22FUpzGBEawdjzNqq1c5JwfKxvoAT1Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=packett.cool; spf=pass smtp.mailfrom=packett.cool; dkim=pass header.d=packett.cool header.i=@packett.cool header.a=rsa-sha256 header.s=key1 header.b=F+6g9+a6; arc=none smtp.remote-ip=91.218.175.110 Received: from mta0.migadu.com (out-110.mta0.migadu.com [91.218.175.110]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EAC3D606A31A for ; Tue, 20 Oct 2026 17:04:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EAC3D606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=packett.cool Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=packett.cool Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=packett.cool header.i=@packett.cool header.a=rsa-sha256 header.s=key1 header.b=F+6g9+a6 X-Envelope-To: linux-arm-msm@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=h7y1OEuGysqMDVk0RdcCkB7ieMe6BbeWyLj9fbcPZIY=; c=simple/simple; d=packett.cool; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1792515860; v=1; x=1793120660; b=F+6g9+a62CwMiy7K+Blyc3Im53Bi8PCt8BDwigujfXrnpSgOkNxLC8V9CIbvD9g1D9oLb75T tAh71WQMyKnsmaDEf5ZVtPeHmWbJ8l/T259KY0v93f0VdzCs36hpm3Iwla5Q+8TAlrwpS+uEJpW cxzHded2KGcPDLaAib3HyFjLq54pLz98GWG31fjUxHWsmMpzV8iiZk9RdGVy+2fgqL2UmLjtaAu Me5TrJpebsNDEN37J+chFLXDLse8CHkXhyBhyKGtWoqiHrCoEENBuzeU2GXu65UNsKiifvsPKga BIppkm+bIDaOrbDZZs6rXiCuiRxsFyFciQClVbK4mhqoA== X-Envelope-To: linux-arm-msm@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 28b23032f6087e65; Tue, 20 Oct 2026 17:04:20 +0000 X-Mizu-Trace-ID: 28b23032f6087e65 X-Migadu-Flow: FLOW_OUT From: Val Packett To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Val Packett , Jaroslav Kysela , Takashi Iwai , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v3 1/4] ASoC: dt-bindings: qcom,wcd937x: Add USB-C graph properties Date: Tue, 20 Oct 2026 14:03:25 -0300 Message-ID: <20261020170341.1641325-2-val@packett.cool> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261020170341.1641325-1-val@packett.cool> References: <20261020170341.1641325-1-val@packett.cool> X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Val Packett --- .../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