From nobody Sat Oct 4 03:18:41 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 F35F92C21CA; Thu, 21 Aug 2025 04:49:27 +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=1755751769; cv=none; b=ZoHTwBNPjVcAdU6OytSYyw6eT1y0+/jK7bO2lU6B8WMfXbWpZ6a2bOIEaDLzFSDL6Vt/k+oW1Vq38OyJyhLXVPDVcSL57q6mfvZiFawcpzPfI/P4TV/kVYbn3+JVSqDfYNQOfwKl5YhdHbC5URDBxmp6j6sBJKCAG4xiYkOSn4w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755751769; c=relaxed/simple; bh=Kj9Pc+BjhOKtikRZCayCgaw6qouGrCT13wvcDuxEWrA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=f9l+EGbhIXQ/veNqTw60rcNR2Y7KY0ImmcP2sBzPvPToWdZZRz7T5xA+SyR+kzqpu4ECVgjzz6FU4vEZxBAMpgC/RYrgeRK6fcOETqi8Qt8N//Uc0R84070JUK5be9Bu3JvT18AZMUk/sCHSwpiUMJulBs+4CmqMlErLglrdN54= 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=FUncY8Lo; 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="FUncY8Lo" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 57KJHsja005725; Thu, 21 Aug 2025 04:49:23 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=7CkimYq3HX8 /gc0rZaR8k5Jzm0pxHXBFCqdMQ4hg+W0=; b=FUncY8Loiz6FoFNkiWeUBi1Y3nz i9XlkWJXkQurl3DZfzWqkeFD6PS8Zt4jyFiG2bZi50rdO6aig0mRGs/tz5aqfR8C GBEK92Ao3vGkNOCtO5R02dhDmDg+aml7eaderCw2h19UjVf2e5sT5WjhpXeG61L1 bUx6PIacstJzP5nJjMJEGRkHzXYbJRnJDy6MRKO5qC8an6pxmFr1llCrgbX/XJtl +hvbG7QB0x0vDTlIVeHAUB37+sGGA0tmTfA+sTCPOY8FIawZB8wNQhMyrQu3HqL3 a2MA7BIkwrZX36dTzwOb6iPnePgnfmM0rh58BrFAb/6EUAN7+Ii3DCfuQig== 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 48n52cm0q2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Aug 2025 04:49:22 +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 57L4nHLg021951; Thu, 21 Aug 2025 04:49:19 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 48jk2m9974-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Aug 2025 04:49:19 +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 57L4nJ2t021988; Thu, 21 Aug 2025 04:49:19 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 57L4nIRN021968 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Aug 2025 04:49:19 +0000 Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 869D35D4; Thu, 21 Aug 2025 10:19:16 +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 v8 7/9] arm64: dts: qcom: qcs6490-rb3gen2: Add sound card Date: Thu, 21 Aug 2025 10:19:12 +0530 Message-Id: <20250821044914.710044-8-quic_pkumpatl@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250821044914.710044-1-quic_pkumpatl@quicinc.com> References: <20250821044914.710044-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: VdfVoL8KYeAiugjuo2ajIOB9ZFC0ZBPh X-Proofpoint-ORIG-GUID: VdfVoL8KYeAiugjuo2ajIOB9ZFC0ZBPh X-Authority-Analysis: v=2.4 cv=Xpij+VF9 c=1 sm=1 tr=0 ts=68a6a553 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=2OwXVqhp2XgA:10 a=EUspDBNiAAAA:8 a=COk6AnOGAAAA:8 a=xPBdsBoliJTP-dOYWgQA:9 a=TjNXssC_j7lpFel5tvFf:22 a=cPQSjfK2_nFv0Q5t_7PE:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwODIwMDAxMyBTYWx0ZWRfX+hVWymqFxFZz vi9EXHjsNoNpUIebkEH4oCcWIRc0pA6WNTb0bHASFRoBXQarX5QvRXTQXX4fiuGQkU7gtApeeVK svkw8TPyxwdm+DErwT0IsE6bxbu+LWnC4Qcfut7jqx+sHsHJu8up7ViTh3/d7zCJfUNWHVr5VTg OVrLFK4RZPcH/3Av8Sgv/NkxmX0HUJS42+Sq053jCdGHjQr8zMvIuhFR6+n8dubj5bc2MT0nhVI Kbu0iUdtGpGMwdZsJSrGpJyygnZMVdoY8Tuw2TTRCZ3iqcAoqPbGNu7c9WJKemHpc/tCKR72N+U TRaHtQbPf/KK5efJbw3FOMJZSn0yciUCdNF/pnOuN25oUESe6XUwVRk+Eu+Jmqy4VLk54GlFqlT rnlAioozsv/BfxwKOhQfSpFEKJaUew== 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-08-20_06,2025-08-20_03,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 impostorscore=0 adultscore=0 spamscore=0 phishscore=0 malwarescore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2508110000 definitions=main-2508200013 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 09e2cb9053a6..18cea8812001 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"; + + 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