From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk2-f13.google.com (mail-qk2-f13.google.com [74.125.230.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58AA833E36A for ; Tue, 22 Sep 2026 01:58:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.230.205 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790042302; cv=none; b=KRKHZp2c+Oe/EP+bMpbESlGsyELr0mm4ysnXbTxgk0AoNxBT2qZYtEQ+QUF6UbmUaXFHsSB9VYn2YggbT+LMQ2mBaqhJiKbOj33Zjm65XKEOca9en+I9RKSbs+6Bwdu8iPgFSuLXasNTPnAwYx8+6EOxAkIp7TC1fMzi8P/LZow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790042302; c=relaxed/simple; bh=gDFlDPHKvB5UrJOY/d9xbC+0rfJqIM68fcYxbTOT5zE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tI8rcVBPq0Bua3u0ThjEg5LBW3CNT1nyLHifeakrZv2VBytf23AHa+MlCUoxW1zbDzyA3g7FijJ+/zm4VROfDHBwtuVDI2IJM+eevMhfY/Leg+XJf2AKFZCwA6es3XvTqLUMZqRVLP2uVvwf/HBYVTguosEeKJhked8JN5GkCKY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ITe2D3r2; arc=none smtp.client-ip=74.125.230.205 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ITe2D3r2" Received: by mail-qk2-f13.google.com with SMTP id af79cd13be357-939eb3249c1so302303885a.2 for ; Mon, 21 Sep 2026 18:58:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790042300; x=1790647100; 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=MppgOLxRxtLFdr/NIxv7IEXQMdkqFQGwIdxdkg/37Xw=; b=ITe2D3r2EyXCD0Oim5MrjS7FO3Daea0DZO5/d5vpK4UE8ZOqGyJ3c2XiFe3yZLBTnC XwROO/g6XRsHkMn77FqkdGwpM9ZkRF02lmFXKI4euTdagTLysGLbzcAP+IBsUOqpWcvA 91NVFSvm3cgAKOtSgY/pQQYOIyoXtW7ZYgdWyKps+vvPnaqpR/kajjxd4wABj3rFAqTA MdEzPTZcqNURDHfp9kMudct+a1kAkxDjqTcr1Cd48b0sKJ1xlKFukiyPnBHHKkAohzTb xUXqqB0pArL3AaIN+rfsR7M8ZhJn0kWDlkyxm+yMW8Qomq3yGH6TcYGV6BjkOb0uZ0pS Gf7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790042300; x=1790647100; 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=MppgOLxRxtLFdr/NIxv7IEXQMdkqFQGwIdxdkg/37Xw=; b=eQ5PKAO+zOXmOjIxX8+tglfLQg8DVyD9X3+l1JjAnCnMA0Y26pLUvsF/VnP1vypKdg VA6rM30XvxTRq6fOMXPIH0gk91698ikXumf4IYPaL/F9UGEssdkMpvt/oaNwo+/QGoDf Vcaom38JILjlluhQB2wchljpEkjYDEmFyhsN5FXBPgjwPE/MXibJuYZSSLgwCkTkcFhT wRGdGkVTOpr8QY109i+5dWRvgodZhVoHdO7P9yT9jqV4KLdl4f2auec+XImwfH/xSh8m GK6BQOf4cdYUrbsgtxu39AVHPKWa4lhFaw46OKIqK86LWqjM/Eae80LnDwqD+FvnF9Me LW/Q== X-Forwarded-Encrypted: i=1; AKwUvBy7f0HlOVEzFHdhS17/5YAPU+1gMKHvFW/8mjSgNtXcD3BKqWGdP9x89H2sgQcVwzAF9HkAfaCTCeGK3W78+P7P@vger.kernel.org X-Gm-Message-State: AFuF++k+JBIA33rpBtSFkSvnJrHBIOqvfJY2D+bin0pb+jmXvkJCZl0V YMum+5nWKTskLbNOc6DkNGguODLrf4hc4coN5mNToWvVhYqiQKM3Nff+ X-Gm-Gg: AYBFou03tLPVHBn/Vr9m/tUmgm8vqm/N3SoqNUSBiN2BlNLP476rP5F2dwAuw9udxAe vCguurN/iFjqbcahO8Ce6i1A3vvimg7Mm2xfbnGGZX/Ggyi+7OOEzRVI2V1C/6loxZfzONTfIQr FEF75KAYTBY0V9EEbEFQWdQUAeQPV7hk06eriVaTRriGQQPGlOqGFnjlI9UKmMTIQazczlZTTvF +ycwXS61RMXfvtNoA1f8a3IrK7kNEVb2wehwR7WiWzYPUCN+Vh4Dxu1aK8w0BwDwfIxYM90s+d3 ZIt90ZmS3Mp7RWEPjXuByWRRaU+fDxEMCvFBKmNiPLckkVQAM0AVBCpZByEK6MJfKSFt+5+MBcp pg+Tt0DAxDpZRHIXXg7jOdUfuk5xutUAKo4fPBXGGDxRqWGNx7aXigCvMEeRPp+JtiOP3W8RBMA TAVcE/z97wCfnkETTX45YSGiWdZ/UsHY6N0yKui2bpNQWt7Ern8P2/QD055gzpgMfjfprqf9BhK g== X-Received: by 2002:a05:620a:710c:b0:93b:d79a:c46e with SMTP id af79cd13be357-93c15edc3ebmr346369485a.70.1790042300346; Mon, 21 Sep 2026 18:58:20 -0700 (PDT) Received: from localhost ([142.181.121.230]) by smtp.gmail.com with ESMTPSA id af79cd13be357-93c1d21658csm15794085a.34.2026.09.21.18.58.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2026 18:58:19 -0700 (PDT) From: Richard Acayan To: Jassi Brar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Mathieu Poirier , Konrad Dybcio , Abel Vesa , Manivannan Sadhasivam , Andy Gross , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 08/11] arm64: dts: qcom: sdm670-google: add sound card Date: Mon, 21 Sep 2026 21:57:58 -0400 Message-ID: <20260922015801.32373-9-mailingradian@gmail.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260922015801.32373-1-mailingradian@gmail.com> References: <20260922015801.32373-1-mailingradian@gmail.com> Precedence: bulk X-Mailing-List: linux-remoteproc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Pixel 3a has a sound card for built-in audio (RT5514 and CS35L36 codecs) and for the headphone jack (WCD codec). Add the sound card and q6asm frontends, which can route simultaneously between the RT5514 microphone, CS35L36 stereo speakers, headset audio playback, and headset audio capture. Signed-off-by: Richard Acayan --- .../boot/dts/qcom/sdm670-google-common.dtsi | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi index 70996b94cd33..3abde2cbf746 100644 --- a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include #include "sdm670.dtsi" #include "pm660.dtsi" #include "pm660l.dtsi" @@ -127,6 +128,46 @@ debug_info_mem: debug-info@a1800000 { }; }; + sound { + compatible = "qcom,sdm660-sndcard"; + model = "Google Pixel 3a"; + + pinctrl-names = "default"; + pinctrl-0 = <&cdc_pdm_default>; + + mm1-dai-link { + link-name = "MultiMedia1"; + + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; + }; + }; + + mm2-dai-link { + link-name = "MultiMedia2"; + + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; + }; + }; + + mm3-dai-link { + link-name = "MultiMedia3"; + + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; + }; + }; + + mm4-dai-link { + link-name = "MultiMedia4"; + + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>; + }; + }; + }; + /* * The touchscreen regulator seems to be controlled somehow by a gpio. * Model it as a fixed regulator and keep it on. Without schematics we @@ -632,6 +673,24 @@ &qupv3_id_1 { status = "okay"; }; +&q6asmdai { + dai@0 { + reg = ; + }; + + dai@1 { + reg = ; + }; + + dai@2 { + reg = ; + }; + + dai@3 { + reg = ; + }; +}; + &sdhc_1 { supports-cqe; mmc-hs200-1_8v; -- 2.55.0