From nobody Thu Apr 2 12:36:50 2026 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 0B39B21ADCB for ; Mon, 23 Feb 2026 13:40:10 +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=1771854013; cv=none; b=IRpzVRaM8p00GAIy95Y/MbaKFKcrl7bl65Cmcw7dRWbrNiZBQ2RLmrLYhjmKh9/QF7JpeV2v0uRU96705FbNQBcm52zQkrMtVXZfq944f3nGzP7rKhrQPSb/XqHXEWwBxVxgHFuVeY2eaW4KmAJ0w4YgVRC+LEPQaXTivjyAv60= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771854013; c=relaxed/simple; bh=/GUdn0GZb/bFH2+Fzxbpy+HSrYEjuVkqs/bHseXM73k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KMNNprvl9QvHOspPjUiS5w+SjMLPhddIWhayDBZWDGr7pz1Ql6MQL8hswziNs1Gbt+mbY5nD8R4CzsqUowlEleO9p62Mrpd+mpESWpt3lph2U2Go3JJsxLanzlSkpfCn7N76Zx3I4UOVNTzOTidspEOBq0or9vZUV6wmHO0fZZU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=MXPAkUs3; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=cc6foyil; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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.b="MXPAkUs3"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="cc6foyil" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61NAYBR6561292 for ; Mon, 23 Feb 2026 13:40:10 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=/3QwVrE3Eva bkesLgBI2hGlUahrRvraAziHZ5pznDIo=; b=MXPAkUs3+WNOUJ06M0aAQrWsrYM Pe6a0UAJxdpr8pBbIKli+P+6f9Ed87NQwJZU1/6s8veP6ysZHEBORA6Kd8sJey9n twWG3yD7UQSY8+a0WTsM0tPfxg3A+17+7aaxorUZtlaN6OsFjseJkAHR3S15n9Ty 6GKuzHWcFbx5vMMGnCiE6tSNd8s+nQqYbcvPwkbxMlvJ346gQHPb/UUfOhxMcf/D W7JqFs58F6nI1W9ENY8w2Q5mVHGaxI7ZE/fxfkKWS19UQI+GZVUaHNSUhI/Ez/VP LISt6lxHgss1nbyH+txZY61dYzl5ZNoIu+MMK7X5cYnnFnRHxRChpQ6DUeA== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cgn8r8fn6-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 23 Feb 2026 13:40:10 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-8cb4a241582so4002232885a.0 for ; Mon, 23 Feb 2026 05:40:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1771854009; x=1772458809; 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; bh=/3QwVrE3EvabkesLgBI2hGlUahrRvraAziHZ5pznDIo=; b=cc6foyiluBHo8590gs+XhDYDdB+bpV9IAlSxeNyufq6YFVhhdUCVw0TdFnOkO3+9A1 hXZ7WDycZykJ559XXh35uGGdnvcsGTocipiVCj8cDZFEoiEHHztQ6zlxsYjz2kt9QbhT BHq4EHOa6RMMkMTnVMaPzvRMfYzV/kiNQMSP8a6yPUq6cezmNUsy3PSeNPllYAjIvxUo t9jOlqGAO8XCwjpWZfteyaVhNApz+hnu+LrKDAI4uZn/T2Tuz2Xt86aEjLgSQng+APpQ LPg7K0xgXm1vFb3tATe8hqJoWMqWjKFBbpbdMFDcdd+E5bMnMqv3C05nT3WyvRNYAOTU rbfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771854009; x=1772458809; 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; bh=/3QwVrE3EvabkesLgBI2hGlUahrRvraAziHZ5pznDIo=; b=h247FV+aUpYRfqspvIVZf7TizftqZzZg5f23kALfcmjP4S/N4evI+9fkEQfIbgCD/a RAkjWB85F47K9S0lSa6Yk8kb5nCrpoKZVOShOgjAbmVWZ2HJczyPBj1y6t2gWnMekU24 5BIWAXQhildrkXszLCBQ5VAv3HWwmMGPeQFFj4zEvUI5vZ3CsirS3z3nz6I8SMGkd4kN NIQwiDqtZCVig4pEZtz8X3CVXkNrn123u0LEQ2IFNRFR9twt8MmhJYsQOvE0VubxGk4Q xWplXBlZR3B35NDehHjwAZ4kls7VPb7BMeC4oePilxzee9oGeJnrRWPuTGs9ROM7OcIi e6sg== X-Forwarded-Encrypted: i=1; AJvYcCUnzFL/TMZwTHzkKd7b4jD67gIvCb+TTlJRypu0CAy5hUv7huR90svIutICoY9IpUDfwxTycoKageqCrHQ=@vger.kernel.org X-Gm-Message-State: AOJu0YwyB0No2x3rJ8IrS8JY3bw/eF5WsABtexhhQ4bFUVoRQk4aQs2h djjGHQ4aKy8TUtf5hRNasgEoTbNvXrpGQrbenGlY9+rzHrZd2wVE6Bn7im7InvLAFxTxBgE5fgq F8XyE+wV4I9FYyJoloBvKcFxqAd60KpBYm5EelFVoKjRZzrSr92u3ZjYL2kNIaU8ALpc= X-Gm-Gg: AZuq6aJceQEQXX9cij7GNC2kw3KRVQWDeYHlzFr+KKJxm0SPPll3qwv58Mkmg9qvC8b /WTUAp9RdNPKtnUsrRJnxYN3V32XTvlFJe7pKxJDVB9oJHPk4zoDrtaLrCCa4VbxILmZcBtv3rR fCNtZmidSoSpqk+R0AKeNshmN+GyP00ddb+obsxTwV1H+/OmZ66nzHXOi4QSCqGcYMDFiGEub/u GlNYwP/qnzSAlBSAzWefV6rHADL/ACpCt00kWDGUy5rqXocFP2tqHiBh+YEnN9n6Tv1FUOh2G1E L6hFlwcx4LPBbr7kazySMZvDD1x6uWMKI76NWcI6BScjm5KwY6x5H2vt6R+hM1KFr1diVVn2qii Y+nkORk4NEXUeU0v07PsJJlAou6u7SYWXVn3UJQ+ji555YVZpfGk4YAQ= X-Received: by 2002:a05:620a:2911:b0:8cb:4a64:f482 with SMTP id af79cd13be357-8cb8c9ec06cmr1140384485a.18.1771854008997; Mon, 23 Feb 2026 05:40:08 -0800 (PST) X-Received: by 2002:a05:620a:2911:b0:8cb:4a64:f482 with SMTP id af79cd13be357-8cb8c9ec06cmr1140380385a.18.1771854008520; Mon, 23 Feb 2026 05:40:08 -0800 (PST) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43970d4c626sm21323985f8f.28.2026.02.23.05.40.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Feb 2026 05:40:08 -0800 (PST) From: Srinivas Kandagatla To: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konradybcio@kernel.org, sboyd@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alexey.klimov@linaro.org, r.mereu@arduino.cc, srini@kenrel.org, Srinivas Kandagatla Subject: [PATCH v2 4/5] arm64: dts: arduino-imola: add support for sound Date: Mon, 23 Feb 2026 13:39:49 +0000 Message-ID: <20260223133950.221234-5-srinivas.kandagatla@oss.qualcomm.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260223133950.221234-1-srinivas.kandagatla@oss.qualcomm.com> References: <20260223133950.221234-1-srinivas.kandagatla@oss.qualcomm.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-Proofpoint-ORIG-GUID: afPF9kG-GzaGMg9ZPj5QR86kT0PlJ-Yl X-Authority-Analysis: v=2.4 cv=V7twEOni c=1 sm=1 tr=0 ts=699c58ba cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=ZsC4DHZuhs/kKio7QBcDoQ==:17 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=LNtkodg__a2-xnBQD9gA:9 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjIzMDExNyBTYWx0ZWRfXxTVkMSS/ICmi 6y2S+byEIjqcHzHN8viwqv1yE69VWcMW1tiCOEm8lW0L2/4Vzqn0VKHM+8wtGHnWyLfUePM6ivY qn657fg9yBbDVLsAwYbFOSXw0WmK391c6ay7YOMOHafTY38amQ8wIGrSxaoI8nFQbc3MfGf93zh 6ThxuBSZ0Djf+Yjd04XC43tlUvK0aPB3EUAKDsRTDLXRBoWfDylZvQf6KGM0Gxk7KC8FmaHma8n nhYMKZuq5zqepoJI04qsNYgM/yhc5g3Wcz1JnIFCd26sNXM20UvbRtFe8tUoJ1Aoc/bc0DE4M2m TljHb3LrYmbPDydZc0XSFRARCwQx0ifgdHRvfJz6m5YSdnqJQkpGcuC1AuDeLvF5o9IY5cAgE9U OMML4j+Hfb/Y1VMa5DjeZxi8AYduvvzD232658wSXMmjcFUVj1SydD9t9q0ADMiWLLyYSk0fPur caaaxXgyhFSF8juyiUA== X-Proofpoint-GUID: afPF9kG-GzaGMg9ZPj5QR86kT0PlJ-Yl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-23_02,2026-02-23_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 impostorscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602230117 Content-Type: text/plain; charset="utf-8" Add support for sound on Arduino UNO Q board, which includes - Headset playback and record. - Lineout Signed-off-by: Srinivas Kandagatla --- .../boot/dts/qcom/qrb2210-arduino-imola.dts | 138 ++++++++++++++++++ 1 file changed, 138 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts b/arch/arm6= 4/boot/dts/qcom/qrb2210-arduino-imola.dts index 197ab6eb1666..53745684ead4 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts @@ -109,6 +109,101 @@ multi-led { leds =3D <&ledr>, <&ledg>, <&ledb>; }; =20 + sound { + compatible =3D "qcom,qrb2210-sndcard"; + model =3D "Arduino-Imola-HPH-LOUT"; + audio-routing =3D "IN1_HPHL", "HPHL_OUT", + "IN2_HPHR", "HPHR_OUT", + "AMIC2", "MIC BIAS2"; + + mm1-dai-link { + link-name =3D "MultiMedia1"; + + cpu { + sound-dai =3D <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; + }; + }; + + mm2-dai-link { + link-name =3D "MultiMedia2"; + + cpu { + sound-dai =3D <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; + }; + }; + + mm3-dai-link { + link-name =3D "MultiMedia3"; + + cpu { + sound-dai =3D <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; + }; + }; + + hph-playback-dai-link { + link-name =3D "Headphones Playback"; + + cpu { + sound-dai =3D <&q6afedai RX_CODEC_DMA_RX_0>; + }; + + platform { + sound-dai =3D <&q6routing>; + }; + + codec { + sound-dai =3D <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>; + }; + }; + + lo-playback-dai-link { + link-name =3D "LineOut Playback"; + + cpu { + sound-dai =3D <&q6afedai RX_CODEC_DMA_RX_0>; + }; + + platform { + sound-dai =3D <&q6routing>; + }; + + codec { + sound-dai =3D <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>; + }; + }; + + ear-playback-dai-link { + link-name =3D "EarOut Playback"; + + cpu { + sound-dai =3D <&q6afedai RX_CODEC_DMA_RX_0>; + }; + + platform { + sound-dai =3D <&q6routing>; + }; + + codec { + sound-dai =3D <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>; + }; + }; + + hph-capture-dai-link { + link-name =3D "Headphones Capture"; + cpu { + sound-dai =3D <&q6afedai TX_CODEC_DMA_TX_3>; + }; + + platform { + sound-dai =3D <&q6routing>; + }; + + codec { + sound-dai =3D <&pmic4125_codec 1>, <&swr0 0>, <&txmacro 0>; + }; + }; + }; + /* PM4125 charger out, supplied by VBAT */ vph_pwr: regulator-vph-pwr { compatible =3D "regulator-fixed"; @@ -333,6 +428,49 @@ spidev@0 { }; }; =20 +&spmi_bus { + pmic@0 { + pmic4125_codec: audio-codec@f000{ + compatible =3D "qcom,pm4125-codec"; + reg =3D<0xf000>; + vdd-io-supply =3D <&pm4125_l15>; + vdd-cp-supply =3D <&pm4125_s4>; + vdd-pa-vpos-supply =3D <&pm4125_s4>; + + vdd-mic-bias-supply =3D <&pm4125_l22>; + qcom,micbias1-microvolt =3D <1800000>; + qcom,micbias2-microvolt =3D <1800000>; + qcom,micbias3-microvolt =3D <1800000>; + + qcom,rx-device =3D <&pm4125_rx>; + qcom,tx-device =3D <&pm4125_tx>; + #sound-dai-cells =3D <1>; + }; + }; +}; + +&swr0 { + pinctrl-0 =3D <&lpass_tx_swr_active>; + pinctrl-names =3D "default"; + + pm4125_tx: codec@0,3 { + compatible =3D "sdw20217010c00"; + reg =3D <0 3>; + qcom,tx-port-mapping =3D <1 1 2 3>; + }; +}; + +&swr1 { + pinctrl-0 =3D <&lpass_rx_swr_active>; + pinctrl-names =3D "default"; + + pm4125_rx: codec@0,4 { + compatible =3D "sdw20217010c00"; + reg =3D <0 4>; + qcom,rx-port-mapping =3D <1 2 3 4 5>; + }; +}; + &tlmm { spidev_cs: spidev-cs-state { pins =3D "gpio17"; --=20 2.47.3