From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796073833; b=T+xDX+bWMQS2l0mrkEOzAKQExMGQXcawVYx+9kUaFphpQ6RMtiMvLu80zOC2hEMSbFrV w2N2vGSYVQxSSj9Rkitd1TMyvct8YywqiJgD5aGi2yHOinhZndQvKJxnNws09VPWFQH0N gVRpLQN4YUDUMnYg91bZKhiXT1xiZzZMDRiskXULAJaDg9OEVVq8LTLUBjpIKOJQ7eb19 fQhb+C0g0+6rqwv1z9q6DQ5ia8VxM1cu7HKzrXdy7q+HI/NybhXyHzbwMUN6n/zyNY8l5 zP05NNfj5oKd0PEmM+vO8U2ecLHoL0p9qifwN2bvLsHEBAdoms2nWBnEK3tYsZ7w8cw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796073833; 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-Proofpoint-GUID:X-Proofpoint-Spam-Info: X-Authority-Analysis:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-ORIG-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=95xF7iVDzzyYqm/M9rREQZwCw5MTwzADi9HlLQP5JGM=; b=Xd5plIqcNb3/KKNzOcpte229rQMYZsocNmeiC8jtP+Lb4hasYN+u3Q6B2IJRhQv06eDX j7iJ46X2rWXl67FTfQt1HMdPyTqCFT9ezUregex+lsYdyCs8rbpNbIhzU4YPuUPDlBS8U hDlQqW8YxEbjVE0IduLCWXRN+hK+Y5B6Z3O4vncEIheXQJ8LCB9iJB6/Quwkf3M5OY1MZ kkOiGcdnSwNhgcZAuIniMbxBj9JGOhnszxcOu/gD+Ugeo8BDef5Zz5N6kTpPJAVUaCXQx C3lFGtpTneaHrq/k/m0vgMeNHOE6JBq/kgOShEu0caC7TZXPaJGl7ytp3KY6aNmYiBw== 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=Mq+YuFdR; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=e0+LgJfZ; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 A4F8060A262A for ; Mon, 30 Nov 2026 21:23:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A4F8060A262A 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=Mq+YuFdR; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=e0+LgJfZ Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AUKQKpK3838646 for ; Mon, 30 Nov 2026 21:23:51 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=95xF7iVDzzy Yqm/M9rREQZwCw5MTwzADi9HlLQP5JGM=; b=Mq+YuFdRcTJThzUpn83/8y1IwEd cG8tQFoDl9xxi2mbvngen9Hh6Ma2FNeyC8MYA+PRf20urzzaxX16YT2FMu2/NM+4 JDWwwtPV64am2DgRLYdzAkXE22zWEPk7GDPKkz0P0QuIysfBDncwiC/jcSNb4/cl KlOIad898lOikdPy+2pElpKBUdW4tCxBrNmMwxX1Xet91fE9AQ4uh8VOECcerNXL vgAfjf2OJCEHH7735hawZ8yhGcfGHwc5mAHu8Vmp5Os9vavua0rcELSV1F4i6/cB lIQS7TMKnTsXV+cFb/BLvzDW6ocdMn7vkdqgqiVQDhT94HQjd+tFlxYYDjw== 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 4j96c0tvrg-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 30 Nov 2026 21:23:51 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-93f5844e383so1587237385a.1 for ; Mon, 30 Nov 2026 13:23:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796073831; x=1796678631; 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=95xF7iVDzzyYqm/M9rREQZwCw5MTwzADi9HlLQP5JGM=; b=e0+LgJfZ5lnkBBrspnc01MsRJYdoTIuONHjPhr0zId9oTwmhWaM5J4buRLU7eFWqOC eWs7oJn+pggmRcNHretqv4EFEztxT4aIpsOe462v3TDqdSqCod41st6mGMB0R42Criy9 shAvFkqc3gndHZyNFAIg4vAhs8rytQvHi1qn9xSldIhPEzmocVRp7jkBCN/pCg9eqMTv +4dm9VmE/3tMfNxpEpV3f2ZuqH00BmBQr8/Mmzh63BynImC48Vo9b4IfMrfw82hOeWb7 xYnMpB6+PMP//XVPgDc+U0fsMMFhvtWE50h/rvXuuD4SIe5dzcjVYNb+68myqyDefsoJ PIaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796073831; x=1796678631; 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=95xF7iVDzzyYqm/M9rREQZwCw5MTwzADi9HlLQP5JGM=; b=qDV59uQ0H0Krg/banIJdKsl0vcSAqMslHmlniWR0J+bMAtHBp1rkvMDIPJ/LHED+0u OBkzJ1o+fbf0lXuGuOZFQQRZNriIEVcpSefK5RcD0cYq7S0qMatx5x67YHej5JDngAPZ wNUUM7mJED4E5VyrpePVb96D6CMSgD35Ouv+hEx+vCao7vOKGJzzd0UD2Qf/kK0d4q6U SkJObU1aoW8hCkmDEuPi6CI0JZfQLEpvxPlj/+z4XprWCdoY7KG9fyTxYPNhdiwxpoV+ MvpGY1n1FAqFlFwUvJc86fTdPYBBTanmxRTFnk5N4jX4i9Lb3o06AmmHMlS2lq4l2zdH LJzw== X-Forwarded-Encrypted: i=1; AL+hErFq/R4KKX+ekoStB51T9Bl2zKIJlC2hX101XnErmLteodtaPKKLiyl73Y42PPubLlKE1ZIeoPxoqzntE8s=@vger.kernel.org X-Gm-Message-State: APuU4Z/pU5PjVH4HH6TE/wnKBqzTpdFrhyDNXEloe6l7KUev1MgxbCO/ z8htnehgT6hqgI5+daMXSCLZEGpMCgZAUK7CqYv+mnh069uZbqRpAWflIzX8baIil+hU3+Z8lsK tfdzramA5QtvuAicEP/ZR8I9WVpmArTbDaVuo9nP6w5bNYdv0LcjCWGQ2tF+GJbkMJFc= X-Gm-Gg: AZFdTZeASu1QFNf+HT7iIiLkYeIEjRRVqtziHN+NatREbi48xv3QusVdqVyCjqpEEu4 Tx3weU8MJgBfHw9rqMH4KVuG0EkNRNvzvewpGeIeV913v96j+hdsjKb8AzGre3KwnXxu9G9Ax9F jYrW1/jj/5iFd1/bzThj+Uxo45I4zTKFndRa/r10eiOGuGWKzEAYPGjkPVDhtYB8CzHovbHSW/0 /oRiBE0Hrf3rshToVVULTWZWmbEz5+/82g1lMyZSsLwkxHcofbdwbYpyfUnz2T5T8LM7qMRBM+U nxTVN0gIL19jeatZY+2et0jXj6ZbwIsloUj/ccURA4APe63Z0WDHK08j082YHHsSRKi0Y6fSOMk nOYuCMQk/V5OvvglTf1n7tMbOhXotj5Fdzmfwe4ueAtp2sHcKyrROSrU6N5W2EOsM X-Received: by 2002:a05:620a:4608:b0:949:710e:2cdb with SMTP id af79cd13be357-949bab27025mr6581543885a.69.1796073831078; Mon, 30 Nov 2026 13:23:51 -0800 (PST) X-Received: by 2002:a05:620a:4608:b0:949:710e:2cdb with SMTP id af79cd13be357-949bab27025mr6581538885a.69.1796073830631; Mon, 30 Nov 2026 13:23:50 -0800 (PST) Received: from debian ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb88402ce9sm792580515e9.0.2026.11.30.13.23.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 13:23:49 -0800 (PST) From: Srinivas Kandagatla To: Mark Brown Cc: Srinivas Kandagatla , Ravi Hothi , Jaroslav Kysela , Liam Girdwood , Takashi Iwai , Pierre-Louis Bossart , Kuninori Morimoto , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Abel Vesa Subject: [PATCH v3 23/24] arm64: dts: qcom: mahua-t14s: add WSA speaker protection VI feedback Date: Mon, 30 Nov 2026 21:22:57 +0000 Message-ID: <20261130212258.7376-24-srinivas.kandagatla@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261130212258.7376-1-srinivas.kandagatla@oss.qualcomm.com> References: <20261130212258.7376-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-Proofpoint-GUID: DPxaUu_n0P_hKiEBMI15_PBCPEcodD2_ X-Proofpoint-Spam-Info: AW1haW4tMjYxMTMwMDA4NiBTYWx0ZWRfX+3jfyK5sEeFu 9ZqcSxdiVWKNGT/LrncGcSrLq1e4mq/yV3PE9uX/xF0+l33AAOdzr5FXRVVFOMRKimNODPaMT1W VVld0VQIku3WqBVItCtcF3Ytr2EoKDc= X-Authority-Analysis: v=2.4 cv=OvnaWC/t c=1 sm=1 tr=0 ts=6b0de967 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=ZsC4DHZuhs/kKio7QBcDoQ==:17 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=PlqI54VOmiubEWYg86QA:9 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDA4NiBTYWx0ZWRfXwvFQJUooWoej OKS4WXxhamwMkt0w8NdUvbRIWLV5fe3yWzj/wZaoY5Grn7RmHJt3IUQKE7DDpThAhy0VpNkbsIR IdZW8BWJhseysuS936SW7KmzkXSBUchzB1uo8Tt2CAR6F6x3DXSTFTpk2LiD7HeDjcGIJDgWqCV JAgTirMWoz8Ib4RU2L2HDqW5ETMaO/ZxuYGeGJVAnAWEazntw9rjyiRjkPVX0E3VX6OiBUbrAb8 SQzajHqKUeTp6Msu9UAgObWRan5g9mjj6OlOZrTu7II+Ax646yoXI1xxtNuPKGuuIq+4R1Ix2nv aUHIrd/ylbiCfAFGMEe/V8h8RwVagHb54HrEK3X2j8g50kqY+XWwCEBsRPmaLk92VcGpU3EUbyP 54PPXBVAcWpxVmnpZB+78rMpDdOt9o7GhJl63E2YCSjpKBN7rGLQDCAyv7d1l9kmFrAjrHDCavG hT6WAWZgq+v4vTAejWw== X-Proofpoint-ORIG-GUID: DPxaUu_n0P_hKiEBMI15_PBCPEcodD2_ 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-11-30_05,2026-11-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 adultscore=0 impostorscore=0 spamscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611300086 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 34ec5a52aa02..627c665eef43 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 @@ -267,8 +267,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 { @@ -775,7 +778,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_l15b0>; vdd-io-supply = <&vreg_l18b0>; @@ -787,7 +790,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_l15b0>; vdd-io-supply = <&vreg_l18b0>; -- 2.53.0