From nobody Tue Oct 7 03:48:48 2025 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 A3B0C29A9E4; Tue, 15 Jul 2025 18:07:15 +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=1752602837; cv=none; b=blGevlW1l5kT7A0dLRDvk7T7ePmL22wN1/QMRJDQEJVO7Ip1/v7ARLFbWrVDbESRFhYann24rT6T9S0iyG+7xY2Gj2lSKnUXh679UJk3/zqsA9AzZDKyvrnbffpmngOoGTAnBKlTiq4wtb71SI69zZJonmw/0K1rOx2hSBkHMcE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752602837; c=relaxed/simple; bh=8XY/5t9jxXm4fAjeLQdbEB9XS35qe67cTIgD06mWeyg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EwekJ/dCeGWcdOkq0yPMmfY4iblj2fV6F+UPZGE8rhLi447NKL+fYL9/6QQ0sUXsTHWxA4M50zUr4FCnIfHgNQ8/Po9qWAuwzzc/72rHJkbuttB8CTbGNd29RtHDOEsZauO6eWFqEjy/IK1qYWnXFR9EQWnc5XPXFqHMcblbl2k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=BNDsmS4Q; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="BNDsmS4Q" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56FGD9Gx022700; Tue, 15 Jul 2025 18:07:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=GuV9yPzHayR VV2Mo3WYi218Xrm5AOI2Bshq0AZx12ac=; b=BNDsmS4QJKRwylFsm3PCbg1JDj3 siCvyOek30opEIU+krhqd8pZ69gtxFI+hgrJxX/Mws5ZolS/jviwlPo9p7++Iiql Wm7PBEMc6cIJ5tfs2Bi+jQeN+isfA8Mnh48dhhQDBgo6JKbp0IGJo/9QZB6Hmqte Sn1YruHLQTXo24vdeBi8E5sdkHUfipKAZn9zRC9ADZGKtoqcsJBbZRkW1LuISG7Y aZrByzNLY31fJ03qrpYacFkm0fRPh0IohSrWDKSZ/FfCcEBG8WVi2kadMt3SKH/U 7hpjmbljHxOPrRRs/cyEEkaANHkIM0MW2APx/xqe1Px2ktjYHFoNMYV8JtA== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 47wkruhumd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Jul 2025 18:07:10 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 56FI75j2028697; Tue, 15 Jul 2025 18:07:05 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 47ugskwyx0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Jul 2025 18:07:05 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 56FI75LS028673; Tue, 15 Jul 2025 18:07:05 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 56FI74nl028667 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Jul 2025 18:07:05 +0000 Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id C080C5D0; Tue, 15 Jul 2025 23:30:52 +0530 (+0530) From: Prasad Kumpatla To: Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Liam Girdwood , Mark Brown , Konrad Dybcio Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, quic_pkumpatl@quicinc.com, kernel@oss.qualcomm.com, Mohammad Rafi Shaik , Konrad Dybcio , Dmitry Baryshkov Subject: [PATCH v6 7/9] arm64: dts: qcom: qcs6490-rb3gen2: Add sound card Date: Tue, 15 Jul 2025 23:30:48 +0530 Message-Id: <20250715180050.3920019-8-quic_pkumpatl@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250715180050.3920019-1-quic_pkumpatl@quicinc.com> References: <20250715180050.3920019-1-quic_pkumpatl@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: uZo4WD8XIdZzOra8FpZb4tfwMS74zqNp X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzE1MDE2NiBTYWx0ZWRfXzQeFdEYPJAHH VBaZpnOJQvCJnTbTPWNTOss2ieVs6sBluXX3tHiDGNLuYR0OcediUigaZ0h8//SPAtzpX6P4XU5 jDo6vKKmu+MBPEnI0zY48rOpQlBOBrfY4rFn2o1BtmgNvqr+Jv6VC4wFNdgwxgztDpDP8McTcS4 jA75eK+y4AHt7+UErBFvISSAeIeOKkvURmwbqYkh/aJGGJulX2DWbu48B+ZLaG45A/gZNPWm9J4 PzBI5auuWZATf9P+096yh3BvHwWPwayAa698F3zgxU6/o9TeKfd2FAQeLybpqMoZHeZiLITDc5+ Q1hO8IEIAzIpMRKtWX1yha1nIV3ePbVzIfMTPSOpVywY67Xq7OOiecozsWWIiUkAgm+Lw3uOwfx MknE1fo4kRvnHF3lmmvVFlPN2Vf3YPpeLGQ9hN7NbLDwZ8ihoku6MXm8jLshgIpLC1bEnrU/ X-Authority-Analysis: v=2.4 cv=WqUrMcfv c=1 sm=1 tr=0 ts=687698ce cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=Wb1JkmetP80A:10 a=EUspDBNiAAAA:8 a=COk6AnOGAAAA:8 a=xPBdsBoliJTP-dOYWgQA:9 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-ORIG-GUID: uZo4WD8XIdZzOra8FpZb4tfwMS74zqNp X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-07-15_04,2025-07-15_02,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 mlxscore=0 mlxlogscore=947 bulkscore=0 adultscore=0 priorityscore=1501 impostorscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 spamscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507150166 Content-Type: text/plain; charset="utf-8" From: Mohammad Rafi Shaik Add the sound card node with tested playback over WSA8835 speakers and digital on-board mics. Signed-off-by: Mohammad Rafi Shaik Co-developed-by: Prasad Kumpatla Signed-off-by: Prasad Kumpatla Reviewed-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 45 ++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot= /dts/qcom/qcs6490-rb3gen2.dts index 82aa69d715d9..4ec3501eecdc 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts @@ -1048,6 +1048,51 @@ &sdhc_2 { status =3D "okay"; }; =20 +&sound { + compatible =3D "qcom,qcs6490-rb3gen2-sndcard"; + model =3D "qcs6490-rb3gen2-snd-card"; + + audio-routing =3D "SpkrLeft IN", "WSA_SPK1 OUT", + "SpkrRight IN", "WSA_SPK2 OUT", + "VA DMIC0", "vdd-micb", + "VA DMIC1", "vdd-micb", + "VA DMIC2", "vdd-micb", + "VA DMIC3", "vdd-micb"; + + wsa-dai-link { + link-name =3D "WSA Playback"; + + codec { + sound-dai =3D <&left_spkr>, <&right_spkr>, + <&swr2 0>, <&lpass_wsa_macro 0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai WSA_CODEC_DMA_RX_0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + va-dai-link { + link-name =3D "VA Capture"; + + codec { + sound-dai =3D <&lpass_va_macro 0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai VA_CODEC_DMA_TX_0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; +}; + &swr2 { status =3D "okay"; =20 --=20 2.34.1