From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796129323; b=Fhrhv6ogiSgTumuzvl6anvf9pyFoDzcFd3bzKG4xTiKRhcwkn4MDxFbgERW5jQRONaEr G53856UnYziU7CtM8FELRjdxcwS6j/sqoUqgf0zq5ObxdMkVLoXrbcpLjhzuLW+MTgmVF syFQQ56qr27Cxcb1NhkdTZDK+Cxnk/IFKKktMgtK+2W32g6ok83puID6nAs4gMjKbcjMp 2HCHKPVuS+lam9kruROUVzER3PItktPsM/oRVAE5mNtX43lkUQnMA4bKidYH8CkYsFNhK U9I/6PV5cfGE/6EsccIOuUtc1XGeoC+35hE/USv+h31AiAFQjY2pdky6r+fWqog/yuw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796129323; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:To:Cc: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-GUID:X-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=jGkkTM3LLt/pkOZfvU7EmHj8OsPB8aJ7Tsh4UyDzAkM=; b=NB1MJuCS9AlXUTmqrUs5PK/ic3iWYawPbXaocurGXP48GdIyb/XeSKuOvUt36UXaTg9B zcy0ZshhHL3IZ1AHMFSjbfxiuIuCzxxYB4pFsNF0A8I2Pq8z6opFGL0nJvxDoLBFufn4W L1RRnd6uJTIIBgsOUw7VuD/y9XxZiFjdoFCnUnM5fME4FxHxh/3+M8mRy+GlWQXGwGcGd RS/iB4fIh0h853776uDct09ylohDnFhseDTK7pDrIulyitGMzlwZ4avE3NKn01fBX2WjX W8LkJFSRraHGDIYdhwoaGxay9v6Y8AgkOrUnjgDKS8c1xLXRiZjgRiqIRe7kw2HMKqw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=DH9vwGEv; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=dBO92zwV; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74BE1606AFF6 for ; Tue, 1 Dec 2026 12:48:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 74BE1606AFF6 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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.a=rsa-sha256 header.s=qcppdkim1 header.b=DH9vwGEv; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=dBO92zwV Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B1AQbf41379151 for ; Tue, 1 Dec 2026 12:48:41 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=jGkkTM3LLt/ pkOZfvU7EmHj8OsPB8aJ7Tsh4UyDzAkM=; b=DH9vwGEvTgxxOFlNt2YsftAdRxY XKFtzfadFjUish9CDTo9ihjzpKO8fSu0LHPAaSpMdm2yl4AmwZF8PR5LGKJ3iY4o 7bsGq4ip1KCnMR3n1ONLfSogPXX6KbPTFOO7n3gSAyHi2+u2ssyFagUrG4BHu5LH LO0RqLwskufoSCjbifDIDSARCo2Zdaq+WrU38biZdYih8iH0FYD4KvOqc3xYRAqs 8G8QCXQwMUYimoQ/FTh8ntyjRDIz+sMYvqTXyvSQr5A+YKlzh+n2CB406kqawa2n T2oM93uunQQlEVR4Bqe+JNOt8ijJKKPDoX5FBwwz9dwY7V5jX+IBiBehklg== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j9gnbkbpr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 01 Dec 2026 12:48:41 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-934963b2bc0so2007584985a.3 for ; Tue, 01 Dec 2026 04:48:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796129321; x=1796734121; 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=jGkkTM3LLt/pkOZfvU7EmHj8OsPB8aJ7Tsh4UyDzAkM=; b=dBO92zwV/Ja8w7hp+veiEFDUzqdTGB5adtF1fosaYtO21J+VLt3KdX2X5ow5yomM+w qu71/yZsewjoHMuDIqeXF1+nific/NYsDHP3CLRIMFZys78uaFn1ydd1TO4OYy7GEPmI +Kqsj0Y/TU1Gxo+qshbJH66td2jmXazYup6llyzuGY6gTwIX0jDIQT3DS1b1RzLIWaa6 7H+mmFwA+5vGntGcYBbsTz3J8OQUBs6b3FRCbLCiBiW5Z05cqmePDPmDPHTOq2IkDDzQ Lat5eEgoEbiHF1Y0VDyDtuGnwjB0aueq0kcuf983+MTMlG4L4x7eyHiYjH64doKHTiN/ NP8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796129321; x=1796734121; 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=jGkkTM3LLt/pkOZfvU7EmHj8OsPB8aJ7Tsh4UyDzAkM=; b=Kxz8CMr8kZ6zitiavPAVmPCD3PRE9Qlb4cRwcmjMuiN0+akSm000IeF/aGA6Ww4JPW FwI+2LJyozBUs8Sf8J4wWQOEflkqJzr0ZC9XwPv1o51j88Z4SFq9sEAQrvrga9DBFKv9 qq4ue24inEoZI6HYxwDaXkluSNSt5EbcMGxO5iVO84UwA5D6ZMqzeESDqvYhimH2rnF/ uCm6CNlDe/k0OH1qM+no8jikWpREUFZbyLClOtMzWAmLzNvzyi2yqw3OL9106ezTKYbP U9aqI/CVhKhK6OV5mCXgmCoH8nLwtZyPlNkE1hKalQ5/NU/pqUbe/fr6Vuf1CtQuJWe4 7xWQ== X-Forwarded-Encrypted: i=1; AL+hErGGxshDCC9yxjXyFIjKPSrpUWyl7nrJpO0qSVP9BCpBwBwGNfh+4IIvcpbshIJ4LFhNwsjE6OExBGPHeBI=@vger.kernel.org X-Gm-Message-State: APuU4Z+ZR2LszH3NoPlCjCfRkpFiLIBY31hJeKAyaFaQ5SOsvMXBlc4t 6H5thOkUBi0/BQpNXXVk7DcwHbZasJkKXxRCt0rFYqKQzZuLjyoH7rZnCZ1/uGw/DVeTPTenv8C xRyAOcLmkbu+uZ+oIhHMhMmhNv2YaN+7IQIH2PJk94vVSNvhhnZnwVI1Tlul6ZjEx5rY= X-Gm-Gg: AZFdTZcFEWo+KXQDbMC/VyE6PHJgweeNkgN5DNosw54+vN6ARYvFPa1wJAY74iUoZso +aI76d5/T7wUuGFHsTxtDunKbF6tW0U1bQ2X4oXbnjVWeYI5Eg8MzEGvdEz+5rrw7TT7UPTIa6v 4NucsMuQxK4KgfyvgJDbLE/LfPO8Nl0kHkMbl80ljh9HKM+O9BI7wldj4UoWHHNqg0uTmNrnWAY Ja4BlGP2AbIFI4IqgdmE0f0wCMQ/PQ8NtdJDbcWFCqbdCFdf8eb/KU0a4VoSUoSBufk5G8WIWQ0 y+Mo0vW6BBfc/st8eU5fW6LklmHRpACXik/01HCpbSQwa62gADNPjnJO0mM1T9wEixUKi+KS4f6 Ws5FFRK22JrSqUewBA2dnE+ZWJVE2lb9gaKiEb9wZ7HwLYS6qVryaiS7wae6KXjyG X-Received: by 2002:a05:620a:480e:b0:949:816f:cff3 with SMTP id af79cd13be357-949ba82355dmr6917197485a.5.1796129320671; Tue, 01 Dec 2026 04:48:40 -0800 (PST) X-Received: by 2002:a05:620a:480e:b0:949:816f:cff3 with SMTP id af79cd13be357-949ba82355dmr6917192985a.5.1796129320178; Tue, 01 Dec 2026 04:48:40 -0800 (PST) Received: from debian ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb853a9687sm1131892375e9.10.2026.12.01.04.48.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 04:48:39 -0800 (PST) From: Srinivas Kandagatla To: Mark Brown Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , Pierre-Louis Bossart , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Randy Dunlap , Shuah Khan , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla , Abel Vesa Subject: [PATCH v4 23/24] arm64: dts: qcom: mahua-t14s: add WSA speaker protection VI feedback Date: Tue, 1 Dec 2026 12:47:52 +0000 Message-ID: <20261201124753.196748-24-srinivas.kandagatla@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261201124753.196748-1-srinivas.kandagatla@oss.qualcomm.com> References: <20261201124753.196748-1-srinivas.kandagatla@oss.qualcomm.com> X-Mailing-List: linux-kernel@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 X-Authority-Analysis: v=2.4 cv=Y9BtIReN c=1 sm=1 tr=0 ts=6b0ec229 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=ZsC4DHZuhs/kKio7QBcDoQ==:17 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=PlqI54VOmiubEWYg86QA:9 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAxMDA1MCBTYWx0ZWRfX05Ta0B5VtnQJ qB4Rx89py8mtJsI5gtTe8+WMCn3AVpCYK1SBOjgDQX/ZODA8w0YE08IDYciRCVPJJZZ2VoRPLZt 1YZSJv8Lm/huqgYsF3uzCc67TGrPlVQ= X-Proofpoint-GUID: O1koLyAjbP4Cy7dO_MZFC08NoRh2e2ca X-Proofpoint-ORIG-GUID: O1koLyAjbP4Cy7dO_MZFC08NoRh2e2ca X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAxMDA1MCBTYWx0ZWRfXwp5Aw0Q4WKTq ouc5ke6KCiMwqldmv2vF59roIN/cN2PcaRRhfbaopPxPK5EUo024qn9XLNZEqWMqUPX44Ee4E4X xowNOxxSvhJ/+uD1VwQwukTfCxqn9zMHQWNrjXzoAz2lXXOHnqEyie+RRGNqUqqXfKk9/umL25h CGZe/aYTNDV54YoDfDihjSdc9rLG7H78xkKI1eyU7VE68e0KWrGT8lr/uJrRPuEgS+Nd4m3P3Je fHmoQ06J8d6+lbE+R42NbOzN2sm/SpCH3Cn/n6sS54yAFJANcFv0LaELQVLTQ7NzUyGQhU98drG Yjmyk8SzkyRyAcKeobpQKG7mpujJGQvgKQXiDu10LPxxsoObcDBzdWxX4IOm4+DrOicpnuHxrnO bTTIXy+s/bRUxWUfGoVKEwLuXCRDnfhvsuJSdI0zmy4ZNPjVXWH/BwLv5EgW/6TyxEkSMJlY0WR Sd1GWZmXaUDSdvG83xA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-01_02,2026-11-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 phishscore=0 adultscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612010050 Add the V/I sense DAIs of the two WSA8845 speakers, the SoundWire VI ports and the WSA macro VI capture DAI to the WSA Playback link, for speaker protection. The speakers now expose two DAIs, so give them a '#sound-dai-cells' of 1 and address the playback DAI explicitly. The playback-side WSA SPKR codec DAIs sit next to the speaker- protection VI capture-side DAIs on the same WSA Playback link. One MM1 playback open brings up both chains via the machine driver's multi_direction_codecs flag; the SP<->SP_VI control link in the topology handles the DSP-side pairing. Signed-off-by: Srinivas Kandagatla Reviewed-by: Abel Vesa --- .../dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts b/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts index 26d6d8285e04..35419545d715 100644 --- a/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts +++ b/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts @@ -269,8 +269,11 @@ cpu { }; codec { - sound-dai = <&left_spkr>, <&right_spkr>, - <&swr0 0>, <&lpass_wsamacro 0>; + sound-dai = <&left_spkr 0>, <&right_spkr 0>, + <&swr0 0>, <&lpass_wsamacro 0>, + <&left_spkr 1>, <&right_spkr 1>, + <&swr0 12>, <&swr0 13>, + <&lpass_wsamacro 2>; }; platform { @@ -928,7 +931,7 @@ left_spkr: speaker@0,0 { compatible = "sdw20217020400"; reg = <0 0>; reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; - #sound-dai-cells = <0>; + #sound-dai-cells = <1>; sound-name-prefix = "SpkrLeft"; vdd-1p8-supply = <&vreg_l15b_e0_1p8>; vdd-io-supply = <&vreg_l18b_e0_1p2>; @@ -940,7 +943,7 @@ right_spkr: speaker@0,1 { compatible = "sdw20217020400"; reg = <0 1>; reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; - #sound-dai-cells = <0>; + #sound-dai-cells = <1>; sound-name-prefix = "SpkrRight"; vdd-1p8-supply = <&vreg_l15b_e0_1p8>; vdd-io-supply = <&vreg_l18b_e0_1p2>; -- 2.53.0