From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92B964BB5D8 for ; Tue, 15 Sep 2026 16:57:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789491457; cv=none; b=ZL0lZCMmkcDPT9dKOSlQHLj7o1xX1L0GyViBO2Fixb3AMtVZ5RU9REJtql5O5MVLqtJX0yYJEi8cDGwuhnp1CjucMZcVH0ZL8sifJ/qKTn8Jbbeg+un4k4gjpQvV5zwC9yOpYSssRBhB+wxDTaKY3qowMCC16Vb6z941Ps5hH6Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789491457; c=relaxed/simple; bh=5BRFpMT2458/X4jlA/c8yR3sX4VMh8e71LTTWl+feMc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CrnD1K9iZgHtrCER7pMgzeE3k2ZN7HgBWbiRxPlD4WjuFZ5ENm8wXvcf+awy4HaDnROuZ39V2WQhYG1fHUEA9BI3Qy/Ok1LYOt3/w/KxCM2NLGAYcb/ltU7qCwPQWZGvDkXBv1oMnw/iRAt6yki/ShlssYzqSOpibLaMOCuDk0g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=cNVxQ8v9; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=jx/wwdZM; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="cNVxQ8v9"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="jx/wwdZM" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68FFAS92813432 for ; Tue, 15 Sep 2026 16:57:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=YDLD18vZOwo NWTUh9k9LmtYOiV35zaZzn+mU3vs14sA=; b=cNVxQ8v9uOTf9/R2DFp7g4MNG03 u/yaymYjBKxwwDwIxBHg/wABot4H9dgoJdX8cubcg7kTt1CMUWruht/iNPEoh+C4 7mmm+886ck6QUkhmMudWdNzr9PjxQFk9twkHDFoQ4YxMK1gvyP3LuCKH3Zz9wLmc /ZxpQvceF+vJg3JksThxQM79sVBGYutX/CpMqUQA5yE1Tn57/RKKE5huUHsBnFPp jIeKBiD5LVR5RpdmuagDQ3dm6zwKlefcCK2tujn8xO3U1pckhaKGcoXK1WXGnoWY IEmHsXRNkv2UIY308/f6sWjGTvPpTQ7XouDRnsg2xDBx4W2sslJy5tWbpSw== Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gq6kc1bja-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 15 Sep 2026 16:57:24 +0000 (GMT) Received: by mail-ua1-f71.google.com with SMTP id a1e0cc1a2514c-97e9e2deaa4so4298581241.1 for ; Tue, 15 Sep 2026 09:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789491443; x=1790096243; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=YDLD18vZOwoNWTUh9k9LmtYOiV35zaZzn+mU3vs14sA=; b=jx/wwdZML2nUTqxOe2uXuNuU0vM8uGndQw0ZZRHPDf6auVXy703sZii/d+OFlCfb1/ LTSrscIYlBiiw9D6TFCbL/7aVlrGeAmOn/2UC2iqVjzshIpsSk7n/amHH+HmyAqFezJM WCCTyni/nC6BJsylgU7Oidka/Wex85uQDYyoby8WwG1hLHLc2SgN30pmekw82fGvnJMO iamWkAHNaa935fMBysoMz8C6l4RSJl+e29ep5z9VKRU4Ii2sIt3+YiW9G8/zAljdnR58 0Xek7B5iXZslnGt+1A9UvabmZ+0OTzrirY0ZyIfgKebiXa/7Xr27e4ubTt33VFRjy5PO M+Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789491443; x=1790096243; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=YDLD18vZOwoNWTUh9k9LmtYOiV35zaZzn+mU3vs14sA=; b=MUXUTDo1bz9oaQEVCyINmOXqUq05ja6n7k2JD8bxgTqGCv3IP/zaql8B7v8vJhnmP/ vPPJKjZMH4FhnFiKUoiYOshosga6YJR3MJ9D2hD1AJ/+AA+VB5a1H7nM1as53TSml6NL THZzaQpVM0uLxGIqeDmVMkWaTWieBW4tLsyXnbIF3K0HBMit6I8Ow4x0TKPm4o4kJ/Zv bQ3V4wsmoRd0Oz4D2S3F4LAyTrgG+6Fc6/d4C+/+GJwa1EEQF1NDx6TvXAvUNh+G4Zci rTrKJpY5JRu7rHlrRJDgNHGQoM/09XYrGMorEsvDEpplrGq/D22X0kumFRpL+326HCQN 8owA== X-Forwarded-Encrypted: i=1; AKwUvByxeaLQ9O+G9LMn9+i15V0DaOUeQcJHSbVOxJ7Is55CqC7SJlR8ibH+7Sw3M4AB1+W1xvFFTh60Oi2MJ0c=@vger.kernel.org X-Gm-Message-State: AFuF++kMS21Vkli8WWXFkRoF8EK10aOrXlSbNrnYJFtFgzk9RsSbMk2S a7T5bh3UR1/iOQPOm2961MPQERUq9f61CNoOFK+hkhYoQxGax3bttKIe1UgNXAbB47GL5TE0a3e Yx7nDQfLTVtb9wb8dKCwK2BQrb98qS26Zw6YZcGSL4604mADKNodu/nij8NqXaZj/gmM= X-Gm-Gg: AYBFou3sKNUML9DI+UxS18FkkF10EW7pIPXCT2CcdTYh5NqEXyVZXKBZt/6SXnSBdJN 1SsnfZgIea31HzqC7pXj7puoaByvXsV2lgQVlIlBUz6unoNMZEzNNQzLhgI2AEXnwAEMD4fFyR/ x1aLRgCrONuv9vVy1vuRe0XOmkt2cVFYdAfb/z3v9ZAnCnOLBfktxvkj2AKkVSh8zTfHpu7lcBG bR8rkP2a4ZBwpJdg8zeNi0V9wzu7b/P3XmTTM9vvNFaNJLzwwR3RdbxdP2B1c8Y0LwKcIvtPPx/ Z8WzlpFg/j8z6ZwRjHRvfIDH/5vSRPAeYPbLLGDkV/ZPBV0sIwLKBnSOJSHnC+aT37v5z4PBkJb ceJZfPyM9yq4C5w== X-Received: by 2002:a05:6102:5e84:b0:79b:b389:d6d9 with SMTP id ada2fe7eead31-79ed744036bmr4241253137.9.1789491443423; Tue, 15 Sep 2026 09:57:23 -0700 (PDT) X-Received: by 2002:a05:6102:5e84:b0:79b:b389:d6d9 with SMTP id ada2fe7eead31-79ed744036bmr4241153137.9.1789491442906; Tue, 15 Sep 2026 09:57:22 -0700 (PDT) Received: from debian ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49e83d9057dsm4361335e9.3.2026.09.15.09.57.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2026 09:57:22 -0700 (PDT) From: Srinivas Kandagatla To: Mark Brown Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Pierre-Louis Bossart , Charles Keepax , Maciej Strozek , Bard Liao , Rob Herring , Krzysztof Kozlowski , Conor Dooley , patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v3 7/8] dt-bindings: sound: qcom: add Tambora WCD9378 SDCA codec Date: Tue, 15 Sep 2026 17:56:49 +0100 Message-ID: <20260915165652.914893-8-srinivas.kandagatla@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260915165652.914893-1-srinivas.kandagatla@oss.qualcomm.com> References: <20260915165652.914893-1-srinivas.kandagatla@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE1MDI0NyBTYWx0ZWRfXytJCoAu29R2J ctwxOVkyvSwQFu/RxDmVrvfJCXJpD/RZhuPG/etSItEPiWNFZ2r+r2VwaQMQB8LSdCGqnzYX+Rh savQ3uOZHKVID2vG2XFT+IScO2CZ1oo= X-Proofpoint-GUID: pbacSashNTpteiRnKlC56XWO1jPusPps X-Authority-Analysis: v=2.4 cv=ZINCCn7b c=1 sm=1 tr=0 ts=6aa978f4 cx=c_pps a=KB4UBwrhAZV1kjiGHFQexw==:117 a=ZsC4DHZuhs/kKio7QBcDoQ==:17 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=fAJwNmJgYEpPzymNVfgA:9 a=o1xkdb1NAhiiM49bd1HK:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-ORIG-GUID: pbacSashNTpteiRnKlC56XWO1jPusPps X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE1MDI0NyBTYWx0ZWRfX6AqA0kk2eN5U nhY7YKuNzo4r3JI7LQvQln3FRgHNSEhhOEqkAgk+RLy5tWrZy0BC9K1A+0+JaWfh6P/fKuRrx7c PG3MJwL82fDuiITVhtlHbYO7EQpB8XXvQotxpVB7BTD8HULZtFgC/mnviEmgeLutkjkfhiYanQL 7y02SrcVBDqR3CUtemvXehqvuEar+jc8Oq6Z6lIvaphUQyKF7C7nkiWzEmDHRwhiwoqQX524fMZ WWWTZeBGVhF8Huq5YuJhVgPscs5Bzph2uPKv8qNp/uWrlq9k9XpW3xoB6Vs1j7IpWOyEatHQnWx TWbAK7AIkICB1uNJrXTm/+dHju0FL2BGk3PUftmIlMSK1HYqfEl8rO4m40hmqHgSVh2kgWGTN22 7mY7XMXIhwNalwy12Csh06XXFD8etE3/sWO91fCFp/P8XSyb44hiMNFejFNVbolGo7yrctxyobr 2MQUtJyVg1z6d5vBzFw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-15_04,2026-09-15_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 bulkscore=0 phishscore=0 priorityscore=1501 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609150247 Describe the WCD9378 SoundWire peripheral which is SDCA compatible soundwire device. It provides SDCA SimpleJack for headphone playback headset mic capture and MBHC jack detection. The same silicon is integrated in two ways and enumerates with the same SoundWire class ID: mobile mode: two slaves (tx, rx) on separate SoundWire masters. SDCA / compute mode: one aggregated slave on a multi-lane master. Note: both of them have different bus toplogies 1 device vs 2 devices. Currently only compute mode is supported by this bindings, mobile mode will extend this binding as required. Signed-off-by: Srinivas Kandagatla --- .../bindings/sound/qcom,wcd9378-sdw.yaml | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,wcd9378-sdw.yaml diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd9378-sdw.yaml b/Documentation/devicetree/bindings/sound/qcom,wcd9378-sdw.yaml new file mode 100644 index 000000000000..9a6c309018ed --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,wcd9378-sdw.yaml @@ -0,0 +1,91 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,wcd9378-sdw.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm WCD9378 (Tambora) SoundWire codec + +maintainers: + - Srinivas Kandagatla + +description: + Qualcomm WCD9378 (Tambora) SoundWire codec in SDCA compute mode. + +properties: + compatible: + items: + - const: qcom,wcd9378c + - const: sdw20217011000 + + reg: + maxItems: 1 + + qcom,port-mapping: + description: | + Each entry maps a slave data port to a master data port. + Entries are in order starting from slave port 1; slave port 0 + is reserved and not represented. Compute mode uses 8 entries + covering DP1..DP8. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 8 + maxItems: 8 + + reset-gpios: + description: GPIO used to release the codec from reset. + maxItems: 1 + + vdd-buck-supply: + description: 1.8 V analog buck supply. + + vdd-rxtx-supply: + description: 1.8 V RX/TX supply. + + vdd-io-supply: + description: Digital I/O supply. + + vdd-mic-bias-supply: + description: Mic bias supply. + + '#sound-dai-cells': + const: 1 + +required: + - compatible + - reg + - qcom,port-mapping + - reset-gpios + - vdd-buck-supply + - vdd-rxtx-supply + - vdd-io-supply + - vdd-mic-bias-supply + - '#sound-dai-cells' + +additionalProperties: false + +examples: + - | + #include + + soundwire@7630000 { + reg = <0x07630000 0x10000>; + #address-cells = <2>; + #size-cells = <0>; + + wcd9378c_sdw: audio-codec@0,3 { + compatible = "qcom,wcd9378c", "sdw20217011000"; + reg = <0 3>; + + qcom,port-mapping = <2 2 3 4 5 6 7 8>; + + reset-gpios = <&tlmm 191 GPIO_ACTIVE_LOW>; + + vdd-buck-supply = <&vreg_l15b_1p8>; + vdd-rxtx-supply = <&vreg_l15b_1p8>; + vdd-io-supply = <&vreg_l18b_1p2>; + vdd-mic-bias-supply = <&vreg_bob1>; + + #sound-dai-cells = <1>; + }; + }; +... -- 2.53.0