From nobody Thu Sep 24 13:41:53 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 0B71B3E49FC; Wed, 23 Sep 2026 08:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153216; cv=none; b=cAVowZ6exxo4DhwBxPpbndEgfs69YvxCpkbfIXXuyteyTN8dKrgQR8zavu6gKIqDvMS/Ou8PM0Ck5djCoh8QaNk4gcb6BQmLVCFJFTJo7J91Yn/a6e6UYYSRZdhcB9Fq0MvuLs+U7xt11P18mIXM7j0QzUHAE6xglyNc0SD+bUI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153216; c=relaxed/simple; bh=ugPxsXxlqSoUb2UPk1WTXfS5WkJkq0CTNogdiu/FaWM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=L1BpBlq4DGaEM6acfA/kJI7nK5PQnjfhE/GUXXgCW5HIIsbE+ipFZ1ISdiKmj0lkq4Ra0FEpXDR3MvAzYZt3wV9el5g6x9twQ9IJMwEimlK1b4mKUjPUE/gFZ2v5qJbC1A1MFWHq30KRhgZXg+y7yUYgUxfy1jQL0RYthT1VjjA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=IdMcaZeb; arc=none smtp.client-ip=205.220.180.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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="IdMcaZeb" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8JgSL3332921; Wed, 23 Sep 2026 08:46:40 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=9iQ5hBQeHES 1C37RgKGMzvkoH4ztQ+3iSPYrqKFL5HQ=; b=IdMcaZebUJMqEd9Wday+80LhAqX VXNWp8vB0OmFGYajIqoR80FUoL/yyERt1tuwuphqjJPduy75pU3kR+uwviGQ8+SN 4rYbS5rB1KKAnPyDdM3Jr4d7roNq+x6as5wXvfQj1WkEsuQW/RvEko7I90zYiTMh uI+sDitjR1U6Impqcw4ZeuFsAkPIIfLFpDkDaWDzbL44Wvq/kbAD4gaBSCMxXyeB e/EvuzbbB5f74gFJVTUNrTKFxlyCN0JIoA791fYCZE0DXZzWI9IKwpaRHqGt1ZfZ ORZj1JSjO3OgALGMZVy174hQblu82xZuR4HDZ1xoKxUmCAxx9KB2Ka/qtqg== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gux7xueeb-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:39 +0000 (GMT) Received: from pps.filterd (apblrppmta02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8kajg1728445; Wed, 23 Sep 2026 08:46:36 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 68N8kZUv1728418 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:36 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 22D2F5DA; Wed, 23 Sep 2026 14:16:35 +0530 (+0530) From: Prasad Kumpatla To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Jaroslav Kysela , Takashi Iwai Cc: Abel Vesa , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prasad Kumpatla Subject: [PATCH v1 1/8] ASoC: codecs: wsa885x: Reset registers on teardown for B2B playback Date: Wed, 23 Sep 2026 14:16:20 +0530 Message-Id: <20260923084627.748920-2-prasad.kumpatla@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260923084627.748920-1-prasad.kumpatla@oss.qualcomm.com> References: <20260923084627.748920-1-prasad.kumpatla@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-Reinject: loops=2 maxloops=12 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-GUID: leXs2CCZNKqaxvjjIl6Mol_4SdVghGSH X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfXzj1z+Do3EVKa a9L3w1Ddmj113mcF/3hsZC2D/GfXvEaRWVdhGAolwV2ikIez/BqIstyyOQYvtUoHJrgKsoK62mk WzIKvFKm2iNIhkcTUcj53qlxG8N6bLt67IWH0mi+9OsNtapeGP+bAiNa02nx2DA2e5hf3Iadj0f v4dKENuHrTCSoJQE/SEQU8Ob+0/M5v1PeieInByaVnWDDYo/Ipu2p5ACOtsQWTON9S3ENXy69Wj Wegk80Qr9g9BxNNLI/j5RN14evVG1wUJCKwTrrNEmTSyAvWdt9hLHQtaUWodYedQcCgKEWynwP7 M2zkTTdjqA47Q9UiJGvdUw9dWRWakyFf1A79lwo7EU+nmDVqYZX9HyTsI0AcPNqF8isy4Wi2ijW KzjGdqRWuL4q8l89dmJ8UEBavkS+vxk5pOsjI86ifbwQi4DQZNhcx1Qz49alnpZ9jDOblScmWlD 1GhuV59myOPz4auo8Qg== X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfXz1arrVfcCGuz vD589U28+7u8cKSg1EmnwU6Vf68PQvCIKkMq7kUjle7d/kAglUfukAGiHLUK4Ox+++7SarWxuvU wjWi4YH0e39BLA85IMWedOG1foWkrqI= X-Authority-Analysis: v=2.4 cv=QsDLTlyd c=1 sm=1 tr=0 ts=6ab391ef cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=oS-zlhplfZi1ja0if7gA:9 X-Proofpoint-ORIG-GUID: leXs2CCZNKqaxvjjIl6Mol_4SdVghGSH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_04,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1011 lowpriorityscore=0 phishscore=0 bulkscore=0 suspectscore=0 impostorscore=0 adultscore=0 malwarescore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230034 Content-Type: text/plain; charset="utf-8" During back-to-back speaker playback the PA sometimes fails to enable because a few I2S/TDM and clock source registers retain their previous state and are not reprogrammed on the next stream. Reset the relevant I2S/TDM, clock source and bandgap override registers in hw_free() so the codec is torn down cleanly and the speaker amplifier comes up reliably on back-to-back use cases. Move the bandgap override reset out of set_sysclk() into the teardown path where it belongs. Signed-off-by: Prasad Kumpatla --- sound/soc/codecs/wsa885x.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/wsa885x.c b/sound/soc/codecs/wsa885x.c index 1faa8541a872..5ffbf9e89fd9 100644 --- a/sound/soc/codecs/wsa885x.c +++ b/sound/soc/codecs/wsa885x.c @@ -896,7 +896,6 @@ static int wsa885x_codec_set_sysclk(struct snd_soc_dai = *dai, int clk_id, =20 regmap_write(wsa885x->regmap, WSA885X_DIG_CTRL0_SYS_CLK_SEL, 0x00); regmap_write(wsa885x->regmap, WSA885X_DIG_CTRL0_POWER_FSM_CTL1, 0x01); - regmap_write(wsa885x->regmap, WSA885X_ANA_TOP_BG_TVP_OVRD_CTL, 0x00); =20 return 0; } @@ -1006,6 +1005,16 @@ static int wsa885x_codec_hw_free(struct snd_pcm_subs= tream *substream, struct snd_soc_dai *dai) { static const struct reg_sequence regs[] =3D { + { WSA885X_DIG_CTRL1_I2S_RESET_CTL, 0x00 }, + { WSA885X_DIG_CTRL1_I2S_CFG0_TDM_TX, 0x00 }, + { WSA885X_DIG_CTRL1_I2S_CFG1_TDM_TX, 0x00 }, + { WSA885X_DIG_CTRL1_I2S_TDM_CTL1, 0x05 }, + { WSA885X_DIG_CTRL1_I2S_TDM_CTL0, 0x00 }, + { WSA885X_DIG_CTRL1_I2S_TDM_CH_TX, 0x00 }, + { WSA885X_DIG_CTRL1_I2S_CTL0, 0x06 }, + { WSA885X_DIG_CTRL1_I2S_TDM_CH_RX, 0x08 }, + { WSA885X_DIG_CTRL0_CLK_SOURCE_ENABLE, 0x00 }, + { WSA885X_ANA_TOP_BG_TVP_OVRD_CTL, 0x00 }, { WSA885X_DIG_CTRL0_PA_FSM_CTL, 0x00 }, }; struct wsa885x_priv *wsa885x; --=20 2.34.1 From nobody Thu Sep 24 13:41:53 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 BC81F3DA5BA; Wed, 23 Sep 2026 08:46:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153218; cv=none; b=DNZk/UAo7DZN0JqlMSKilm+k52XI/1+XGq5urVAuM1O3pRqJFM4NX/2i5FgmGd8HRjT46oQoCNkgRFt91SrNvlcEbCkbJxBAoJujOGBgfpSgCY7rh0ANicl6mhNHzKcQe10znhty1kkNs37SVZ730YjQZjZ2+wCYHPjQMQsKtSw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153218; c=relaxed/simple; bh=3bF8EHWG5wk/X3jO8tp/zn+tBfsW5bRrxbaaVuCUb4c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=b8OBTMTPetxN/wAEVagNjO8iIydRwOBVEW3jCu6axiuV8FY8hmVMZt9UFiQV9zHAh1OQmS1cO4gx97z89wipzPN2fMbCRo+KmXwRvOxqqrAv734CDojCEfb5tkYmlS/vbfLGT19XmuaMtEMAHHsTfu5ji3kTeGJWJPpA6ezVXn4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=RrMp9Vxa; arc=none smtp.client-ip=205.220.180.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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="RrMp9Vxa" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8JebU3178081; Wed, 23 Sep 2026 08:46:40 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=ur2WFBlizYA 82dDgzRCqOFkAABAwqWhfZp5S3voZG8g=; b=RrMp9Vxa/6kbWGlZc9DEpozL7Vc /STGI/AxgI8Axn2T9WcytBlB2/JaLBUHj4Ikto2SgOY3FfP3Z7eOzmAqKk+VkHdk fDiO+YXl6X7EVpFFuMkWVeCUM9GK9gtgKqt4L5J4wog5j7JrDA735ZQ42UtdFr3A yn58qk6MlGH41vq6HyDRykmNjIA+bZ6JRkRAhhus02ycdf/4BsG1MPA29Mn28W3i v6sxVj0tJ39uv0rdu6nIHTAWBL7aYC43VAEPeuJlAcs8MNTXVikJPVWA5rNhsPqD BoC/I4tfa37EbV9jkKzX2bPbq+laCzqk5yPWKA6PBmdiiTJRYr7uHZ1/7IA== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gux863euf-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:39 +0000 (GMT) Received: from pps.filterd (apblrppmta02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8iYgj1726206; Wed, 23 Sep 2026 08:46:36 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 68N8kZNZ1728417 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:36 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 26DCF642; Wed, 23 Sep 2026 14:16:35 +0530 (+0530) From: Prasad Kumpatla To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Jaroslav Kysela , Takashi Iwai Cc: Abel Vesa , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prasad Kumpatla Subject: [PATCH v1 2/8] ASoC: qcom: sc8280xp: add Maili sound card configuration Date: Wed, 23 Sep 2026 14:16:21 +0530 Message-Id: <20260923084627.748920-3-prasad.kumpatla@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260923084627.748920-1-prasad.kumpatla@oss.qualcomm.com> References: <20260923084627.748920-1-prasad.kumpatla@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-Reinject: loops=2 maxloops=12 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-GUID: nmI1u-mIPndYbQcYfioSdpPGK9KFr_qv X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfXxpWMWM32DpMW NRrRoqltB1FgPU1JSHIxXqDbfMvN4tZJ5fadtN1RXhb5hSJ6FsYeztrzyCN7wFbR+fsJzInR+Fj dajgRTEYG7Ul2FRmnheLol7Pj+gkLqI= X-Proofpoint-ORIG-GUID: nmI1u-mIPndYbQcYfioSdpPGK9KFr_qv X-Authority-Analysis: v=2.4 cv=eIOGH3p1 c=1 sm=1 tr=0 ts=6ab391f0 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=EUspDBNiAAAA:8 a=2q0SpPMmqTH-E8r16rgA:9 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfX+h3I3tIMjDgQ iv3Lx1fUrP0vVlc1opilGnupsw/Sa6v7ioOxxdLGDZJ5p6WUyOR8zw9Mnk3oK0snXZUPhU3ajNR z6tRAuPx/5PbAatBezNJ7kiF3NcVW0gyWK63mHQxjtpzMytAq2XDQA5b0BMXIjU9FOQI64aOWic c0OTMVJidAORChNZn5OCBw+wntct6dpfe/bzpFljSdQr3BX26pRM80WilnXWvoTJkv0aOaytWbq isuySswOYpS6Xoy3u4gnaxFCuWSOJR2IEXmIsg/ltyfjSjxPF5wHoK6eid0tQ/xsXLbJHfAH3XB tgSDtl4obFpa3Wkmo/3n3l56Frzeu5yQioADKs72D01zyxhQSGZwWoULsKFX9GD0SepjWoqi5WA GQVTN0DOZ2vf6Z7+TBFeHGpXnIeYOumhbtvdKHMa4UUiVrB3KZlyHGaLISAlifR094VfCkbhWyt OY+adBGcOYHrZ42qYWw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_04,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230034 Content-Type: text/plain; charset="utf-8" Maili ships its own firmware, so its topology file has to live in a separate maili/ firmware directory. The topology load path is derived from the sound card driver_name, so reusing the Hawi data would look up the topology under hawi/ instead. Add a dedicated maili_priv_data with driver_name "maili" for the qcom,maili-sndcard compatible so the topology is loaded from the maili/ directory. It keeps the same DAPM widgets and enables codec sysclk, MI2S BCLK and WCD jack detection for the Maili audio pipeline. Signed-off-by: Prasad Kumpatla --- sound/soc/qcom/sc8280xp.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sound/soc/qcom/sc8280xp.c b/sound/soc/qcom/sc8280xp.c index 0876b9be136d..fed4d36e5437 100644 --- a/sound/soc/qcom/sc8280xp.c +++ b/sound/soc/qcom/sc8280xp.c @@ -463,6 +463,15 @@ static const struct qcom_snd_soc_common kaanapali_priv= _data =3D { .wcd_jack =3D true, }; =20 +static const struct qcom_snd_soc_common maili_priv_data =3D { + .driver_name =3D "maili", + .dapm_widgets =3D sc8280xp_dapm_widgets, + .num_dapm_widgets =3D ARRAY_SIZE(sc8280xp_dapm_widgets), + .codec_sysclk_set =3D true, + .mi2s_bclk_enable =3D true, + .wcd_jack =3D true, +}; + static const struct qcom_snd_soc_common qcs9100_priv_data =3D { .driver_name =3D "sa8775p", .dapm_widgets =3D sc8280xp_dapm_widgets, @@ -565,7 +574,7 @@ static const struct of_device_id snd_sc8280xp_dt_match[= ] =3D { { .compatible =3D "qcom,eliza-sndcard", .data =3D &eliza_priv_data }, { .compatible =3D "qcom,hawi-sndcard", .data =3D &hawi_priv_data }, { .compatible =3D "qcom,kaanapali-sndcard", .data =3D &kaanapali_priv_dat= a }, - { .compatible =3D "qcom,maili-sndcard", .data =3D &hawi_priv_data }, + { .compatible =3D "qcom,maili-sndcard", .data =3D &maili_priv_data }, { .compatible =3D "qcom,qcm6490-idp-sndcard", .data =3D &qcm6490_priv_dat= a }, { .compatible =3D "qcom,qcs615-sndcard", .data =3D &qcs615_priv_data }, { .compatible =3D "qcom,qcs6490-rb3gen2-sndcard", .data =3D &qcs6490_priv= _data }, --=20 2.34.1 From nobody Thu Sep 24 13:41:53 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 7D2CE3DD854; Wed, 23 Sep 2026 08:46:49 +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=1790153211; cv=none; b=uPrXSai7I0pR7nReO2oIBOA3B8Ky6IOJgwBpRnJZaenHlKucyyyKa1NvkgUa5Kk3yflmk7PPgXfvbWDGDbMfwoSe0X2+WLsDfQQXfNhiA7MosM3YW3AmZVJUC8YHtpxWbNjHAQecygeYFyo0dq5Qibd6jCcNDoRESmpoct2XRIo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153211; c=relaxed/simple; bh=NoAyKVM7bxxTsDCF1ZnzN4S6Dv61vfu2kj/XW5dNLL0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=b5DmiIxOY4d1cpwVlgC/TqE5iVux+Rda1bYjpAq/m1Z3VyDCTPoZs4ttbwWv2cpmff9fngPB5zNN8fc5hJOTElNmTg1ucQjGzBmCYVd6JCyYbT5HZg3cKJJF7jBdQh7mP9wYv/FN/EKBbhtUHyTiGehShvovQW/dx1pOGqNFi1Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=EfB+NicR; 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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="EfB+NicR" 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 68N8JpqT1387767; Wed, 23 Sep 2026 08:46:40 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=rbL3/ADmksM 6zthu2N5QOuRTVS+v27iPMKRCYNgc3L4=; b=EfB+NicRT94y7Vmstd0SsySK0Jf NTlBwc8M8iDTExxqobZHg9cNB2p/9T9jcNn0rahHeiihXuDNDhJq2OKdHl9zDnyB WH1IoLTEiAynw1ze80kWce1LUZua31vPZ0xiLSknXibd0+McYT5PW8kVQI6oZzk7 RCw7bP2oxkNpH6L5+5c7DSz4hxARw/oHj1g02fezYpRoasR7OBIjimPOqLs7lbE+ gAijh8IIvvQhZeXFYrJ1nIwWgb4GZjdjq8L2TYaV6pRzNLC6bf3YRHMcveiQeK96 FyL437QTYONE53g8/70GH1n9Wu3XdvD5PdRWRZfIC1EzPBszqyA7JAIfUAQ== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4guyma2xtp-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:39 +0000 (GMT) Received: from pps.filterd (apblrppmta02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8iYgk1726206; Wed, 23 Sep 2026 08:46:36 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 68N8kZU01728414 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:36 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 2B4DB643; Wed, 23 Sep 2026 14:16:35 +0530 (+0530) From: Prasad Kumpatla To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Jaroslav Kysela , Takashi Iwai Cc: Abel Vesa , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prasad Kumpatla Subject: [PATCH v1 3/8] ASoC: dt-bindings: qcom: Add Maili LPASS macro codecs Date: Wed, 23 Sep 2026 14:16:22 +0530 Message-Id: <20260923084627.748920-4-prasad.kumpatla@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260923084627.748920-1-prasad.kumpatla@oss.qualcomm.com> References: <20260923084627.748920-1-prasad.kumpatla@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-Reinject: loops=2 maxloops=12 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-ORIG-GUID: DVMMQEU59qxViJ5xiyCSCWA_HLEr8MQP X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfX4I19pGNKUhyk 9iyBZ7MPIgagCyNnCidWBrVBBC0gdnWMoNEO+r4kMZWDRfebXVWTHdR6XOK32Q0V407K4KoAPfq C/R0ztzecxLtlnnIRM2GpMcTbMJWuQ4= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfX3SzTBLkPXKhr 5sf2QU9/0NLmyH/yLDWVDmLZ7klLhRr2/4WrYKAkv5BvoOSJXpj11xLrv+ydDZ6/1sApThZ2HMz OGbXbuFtcbfnp3z07trjgHZ0NGra952Kou5wPwjkUnaybAjDGGd0p4u6GhmLJpX2JVnHUrrYwN9 Pb+0AIgYkPjRP/fjxaVvXzz9ufqFoq7J2zWlHKfGUz0GK+uQXawu85y0Ephp7vAEQU4EFe5rUO4 qRiP00Ww63HmErP/Vz+A/423fCfBGm+VDweSjIjIa3ewcd17lki1DMEi+75RR8t/hffcnjI8uiZ KVA6HBV2HeYS5tyIH1GOdQDEo1Ou0anKgxEX4hLoMW/OjwHvAHvIeQf/pjUfBbSuDs0g0e6nFOP Kx5MLeVEOqIu3VtlbTwbzrfc9HHlkqQWQGsyT+e3zhYW3uKeRBjf4L5aPkoLjDFZvLPuvnxbtsS tTkqpbwxqv0/Rq3rOEw== X-Authority-Analysis: v=2.4 cv=N828hG9B c=1 sm=1 tr=0 ts=6ab391ef cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=WGZyT7xzyh4_t1xe9HgA:9 X-Proofpoint-GUID: DVMMQEU59qxViJ5xiyCSCWA_HLEr8MQP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_04,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 malwarescore=0 adultscore=0 spamscore=0 impostorscore=0 bulkscore=0 phishscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230034 Content-Type: text/plain; charset="utf-8" Add compatibles for the RX, TX and VA macro codecs found in the Low Power Audio SubSystem (LPASS) of the Qualcomm Maili SoC. The Maili RX, TX and VA macros are identical to their Hawi counterparts, so document them with the corresponding Hawi compatible as fallback. Signed-off-by: Prasad Kumpatla --- .../devicetree/bindings/sound/qcom,lpass-rx-macro.yaml | 3 +++ .../devicetree/bindings/sound/qcom,lpass-tx-macro.yaml | 3 +++ .../devicetree/bindings/sound/qcom,lpass-va-macro.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.ya= ml b/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml index 6aa8ccd60c01..de65a3159380 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml @@ -29,6 +29,9 @@ properties: - qcom,sm8750-lpass-rx-macro - qcom,x1e80100-lpass-rx-macro - const: qcom,sm8550-lpass-rx-macro + - items: + - const: qcom,maili-lpass-rx-macro + - const: qcom,hawi-lpass-rx-macro =20 reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.ya= ml b/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml index 2df72450d36f..0838ed63cb22 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml @@ -28,6 +28,9 @@ properties: - qcom,sm8750-lpass-tx-macro - qcom,x1e80100-lpass-tx-macro - const: qcom,sm8550-lpass-tx-macro + - items: + - const: qcom,maili-lpass-tx-macro + - const: qcom,hawi-lpass-tx-macro =20 reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.ya= ml b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml index 7d56f9c36056..481b76504c6b 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml @@ -30,6 +30,9 @@ properties: - qcom,sm8750-lpass-va-macro - qcom,x1e80100-lpass-va-macro - const: qcom,sm8550-lpass-va-macro + - items: + - const: qcom,maili-lpass-va-macro + - const: qcom,hawi-lpass-va-macro =20 reg: maxItems: 1 --=20 2.34.1 From nobody Thu Sep 24 13:41:53 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 0AD473EC82B; Wed, 23 Sep 2026 08:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153217; cv=none; b=saCVRHbGXVJwEnct0fxTIks8PSlEjwASlJ3vcgjl3MBcYrKKE4f9844o0C1YArY1i5qYmLo2PDfUxbjLng1Mfph5QF8p4mSZikSy4W3JAHf61U0fQpMpFQ8qAiYQx2B6QMZ9BCFf0So6qm8GWbAACfP8VZVRULb+GS9HvNMsNVA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153217; c=relaxed/simple; bh=kJvZrNC5DpufiNGbtJWmfwMqkhZYONV2WG9IUhPZReE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SzY64LQ/FGY33V98DoWPzfmUnpmpUxTld+FEj3RQzfIhRNkKsaGQSNMYcae+8TJFnpM7FqHc/ayFfxU8zLi0n9dJR8TzydynSIOBPQbtvrP3cDOmV+ekv/rveiF9YoypsdEV4C8ycQ5v5oWA39A7lG7Rt9PIPPIdwm5K2pZWJbw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=lrsdUB6W; arc=none smtp.client-ip=205.220.180.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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="lrsdUB6W" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8Jvhu2589892; Wed, 23 Sep 2026 08:46:40 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=UkspQIiESK+ OmyI2Y0EvkrUnb58XjaD6/3A9kVIlRTA=; b=lrsdUB6Wa87VPQytiRJibDjWlWe 2dTPHpzAQqMep3MWOd84Xo6SfOKKIMcJffmQFQBIMNvtmR6ElAm+LOai/4ydqWo/ YtGiNDA3YeIGZ3GwchUSHBJjilcOHhd7MbzMg6CmMSKgG+5mBt5HFaFnizD30nRv tNjkcGTxZXFfw1+hzOcEHotmtkkqxTp2Py4APP8rpRfDK8+QmnD2TLpGv+poGiiS wwOa9MxRqtcJpahN4NdhlK416I7btoiXr/Sw52WHPUjoyujcD90yUs+klhy66Aqp U+s1aa7jhb8Co8iNSKu1omZukRc+e31pfvtQEkGulGybs2SK5ixgptrWzGw== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gv3319xa9-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:39 +0000 (GMT) Received: from pps.filterd (apblrppmta02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8kahC1728444; Wed, 23 Sep 2026 08:46:36 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 68N8kZqT1728416 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:36 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 30450644; Wed, 23 Sep 2026 14:16:35 +0530 (+0530) From: Prasad Kumpatla To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Jaroslav Kysela , Takashi Iwai Cc: Abel Vesa , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prasad Kumpatla Subject: [PATCH v1 4/8] arm64: dts: qcom: hawi: add LPASS audio subsystem nodes Date: Wed, 23 Sep 2026 14:16:23 +0530 Message-Id: <20260923084627.748920-5-prasad.kumpatla@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260923084627.748920-1-prasad.kumpatla@oss.qualcomm.com> References: <20260923084627.748920-1-prasad.kumpatla@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-Reinject: loops=2 maxloops=12 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-GUID: pLtNYDiQXsr6Nnm5YMegNEaqwU1p3Dlk X-Authority-Analysis: v=2.4 cv=HdaB3SE8 c=1 sm=1 tr=0 ts=6ab391f0 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=dSOzv7KB5QVHTYzXY8gA:9 X-Proofpoint-ORIG-GUID: pLtNYDiQXsr6Nnm5YMegNEaqwU1p3Dlk X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfX2vL2x85boKDs VWiQJU7KV+poC/VdSp4KP7kZZyroB0xUI1F/rzEMtXn9HkSObQCnBvKCnDkX/Z4rzZQ9y5+pSaz y9lEva+fgQ+36vYDN7fD45GjzT5QZnCI1ABwrrmx+beVv/PkLSY4jKqnJP1G2o4t6f+m98gYfdg khc5mgdMIZrADfV0KnvP85iVFfEATSLx0PVRKmh+0lDnIW0Rngq7tCBGDnEh2gARYbhzeW+MkcV XPyaPZ33xsOf6sjJlrhPYPmly9r/OSHkiH8Ttkb8rEIZ38RYK9wW7d7pCFyu50zfIjOKJDMNHEy zVB70lLPVgAaVdRuvK0q4Nr+FaonZQSBe37FKP9m0BZrS+bCr//Ufmtr8Vb+D2IJpSgzvLd8BCG y5oaqNTR5Gldu38GTVQ0LaHWlLBsipRelPlGmqgcOQUE1xn9NlTFT3NXwiLAjgceTwlVureOu9v iUDR1QikLCbe9xRWHOA== X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfX/02qCOweMsRt JnvUAoqWxeF2GFSjzJFU5mwDuO9tkbZCz4y1UZOXg0bv/gP1+TjOQIS2zvXljwfpWn+/+Mt2WOz F8HQl+ws8/nTK7Ok7uqZQ7nY47Kuft4= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_04,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 adultscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230034 Content-Type: text/plain; charset="utf-8" Add the Low Power Audio SubSystem (LPASS) device tree infrastructure for Hawi to describe the ADSP-based audio pipeline. Add the GPR (Generic Packet Router) node with q6apm and q6prm audio services, LPASS RX, TX and VA macro codecs, SoundWire controllers, VA CSR clock provider, and LPI TLMM pinctrl node required by the audio subsystem. Signed-off-by: Prasad Kumpatla --- arch/arm64/boot/dts/qcom/hawi.dtsi | 291 +++++++++++++++++++++++++++++ 1 file changed, 291 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/hawi.dtsi b/arch/arm64/boot/dts/qcom/= hawi.dtsi index c7ae8133b9cd..a0807cd66a00 100644 --- a/arch/arm64/boot/dts/qcom/hawi.dtsi +++ b/arch/arm64/boot/dts/qcom/hawi.dtsi @@ -22,6 +22,8 @@ #include =20 #include "hawi-ipcc.h" +#include +#include =20 / { interrupt-parent =3D <&intc>; @@ -3841,6 +3843,295 @@ compute-cb@8 { dma-coherent; }; }; + + gpr { + compatible =3D "qcom,gpr"; + qcom,glink-channels =3D "adsp_apps"; + qcom,domain =3D ; + qcom,intents =3D <512 20>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + q6apm: service@1 { + compatible =3D "qcom,q6apm"; + reg =3D ; + #sound-dai-cells =3D <0>; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + + q6apmbedai: bedais { + compatible =3D "qcom,q6apm-lpass-dais"; + #address-cells =3D <1>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + }; + + q6apmdai: dais { + compatible =3D "qcom,q6apm-dais"; + iommus =3D <&apps_smmu 0x0c01 0x80>, + <&apps_smmu 0x0c41 0x20>; + }; + }; + + q6prm: service@2 { + compatible =3D "qcom,q6prm"; + reg =3D ; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + + q6prmcc: clock-controller { + compatible =3D "qcom,q6prm-lpass-clocks"; + #clock-cells =3D <2>; + }; + }; + }; + }; + }; + + lpass_rxmacro: codec@72c0000 { + compatible =3D "qcom,hawi-lpass-rx-macro"; + reg =3D <0x0 0x072c0000 0x0 0x1000>; + clocks =3D <&q6prmcc LPASS_CLK_ID_RX_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_C= OUPLE_NO>, + <&q6prmcc LPASS_HW_LPR_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_vamacro>; + clock-names =3D "mclk", "lpr", "dcodec", "fsgen"; + + #clock-cells =3D <0>; + clock-output-names =3D "mclk"; + #sound-dai-cells =3D <1>; + }; + + swr1: soundwire@72d0000 { + compatible =3D "qcom,soundwire-v3.1.0"; + reg =3D <0x0 0x072d0000 0x0 0x10000>; + interrupts =3D ; + clocks =3D <&lpass_rxmacro>; + clock-names =3D "iface"; + label =3D "RX"; + + pinctrl-0 =3D <&rx_swr_active>; + pinctrl-names =3D "default"; + + qcom,din-ports =3D <1>; + qcom,dout-ports =3D <11>; + qcom,ports-sinterval =3D /bits/ 16 <0x03 0x3f 0x1f 0x07 0x00 0x18f 0xff= 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-offset1 =3D /bits/ 8 <0x00 0x00 0x0b 0x01 0x00 0x00 0xff 0xf= f 0xff 0xff 0xff 0xff>; + qcom,ports-offset2 =3D /bits/ 8 <0x00 0x00 0x0b 0x00 0x00 0x00 0xff 0xf= f 0xff 0xff 0xff 0xff>; + qcom,ports-hstart =3D /bits/ 8 <0xff 0x03 0xff 0xff 0xff 0x08 0xff 0xff= 0xff 0xff 0xff 0xff>; + qcom,ports-hstop =3D /bits/ 8 <0xff 0x06 0xff 0xff 0xff 0x08 0xff 0xff = 0xff 0xff 0xff 0xff>; + qcom,ports-word-length =3D /bits/ 8 <0x01 0x07 0x04 0xff 0xff 0x0f 0xff= 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-block-pack-mode =3D /bits/ 8 <0xff 0x00 0x01 0xff 0xff 0x00 = 0xff 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-block-group-count =3D /bits/ 8 <0xff 0xff 0xff 0xff 0x00 0x0= 0 0xff 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-lane-control =3D /bits/ 8 <0x01 0x00 0x00 0x00 0x00 0x00 0xf= f 0xff 0xff 0xff 0xff 0xff>; + + #address-cells =3D <2>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + + status =3D "disabled"; + }; + + lpass_txmacro: codec@72e0000 { + compatible =3D "qcom,hawi-lpass-tx-macro"; + reg =3D <0x0 0x72e0000 0x0 0x1000>; + clocks =3D <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUP= LE_NO>, + <&q6prmcc LPASS_HW_LPR_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_vamacro>; + clock-names =3D "mclk", "lpr", "dcodec", "fsgen"; + + #clock-cells =3D <0>; + clock-output-names =3D "mclk"; + #sound-dai-cells =3D <1>; + }; + + swr2: soundwire@7e90000 { + compatible =3D "qcom,soundwire-v3.1.0"; + reg =3D <0x0 0x7e90000 0x0 0x10000>; + interrupts =3D , + ; + interrupt-names =3D "core", "wakeup"; + clocks =3D <&lpass_txmacro>; + clock-names =3D "iface"; + label =3D "TX"; + + pinctrl-0 =3D <&tx_swr_active>; + pinctrl-names =3D "default"; + + qcom,din-ports =3D <4>; + qcom,dout-ports =3D <0>; + qcom,ports-sinterval-low =3D /bits/ 8 <0x01 0x01 0x03 0x03>; + qcom,ports-offset1 =3D /bits/ 8 <0x00 0x00 0x00 0x01>; + qcom,ports-offset2 =3D /bits/ 8 <0x00 0x00 0x00 0x00>; + qcom,ports-hstart =3D /bits/ 8 <0xff 0xff 0x00 0xff>; + qcom,ports-hstop =3D /bits/ 8 <0xff 0xff 0x0f 0xff>; + qcom,ports-word-length =3D /bits/ 8 <0xff 0x00 0x00 0xff>; + qcom,ports-block-pack-mode =3D /bits/ 8 <0xff 0xff 0x00 0xff>; + qcom,ports-block-group-count =3D /bits/ 8 <0xff 0xff 0x00 0xff>; + qcom,ports-lane-control =3D /bits/ 8 <0x01 0x00 0x01 0x00>; + + #address-cells =3D <2>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + + status =3D "disabled"; + }; + + lpass_vamacro: codec@7ec0000 { + compatible =3D "qcom,hawi-lpass-va-macro"; + reg =3D <0x0 0x07ec0000 0x0 0x2000>; + clocks =3D <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUP= LE_NO>, + <&q6prmcc LPASS_HW_LPR_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_va_csr>; + clock-names =3D "mclk", "lpr", "dcodec", "heartbeatpulse"; + + #clock-cells =3D <0>; + clock-output-names =3D "fsgen"; + #sound-dai-cells =3D <1>; + }; + + lpass_va_csr: va-csr@7ee0000 { + compatible =3D "qcom,hawi-lpass-va-csr"; + reg =3D <0x0 0x07ee0000 0x0 0xe000>; + clocks =3D <&q6prmcc LPASS_HW_LPR_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names =3D "lpr", "audio"; + #clock-cells =3D <0>; + }; + + lpass_tlmm: pinctrl@7f60000 { + compatible =3D "qcom,hawi-lpass-lpi-pinctrl"; + reg =3D <0x0 0x07f60000 0x0 0x20000>; + + clocks =3D <&q6prmcc LPASS_HW_LPR_VOTE + LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names =3D "lpr", "audio"; + + gpio-controller; + #gpio-cells =3D <2>; + gpio-ranges =3D <&lpass_tlmm 0 0 23>; + + dmic01_default: dmic01-default-state { + clk-pins { + pins =3D "gpio6"; + function =3D "dmic1_clk"; + drive-strength =3D <8>; + output-high; + }; + + data-pins { + pins =3D "gpio7"; + function =3D "dmic1_data"; + drive-strength =3D <8>; + input-enable; + }; + }; + + dmic23_default: dmic23-default-state { + clk-pins { + pins =3D "gpio8"; + function =3D "dmic2_clk"; + drive-strength =3D <8>; + output-high; + }; + + data-pins { + pins =3D "gpio9"; + function =3D "dmic2_data"; + drive-strength =3D <8>; + input-enable; + }; + }; + + lpi_i2s1_active: lpi-i2s1-active-state { + clk-pins { + pins =3D "gpio10"; + function =3D "i2s1_clk"; + drive-strength =3D <8>; + bias-disable; + output-high; + }; + + ws-pins { + pins =3D "gpio11"; + function =3D "i2s1_ws"; + drive-strength =3D <8>; + bias-disable; + output-high; + }; + + data-pins { + pins =3D "gpio15", "gpio16"; + function =3D "i2s1_data"; + drive-strength =3D <8>; + bias-disable; + output-high; + }; + }; + + lpi_i2s1_sleep: lpi-i2s1-sleep-state { + clk-pins { + pins =3D "gpio10"; + function =3D "i2s1_clk"; + drive-strength =3D <2>; + bias-pull-down; + input-enable; + }; + + ws-pins { + pins =3D "gpio11"; + function =3D "i2s1_ws"; + drive-strength =3D <2>; + bias-pull-down; + input-enable; + }; + + data-pins { + pins =3D "gpio15", "gpio16"; + function =3D "i2s1_data"; + drive-strength =3D <2>; + bias-pull-down; + input-enable; + }; + }; + + rx_swr_active: rx-swr-active-state { + clk-pins { + pins =3D "gpio3"; + function =3D "swr_rx_clk"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-disable; + }; + + data-pins { + pins =3D "gpio4", "gpio5"; + function =3D "swr_rx_data"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-bus-hold; + }; + }; + + tx_swr_active: tx-swr-active-state { + clk-pins { + pins =3D "gpio0"; + function =3D "swr_tx_clk"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-disable; + }; + + data-pins { + pins =3D "gpio1", "gpio2", "gpio14"; + function =3D "swr_tx_data"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-bus-hold; + }; }; }; =20 --=20 2.34.1 From nobody Thu Sep 24 13:41:53 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 5FA6E3D5229; Wed, 23 Sep 2026 08:46:50 +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=1790153219; cv=none; b=l0ui0yeS6RpIA2aIIhxW7MKGfP/JUHHKqfgK3iO0qByMEFIENElanflDntNse/x3JCilFZ07qQmyRmMsM3+2CdthSm7GcguQJ/HdbFmlwCHf4qrpxZTxMzjIM1XSffWpx0+AdQGoarN+mdE7qFOEeX8qHjJNzt8gq82T2/qa4kI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153219; c=relaxed/simple; bh=yff7ZbbTSJZPvn7xTGp9nUM3ZzWc42Vupue0cjZfBJY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=YwY9mkT82ie7DpnD2grs3wJpqPMjt3e+JeAlCc8zdhE7BlY3paDPSn03ej4V8tb3aNxHKlddrENzCXwrw0F6re1EMtmH9INR72aRm3XWj0Z/o54O3IEl5Hq4l8t6vowQMmgwiv9Ue3WFaPrt0wtibi3pVi2nnuekRt+mfnV+cPs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=l96uCJn8; 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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="l96uCJn8" 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 68N8Jdix1387507; Wed, 23 Sep 2026 08:46:40 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=mfcPRKZZase KQgM/6ga2OcqT1EBvO3JZ5M5kR9pGcTI=; b=l96uCJn8pjEZcNpGTRumEjLwhsH vI3Kxr1G4CbmRhZDBw597uv+sE7AjJW0OMizbTio1gSQ9f3n+4bVR3yFVANi5MOM DwHEId/iJ8lxc7o/VSa8h6Vp9i8BjR3hF3OMyKeXJi+TIlorVeLbaVU8aresneLo cTBIenRE/qOd3xSntCSHLihDk+/ySy9yu4lfnnb8GQFUmTA3R4udYZa4+bzNmfur aJKdxyaGsy0QkEvEj1Dd62GSGApiq6I4EK4Op33R+Om8YK8Qhf84kRAdAW3mE2ml J+apkVVWFJ7ntR8yGxPVMmnY8Y4H9ttwYeYcrTESWligu/lVqAWT1bfQp5w== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4guyma2xtq-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:39 +0000 (GMT) Received: from pps.filterd (apblrppmta02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8jqGY1727731; Wed, 23 Sep 2026 08:46:37 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 68N8kbpn1728466 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:37 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 350B964C; Wed, 23 Sep 2026 14:16:35 +0530 (+0530) From: Prasad Kumpatla To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Jaroslav Kysela , Takashi Iwai Cc: Abel Vesa , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prasad Kumpatla Subject: [PATCH v1 5/8] arm64: dts: qcom: hawi-mtp: enable audio playback and capture Date: Wed, 23 Sep 2026 14:16:24 +0530 Message-Id: <20260923084627.748920-6-prasad.kumpatla@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260923084627.748920-1-prasad.kumpatla@oss.qualcomm.com> References: <20260923084627.748920-1-prasad.kumpatla@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-Reinject: loops=2 maxloops=12 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-ORIG-GUID: wFl5cvwbTH7GjsGRSOTb8kQIzz3OHsir X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfXyQ1VaCXncHkc mG0rvtSaoBUunpp4hBjYQLO5xpSUJGiV/bY97eayQsTLx2BSXXF1ERX14vUeMQGyBZKYFwXgwJY +QmNcpyKuLn/77j2Z/WZQnVLIuWQrPA= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfX82vVgPemyvwy l+WEvPqGNW/ndvBc1R41ABskNnJiebr1/fSAHNYCz1JNXFz9wDFoHXJCch1Em2pdYced/CN6Aha Dm7dAPc9hFlpdkeJoCQeKBDJi75Qf7phxG/mLzDKoFYbF26ZbQuIX/cp2JptnwiqoRb5v3nOEd1 rJaFIxWSRyZ4rtENz1P/0ytL1c+pPJD1/p39mtTreqb/H4pqbmLiHrYEJW9Mi6DE0t1MzmSAKvh nCRhoqt/e2WMm87eZ8+nBvHs/+BmKdKnxVLmM2AB3s9vkHwpGJmworGZpdZ7xwXn6NQyx6LXx3e TlGQNQnFC+PeZWJzhnEtFUFV48+1Sm+0t/gyOQ5EEMHVEyl1xKVJKesNSktafs3IeT6+7dlv91K dsCGl3fHE2t05MEizrzXpXxB6eUfvPWWDvPa+uA/8qrWYLQHqLlNrexWNRjwpML1Qfk+C238/yH 3f2IeJlEVa8BdAFeVKg== X-Authority-Analysis: v=2.4 cv=N828hG9B c=1 sm=1 tr=0 ts=6ab391f0 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=RDsKtW1i0DRqHMGHZ8wA:9 X-Proofpoint-GUID: wFl5cvwbTH7GjsGRSOTb8kQIzz3OHsir X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_04,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1011 malwarescore=0 adultscore=0 spamscore=0 impostorscore=0 bulkscore=0 phishscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230034 Content-Type: text/plain; charset="utf-8" Wire up the audio use cases on the Hawi MTP board on top of the LPASS nodes added to the SoC dtsi. Add the sound card (qcom,hawi-sndcard) with the TDM playback, WCD playback/capture and VA DMIC capture DAI links and the associated audio routing. Describe the WCD9395 codec, enable the RX and TX SoundWire controllers with their WCD RX/TX satellite ports, and add the WSA8855 speaker amplifier on i2c3. Configure the VA macro DMIC supply and the required TLMM pin states (WCD reset, WSA IRQ, WSA shutdown). Signed-off-by: Prasad Kumpatla --- arch/arm64/boot/dts/qcom/hawi-mtp.dts | 206 ++++++++++++++++++++++++++ 1 file changed, 206 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/hawi-mtp.dts b/arch/arm64/boot/dts/qc= om/hawi-mtp.dts index b7346e20bf02..6da4c242dae4 100644 --- a/arch/arm64/boot/dts/qcom/hawi-mtp.dts +++ b/arch/arm64/boot/dts/qcom/hawi-mtp.dts @@ -5,10 +5,12 @@ =20 /dts-v1/; #include +#include #include #include #include #include +#include =20 #include "hawi.dtsi" =20 @@ -127,6 +129,122 @@ pmic_glink_dp_out: endpoint { }; }; =20 + hawi_sound: sound { + compatible =3D "qcom,hawi-sndcard", "qcom,sm8450-sndcard"; + model =3D "HAWI-MTP"; + + audio-routing =3D "IN1_HPHL", "HPHL_OUT", + "IN2_HPHR", "HPHR_OUT", + "AMIC2", "MIC BIAS2", + "VA DMIC0", "MIC BIAS1", + "VA DMIC1", "MIC BIAS1", + "VA DMIC2", "MIC BIAS3", + "VA DMIC3", "MIC BIAS3", + "TX SWR_INPUT", "ADC2_OUTPUT"; + + pinctrl-names =3D "default", "sleep"; + pinctrl-0 =3D <&lpi_i2s1_active>; + pinctrl-1 =3D <&lpi_i2s1_sleep>; + + va-dmic-dai-link { + link-name =3D "VA DMIC Capture"; + + codec { + sound-dai =3D <&lpass_vamacro 0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai VA_CODEC_DMA_TX_0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + wcd-capture-dai-link { + link-name =3D "WCD Capture"; + + codec { + sound-dai =3D <&wcd939x 1>, <&swr2 0>, <&lpass_txmacro 0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai TX_CODEC_DMA_TX_3>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + wcd-playback-dai-link { + link-name =3D "WCD Playback"; + + codec { + sound-dai =3D <&wcd939x 0>, <&swr1 0>, <&lpass_rxmacro 0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai RX_CODEC_DMA_RX_0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + wsa-playback-dai-link { + link-name =3D "WSA Playback"; + + codec { + sound-dai =3D <&wsa885x>; + dai-tdm-slot-num =3D <2>; + dai-tdm-slot-width =3D <32>; + dai-tdm-slot-rx-mask =3D <1 1>; + }; + + cpu { + sound-dai =3D <&q6apmbedai AIF_TDM_RX_1>; + dai-tdm-slot-num =3D <2>; + dai-tdm-slot-width =3D <32>; + dai-tdm-slot-rx-mask =3D <1 1>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + }; + + wcd939x: audio-codec { + compatible =3D "qcom,wcd9395-codec", "qcom,wcd9390-codec"; + + pinctrl-0 =3D <&wcd_default>; + pinctrl-names =3D "default"; + + qcom,mbhc-buttons-vthreshold-microvolt =3D <75000 150000 237000 500000 + 500000 500000 500000 500000>; + qcom,mbhc-headphone-vthreshold-microvolt =3D <50000>; + qcom,mbhc-headset-vthreshold-microvolt =3D <1700000>; + qcom,micbias1-microvolt =3D <1800000>; + qcom,micbias2-microvolt =3D <1800000>; + qcom,micbias3-microvolt =3D <1800000>; + qcom,micbias4-microvolt =3D <1800000>; + qcom,rx-device =3D <&wcd_rx>; + qcom,tx-device =3D <&wcd_tx>; + + reset-gpios =3D <&tlmm 161 GPIO_ACTIVE_LOW>; + + vdd-buck-supply =3D <&vreg_l15b_1p8>; + vdd-io-supply =3D <&vreg_l15b_1p8>; + vdd-mic-bias-supply =3D <&vreg_bob1>; + vdd-px-supply =3D <&vreg_l3i_1p2>; + vdd-rxtx-supply =3D <&vreg_l15b_1p8>; + + #sound-dai-cells =3D <1>; + }; + sdcard_vdd_3p0: sdcard-vdd-3p0 { compatible =3D "regulator-fixed"; =20 @@ -145,6 +263,70 @@ sdcard_vdd_3p0: sdcard-vdd-3p0 { }; }; =20 +&lpass_vamacro { + pinctrl-0 =3D <&dmic01_default>, <&dmic23_default>; + pinctrl-names =3D "default"; + + vdd-micb-supply =3D <&vreg_l10b_1p8>; + qcom,dmic-sample-rate =3D <4800000>; +}; + + +&q6apmbedai { + dai@40 { + reg =3D ; + clocks =3D <&q6prmcc LPASS_CLK_ID_QAIF_IF1_IBIT + LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names =3D "bclk"; + }; +}; + +&i2c3 { + status =3D "okay"; + + wsa885x: speaker@c { + compatible =3D "qcom,wsa8855"; + reg =3D <0x0c>; + + interrupt-parent =3D <&tlmm>; + interrupts =3D <77 IRQ_TYPE_EDGE_FALLING>; + + pinctrl-0 =3D <&wsa885x_spkr_sd_n &wsa885x_irq_gpio>; + pinctrl-names =3D "default"; + + powerdown-gpios =3D <&pmh0110_f_e0_gpios 11 GPIO_ACTIVE_LOW>; + + vdd-1p8-supply =3D <&vreg_l2g_1p8>; + vdd-io-supply =3D <&vreg_l1g_1p2>; + + qcom,battery-config =3D "1s"; + + #sound-dai-cells =3D <0>; + + status =3D "okay"; + }; +}; + +&swr1 { + status =3D "okay"; + wcd_rx: codec@0,4 { + compatible =3D "sdw20217010e00"; + reg =3D <0 4>; + + qcom,rx-port-mapping =3D <1 2 3 4 5 9>; + }; +}; + +&swr2 { + status =3D "okay"; + + wcd_tx: codec@0,3 { + compatible =3D "sdw20217010e00"; + reg =3D <0 3>; + qcom,tx-port-mapping =3D <3 3 3 4>; + }; +}; + &apps_rsc { regulators-0 { compatible =3D "qcom,pmh0101-rpmh-regulators"; @@ -813,6 +995,16 @@ &pcie1_port0 { reset-gpios =3D <&tlmm 220 GPIO_ACTIVE_LOW>; }; =20 +&pmh0110_f_e0_gpios { + wsa885x_spkr_sd_n: wsa885x-spkr-sd-n-state { + pins =3D "gpio11"; + function =3D "normal"; + input-disable; + output-enable; + power-source =3D <1>; /* 1.8V */ + }; +}; + &pmh0101_flash { status =3D "okay"; =20 @@ -937,6 +1129,20 @@ &tlmm { <119 2>, /* SoCCP */ <144 2>; /* CXM UART */ =20 + wcd_default: wcd-reset-n-active-state { + pins =3D "gpio161"; + function =3D "gpio"; + drive-strength =3D <16>; + bias-disable; + }; + + wsa885x_irq_gpio: wsa885x-irq-state { + pins =3D "gpio77"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + key_vol_up_default: key-vol-up-default-state { pins =3D "gpio101"; function =3D "gpio"; --=20 2.34.1 From nobody Thu Sep 24 13:41:53 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 08BCA3E49DA; Wed, 23 Sep 2026 08:46:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153219; cv=none; b=VcMBYeQTbFfifpAUfCU7zi/+Jf7EAteSJKF+9NbJ2B0j2sbY3rCmXkCrA1NIqer8pY7zzPJsW+DHKDNLk54E4lKfkH7VYWCMIYNv1U5pNjWwL6mmlWYpd8Q2QITnXSIN6ERbYHIDajwG4rHHiaX3tQg7GUJgAlBhDOLdzkbMutI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153219; c=relaxed/simple; bh=f8RH3IvKprirEDs1l58PQBvaE296Ugdy1ZRiV07VDTs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=t9TX7kVB/enjlWEurv01mQlWd7dTmQiExn8QjJzcFweNbRLkhN+E10Nf+dRlLhn5CNRdZilJ84amt4ntqwV517h7Avu0b9dJLc29nZp6GYYqxwS8Ufrx08jxqyVoX2gNtN3U4+Aoy4/TEHcTcHz230/n7SAe+9xy5ThuVhrQdnA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=H7jSuPF2; arc=none smtp.client-ip=205.220.180.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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="H7jSuPF2" 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 68N8JfFe2975584; Wed, 23 Sep 2026 08:46:40 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=hD2T7L1G04t NtQqk5uS3fSuWFRZwLtwDCuLNV9p/gso=; b=H7jSuPF2MtN1IAqaQ1psRYyz331 a9jig2XMeG7BwE1YcdtH3VKqNbJSuA4EMr6PAbldZxXZHdbk9PQshu85hNNJIioy IP++tj544mqJ87sn7Tq3PdAnwoJ/2qlgXuVMWAmJgKzEMwwLyTa5BQt7iu5sEdlq dvXOyLEhGL88pSE/5lHUJ5L9VmxmNwbeTz/D7rCVqt2H+pR0fDOCbNlt1GMJ6pU0 DIzxyAS3aKE1OoeTgEz2aTD5QAFo7G9k9RqcWFt6A4DijZw5Xd8SY+UibvdEnHVr RslXr86G9qdnxyy8Dr/E7Axv0PflrMBddSE6em/MeFJH+1n5Iq6IZ8seXdA== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gv78n122h-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:39 +0000 (GMT) Received: from pps.filterd (apblrppmta02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8kbv21728490; Wed, 23 Sep 2026 08:46:37 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 68N8kbNW1728469 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:37 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 3A4D764D; Wed, 23 Sep 2026 14:16:35 +0530 (+0530) From: Prasad Kumpatla To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Jaroslav Kysela , Takashi Iwai Cc: Abel Vesa , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prasad Kumpatla Subject: [PATCH v1 6/8] arm64: dts: qcom: maili: add LPASS audio subsystem nodes Date: Wed, 23 Sep 2026 14:16:25 +0530 Message-Id: <20260923084627.748920-7-prasad.kumpatla@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260923084627.748920-1-prasad.kumpatla@oss.qualcomm.com> References: <20260923084627.748920-1-prasad.kumpatla@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-Reinject: loops=2 maxloops=12 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfX0fpE1GJMJlDe ONeb5FULkrTojSXd8wh9ZTCBvQbWlWsLAncu055lnyLwpCyWApV2BX2OLvdKspsyUoVCM6+m8jI pwO2XYmwUK3VxRmJ4td27tJw6C2IJxw= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfXwADsK0N7p0aG MvqDT1PrfUKMMg/h26+x+bH1f02wQlM3Tcrhr9L9iAlhWCmmMybofzJy3v3VH+JQXZXcqTgygJ9 8tKwDO6ZS2lffBYqXGg7lu8zelF8Nl+jY/mdvzysMlWseiG2TOSZ0XI8J85afQXVcCjJCAr2jD8 +SOD1TcVLJDCPnQUZslCuw0s7BBt5Qlw8scMdDEg40vd1N692JpGOYZaY0sZY7Xs87fp5P0akbo sLUofEXE7K4o+eacZ70c06eL6KZsnXvCRxArIsr+QxesAfAm4SY+sz0fQ7s/Fdiw4SyGBJWnL7S AoCPtNYRA/sJKjuGjKqdWhtORK5oWP86j+bPMgr/JGpfhfJNVlUVSjm0/FytSlMTU4dx0OLeOkI v0sN6Sjf1o1F7iRHTGrgtFRvpr/SiSxmYKoSH2vuZ2v2+rO0c7Se5RGfegldve2yzkqYUEJig5O povJ828d+pmO6hCdQ6A== X-Proofpoint-ORIG-GUID: _Eu1oGQ5j0KdDjflAQ0SyLkG55Dv30lX X-Authority-Analysis: v=2.4 cv=aNFlOr9m c=1 sm=1 tr=0 ts=6ab391f0 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=xH1pX27c9His-OQcG9wA:9 X-Proofpoint-GUID: _Eu1oGQ5j0KdDjflAQ0SyLkG55Dv30lX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_04,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 adultscore=0 phishscore=0 impostorscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230034 Content-Type: text/plain; charset="utf-8" Add the Low Power Audio SubSystem (LPASS) device tree infrastructure for Maili, mirroring the Hawi SoC, so the ADSP-based audio pipeline can be described by boards. This adds under the ADSP GLINK edge the GPR (Generic Packet Router) node with the q6apm and q6prm services, and on the SoC bus the RX, TX and VA Bolero macro codecs, their RX/TX SoundWire controllers, the VA CSR heartbeat clock provider, and the LPASS LPI TLMM pinctrl node with the DMIC, I2S and SoundWire pin states used by the audio blocks. The SoundWire controllers are left status =3D "disabled" here; boards enable them once the attached codecs are described. Signed-off-by: Prasad Kumpatla --- arch/arm64/boot/dts/qcom/maili.dtsi | 291 ++++++++++++++++++++++++++++ 1 file changed, 291 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/maili.dtsi b/arch/arm64/boot/dts/qcom= /maili.dtsi index 6053b61cab6f..d4267c22157b 100644 --- a/arch/arm64/boot/dts/qcom/maili.dtsi +++ b/arch/arm64/boot/dts/qcom/maili.dtsi @@ -20,6 +20,8 @@ #include =20 #include "maili-ipcc.h" +#include +#include =20 / { interrupt-parent =3D <&intc>; @@ -4008,6 +4010,295 @@ compute-cb@8 { dma-coherent; }; }; + + gpr { + compatible =3D "qcom,gpr"; + qcom,glink-channels =3D "adsp_apps"; + qcom,domain =3D ; + qcom,intents =3D <512 20>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + q6apm: service@1 { + compatible =3D "qcom,q6apm"; + reg =3D ; + #sound-dai-cells =3D <0>; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + + q6apmbedai: bedais { + compatible =3D "qcom,q6apm-lpass-dais"; + #address-cells =3D <1>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + }; + + q6apmdai: dais { + compatible =3D "qcom,q6apm-dais"; + iommus =3D <&apps_smmu 0x0c01 0x80>, + <&apps_smmu 0x0c41 0x20>; + }; + }; + + q6prm: service@2 { + compatible =3D "qcom,q6prm"; + reg =3D ; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + + q6prmcc: clock-controller { + compatible =3D "qcom,q6prm-lpass-clocks"; + #clock-cells =3D <2>; + }; + }; + }; + }; + }; + + lpass_rxmacro: codec@72c0000 { + compatible =3D "qcom,maili-lpass-rx-macro", "qcom,hawi-lpass-rx-macro"; + reg =3D <0x0 0x072c0000 0x0 0x1000>; + clocks =3D <&q6prmcc LPASS_CLK_ID_RX_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_C= OUPLE_NO>, + <&q6prmcc LPASS_HW_LPR_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_vamacro>; + clock-names =3D "mclk", "lpr", "dcodec", "fsgen"; + + #clock-cells =3D <0>; + clock-output-names =3D "mclk"; + #sound-dai-cells =3D <1>; + }; + + swr1: soundwire@72d0000 { + compatible =3D "qcom,soundwire-v3.1.0"; + reg =3D <0x0 0x072d0000 0x0 0x10000>; + interrupts =3D ; + clocks =3D <&lpass_rxmacro>; + clock-names =3D "iface"; + label =3D "RX"; + + pinctrl-0 =3D <&rx_swr_active>; + pinctrl-names =3D "default"; + + qcom,din-ports =3D <1>; + qcom,dout-ports =3D <11>; + qcom,ports-sinterval =3D /bits/ 16 <0x03 0x3f 0x1f 0x07 0x00 0x18f 0xff= 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-offset1 =3D /bits/ 8 <0x00 0x00 0x0b 0x01 0x00 0x00 0xff 0xf= f 0xff 0xff 0xff 0xff>; + qcom,ports-offset2 =3D /bits/ 8 <0x00 0x00 0x0b 0x00 0x00 0x00 0xff 0xf= f 0xff 0xff 0xff 0xff>; + qcom,ports-hstart =3D /bits/ 8 <0xff 0x03 0xff 0xff 0xff 0x08 0xff 0xf= f 0xff 0xff 0xff 0xff>; + qcom,ports-hstop =3D /bits/ 8 <0xff 0x06 0xff 0xff 0xff 0x08 0xff 0xff= 0xff 0xff 0xff 0xff>; + qcom,ports-word-length =3D /bits/ 8 <0x01 0x07 0x04 0xff 0xff 0x0f 0xff= 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-block-pack-mode =3D /bits/ 8 <0xff 0x00 0x01 0xff 0xff 0x00 = 0xff 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-block-group-count =3D /bits/ 8 <0xff 0xff 0xff 0xff 0x00 0x0= 0 0xff 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-lane-control =3D /bits/ 8 <0x01 0x00 0x00 0x00 0x00 0x00 0xf= f 0xff 0xff 0xff 0xff 0xff>; + + #address-cells =3D <2>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + + status =3D "disabled"; + }; + + lpass_txmacro: codec@72e0000 { + compatible =3D "qcom,maili-lpass-tx-macro", "qcom,hawi-lpass-tx-macro"; + reg =3D <0x0 0x72e0000 0x0 0x1000>; + clocks =3D <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUP= LE_NO>, + <&q6prmcc LPASS_HW_LPR_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_vamacro>; + clock-names =3D "mclk", "lpr", "dcodec", "fsgen"; + + #clock-cells =3D <0>; + clock-output-names =3D "mclk"; + #sound-dai-cells =3D <1>; + }; + + swr2: soundwire@7e90000 { + compatible =3D "qcom,soundwire-v3.1.0"; + reg =3D <0x0 0x7e90000 0x0 0x10000>; + interrupts =3D , + ; + interrupt-names =3D "core", "wakeup"; + clocks =3D <&lpass_txmacro>; + clock-names =3D "iface"; + label =3D "TX"; + + pinctrl-0 =3D <&tx_swr_active>; + pinctrl-names =3D "default"; + + qcom,din-ports =3D <4>; + qcom,dout-ports =3D <0>; + qcom,ports-sinterval-low =3D /bits/ 8 <0x01 0x01 0x01 0x03>; + qcom,ports-offset1 =3D /bits/ 8 <0x00 0x00 0x00 0x01>; + qcom,ports-offset2 =3D /bits/ 8 <0x00 0x00 0x00 0x00>; + qcom,ports-hstart =3D /bits/ 8 <0xff 0xff 0x00 0xff>; + qcom,ports-hstop =3D /bits/ 8 <0xff 0xff 0x0f 0xff>; + qcom,ports-word-length =3D /bits/ 8 <0xff 0x00 0x00 0xff>; + qcom,ports-block-pack-mode =3D /bits/ 8 <0xff 0xff 0x00 0xff>; + qcom,ports-block-group-count =3D /bits/ 8 <0xff 0xff 0x00 0xff>; + qcom,ports-lane-control =3D /bits/ 8 <0x01 0x00 0x01 0x00>; + + #address-cells =3D <2>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + + status =3D "disabled"; + }; + + lpass_vamacro: codec@7ec0000 { + compatible =3D "qcom,maili-lpass-va-macro", "qcom,hawi-lpass-va-macro"; + reg =3D <0x0 0x07ec0000 0x0 0x2000>; + clocks =3D <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUP= LE_NO>, + <&q6prmcc LPASS_HW_LPR_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_va_csr>; + clock-names =3D "mclk", "lpr", "dcodec", "heartbeatpulse"; + + #clock-cells =3D <0>; + clock-output-names =3D "fsgen"; + #sound-dai-cells =3D <1>; + }; + + lpass_va_csr: va-csr@7ee0000 { + compatible =3D "qcom,hawi-lpass-va-csr"; + reg =3D <0x0 0x07ee0000 0x0 0xe000>; + clocks =3D <&q6prmcc LPASS_HW_LPR_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names =3D "lpr", "audio"; + #clock-cells =3D <0>; + }; + + lpass_tlmm: pinctrl@7f60000 { + compatible =3D "qcom,hawi-lpass-lpi-pinctrl"; + reg =3D <0x0 0x07f60000 0x0 0x20000>; + + clocks =3D <&q6prmcc LPASS_HW_LPR_VOTE + LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names =3D "lpr", "audio"; + + gpio-controller; + #gpio-cells =3D <2>; + gpio-ranges =3D <&lpass_tlmm 0 0 23>; + + dmic01_default: dmic01-default-state { + clk-pins { + pins =3D "gpio6"; + function =3D "dmic1_clk"; + drive-strength =3D <8>; + output-high; + }; + + data-pins { + pins =3D "gpio7"; + function =3D "dmic1_data"; + drive-strength =3D <8>; + input-enable; + }; + }; + + dmic23_default: dmic23-default-state { + clk-pins { + pins =3D "gpio8"; + function =3D "dmic2_clk"; + drive-strength =3D <8>; + output-high; + }; + + data-pins { + pins =3D "gpio9"; + function =3D "dmic2_data"; + drive-strength =3D <8>; + input-enable; + }; + }; + + lpi_i2s1_active: lpi-i2s1-active-state { + clk-pins { + pins =3D "gpio10"; + function =3D "i2s1_clk"; + drive-strength =3D <8>; + bias-disable; + output-high; + }; + + ws-pins { + pins =3D "gpio11"; + function =3D "i2s1_ws"; + drive-strength =3D <8>; + bias-disable; + output-high; + }; + + data-pins { + pins =3D "gpio15", "gpio16"; + function =3D "i2s1_data"; + drive-strength =3D <8>; + bias-disable; + output-high; + }; + }; + + lpi_i2s1_sleep: lpi-i2s1-sleep-state { + clk-pins { + pins =3D "gpio10"; + function =3D "i2s1_clk"; + drive-strength =3D <2>; + bias-pull-down; + input-enable; + }; + + ws-pins { + pins =3D "gpio11"; + function =3D "i2s1_ws"; + drive-strength =3D <2>; + bias-pull-down; + input-enable; + }; + + data-pins { + pins =3D "gpio15", "gpio16"; + function =3D "i2s1_data"; + drive-strength =3D <2>; + bias-pull-down; + input-enable; + }; + }; + + rx_swr_active: rx-swr-active-state { + clk-pins { + pins =3D "gpio3"; + function =3D "swr_rx_clk"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-disable; + }; + + data-pins { + pins =3D "gpio4", "gpio5"; + function =3D "swr_rx_data"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-bus-hold; + }; + }; + + tx_swr_active: tx-swr-active-state { + clk-pins { + pins =3D "gpio0"; + function =3D "swr_tx_clk"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-disable; + }; + + data-pins { + pins =3D "gpio1", "gpio2", "gpio14"; + function =3D "swr_tx_data"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-bus-hold; + }; }; }; =20 --=20 2.34.1 From nobody Thu Sep 24 13:41:53 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 0ACA73E51DE; Wed, 23 Sep 2026 08:46:49 +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=1790153218; cv=none; b=BtxZinipgoOik88ayKh5QDkSLMh4aaOEgAHCleajOaKb/lsBAeE8+UJDz2d7XDocqxAuaRM4zrJYg/N5edwEPbrBXYqYLhDjQYwt6JpFLGLkqVqFiB2Du1vvPUtdcnVB7XMxBqACyGrol5mwe//QKbtLzF7fqLEkCCpjhiHLXdo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153218; c=relaxed/simple; bh=y1j3rJYLN8GE6nMzHu63hVfSLaIoSVbACcPEYGqvCaw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FKRtB+zV0QlYwSAdBPCfDRrqJQKpQuWXeTpXJiyThRjA9Z5UIATl5YPchlRbMhnRwqSgRiXGcA0NJ/Aeh8C5UUglG1NsR2l3wkanwe1vpXvDWiWUbI6MFfzX2jV+A9FYm+T37R7FaBqg/xMQvXDpxWRyPWZuJha0B0x8VI9YImQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=YwSGiKdc; 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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="YwSGiKdc" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8JeVY2197886; Wed, 23 Sep 2026 08:46:40 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=2LSARjW11W2 s9eKrMoUYg8dB3eTEmF2ZrozriMQ/v3Q=; b=YwSGiKdcIaWFv+dAGBczhYj5rrx s4SdndIz+G90MAUDAMIOcIiTHI4A/FS7HfffgwaYWPGxSxag2nlfQ4oHhpVlRvOq BsaZdmnAgHsgT7uXyjWHJDUmbYiRsqeu69txzYS2RaGwTdQ4Q+22qUo8BW3aDj4v Ie7mdbuUNIjVcomMCVnWuhZF7Md5e2Ww4GYH0XBS+DuN26zt/TirCibvEveC/saR aK+Uz33qZ4Hf/1uO5B6yAtfxD6ubh5o2ViBl6k5wpRU5Veu3er6gcxJ0Pfj8HTmh BuDP03WUEApGEIcMqjxJigF5x73wKaSWZtIeMKDDI8Pk81WD+3nIoxJgvUw== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gv9bqgm7y-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:39 +0000 (GMT) Received: from pps.filterd (apblrppmta02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8iYgm1726206; Wed, 23 Sep 2026 08:46:37 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 68N8kbWg1728468 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:37 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 3EC7264F; Wed, 23 Sep 2026 14:16:35 +0530 (+0530) From: Prasad Kumpatla To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Jaroslav Kysela , Takashi Iwai Cc: Abel Vesa , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prasad Kumpatla Subject: [PATCH v1 7/8] arm64: dts: qcom: maili-mtp: enable audio playback and capture Date: Wed, 23 Sep 2026 14:16:26 +0530 Message-Id: <20260923084627.748920-8-prasad.kumpatla@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260923084627.748920-1-prasad.kumpatla@oss.qualcomm.com> References: <20260923084627.748920-1-prasad.kumpatla@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-Reinject: loops=2 maxloops=12 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-GUID: FgA5fqVks3eVZhcRIWyDSXRP4VB3Am5k X-Proofpoint-ORIG-GUID: FgA5fqVks3eVZhcRIWyDSXRP4VB3Am5k X-Authority-Analysis: v=2.4 cv=WZuZ+EhX c=1 sm=1 tr=0 ts=6ab391f0 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=UYOu4SKb2H_GWy770KQA:9 X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfX4tX9plI6tnBp dmFyN4NsM5a+9FTeCBKVLEt9NqrzkGAMRE8DmVbJFj423uYXKMp9EyOXazFepcm2pCPJXSehcRN kTw6+kXUhY98L8iYoqr1TL2HE3dGFEM= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfX/JC/0qsL+yru cGsN5CXQVPU8fUAb3njrm15bTa5YkLwJLFyES0DGcTKUZbVCvCqj9XFRYcRYATCTgiyKAYH6rZT nIJZS0BLxtfk9AnDehULZGcdCQRtBxTJ/l9w/meAVAbI965VNgLQZ8/rA5POWCH5bEu3FI8biFQ o0EPwrAx6Ixdodk8KxUF1w2yWUSt09GZJJ7uy7bahaUTo7HYcAwlYgbQL/Uzi6O3N8r0AuLwXe8 ay9kPQXu4MEusxLsIrhw+rsojZfaT5MAkB4aTE6d4IS7Ha2+fIpp6B0ahrE/tqzDDTdN2vsoAnh ymVHB1wmHB+0V3wqnkGnad2rgZhqIc3rd0tRsPALh8wkMLhDCkyF9Qt4RMQ91RRpXtWdZ5KROEB 7r9fadcgmTmeQzivsYMDX4EaKxuFVUXheOf4dqHwjxcdY0fB5fDLhcDKIgy4ydXpZSEG3LYcan5 yTPO8n3B4ksWD+r2c3A== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_04,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 suspectscore=0 clxscore=1011 impostorscore=0 phishscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230034 Content-Type: text/plain; charset="utf-8" Wire up the audio use cases on the Maili MTP board on top of the LPASS nodes added to the SoC dtsi, mirroring the Maili QRD board. Add the sound card with the TDM playback, WCD playback/capture and VA DMIC capture DAI links and the associated audio routing. Describe the WCD9395 codec, enable the RX and TX SoundWire controllers with their WCD RX/TX satellite ports, and add the WSA8855 speaker amplifier on i2c3. Configure the VA macro DMIC supply and the required TLMM pin states (WCD reset, WSA IRQ, WSA shutdown). The MTP and QRD boards share the same SoC and PMIC rails, so the same regulators (vreg_l2d_1p8, vreg_l4g_1p2, vreg_l15b_1p8, vreg_bob1, vreg_l1g_1p2, vreg_l10b_1p8) and the pmh0110_f_e0_gpios speaker shutdown GPIO from the shared pmh0110-kaanapali.dtsi apply unchanged. Signed-off-by: Prasad Kumpatla --- arch/arm64/boot/dts/qcom/maili-mtp.dts | 206 +++++++++++++++++++++++++ 1 file changed, 206 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/maili-mtp.dts b/arch/arm64/boot/dts/q= com/maili-mtp.dts index 1fdc91e03271..31192a01e70e 100644 --- a/arch/arm64/boot/dts/qcom/maili-mtp.dts +++ b/arch/arm64/boot/dts/qcom/maili-mtp.dts @@ -7,9 +7,11 @@ =20 #include #include +#include #include #include #include +#include #include "maili.dtsi" #include "pm8010-kaanapali.dtsi" /* SPMI1: SID-C/D */ #include "pmd8028-kaanapali.dtsi" /* SPMI1: SID-4 */ @@ -126,6 +128,122 @@ pmic_glink_dp_out: endpoint { }; }; =20 + maili_sound: sound { + compatible =3D "qcom,maili-sndcard", "qcom,sm8450-sndcard"; + model =3D "MAILI-MTP"; + + audio-routing =3D "IN1_HPHL", "HPHL_OUT", + "IN2_HPHR", "HPHR_OUT", + "AMIC2", "MIC BIAS2", + "VA DMIC0", "MIC BIAS1", + "VA DMIC1", "MIC BIAS1", + "VA DMIC2", "MIC BIAS3", + "VA DMIC3", "MIC BIAS3", + "TX SWR_INPUT", "ADC2_OUTPUT"; + + pinctrl-names =3D "default", "sleep"; + pinctrl-0 =3D <&lpi_i2s1_active>; + pinctrl-1 =3D <&lpi_i2s1_sleep>; + + va-dmic-dai-link { + link-name =3D "VA DMIC Capture"; + + codec { + sound-dai =3D <&lpass_vamacro 0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai VA_CODEC_DMA_TX_0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + wcd-capture-dai-link { + link-name =3D "WCD Capture"; + + codec { + sound-dai =3D <&wcd939x 1>, <&swr2 0>, <&lpass_txmacro 0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai TX_CODEC_DMA_TX_3>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + wcd-playback-dai-link { + link-name =3D "WCD Playback"; + + codec { + sound-dai =3D <&wcd939x 0>, <&swr1 0>, <&lpass_rxmacro 0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai RX_CODEC_DMA_RX_0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + wsa-playback-dai-link { + link-name =3D "WSA Playback"; + + codec { + sound-dai =3D <&wsa885x>; + dai-tdm-slot-num =3D <2>; + dai-tdm-slot-width =3D <32>; + dai-tdm-slot-rx-mask =3D <1 1>; + }; + + cpu { + sound-dai =3D <&q6apmbedai AIF_TDM_RX_1>; + dai-tdm-slot-num =3D <2>; + dai-tdm-slot-width =3D <32>; + dai-tdm-slot-rx-mask =3D <1 1>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + }; + + wcd939x: audio-codec { + compatible =3D "qcom,wcd9395-codec", "qcom,wcd9390-codec"; + + pinctrl-0 =3D <&wcd_default>; + pinctrl-names =3D "default"; + + qcom,mbhc-buttons-vthreshold-microvolt =3D <75000 150000 237000 500000 + 500000 500000 500000 500000>; + qcom,mbhc-headphone-vthreshold-microvolt =3D <50000>; + qcom,mbhc-headset-vthreshold-microvolt =3D <1700000>; + qcom,micbias1-microvolt =3D <1800000>; + qcom,micbias2-microvolt =3D <1800000>; + qcom,micbias3-microvolt =3D <1800000>; + qcom,micbias4-microvolt =3D <1800000>; + qcom,rx-device =3D <&wcd_rx>; + qcom,tx-device =3D <&wcd_tx>; + + reset-gpios =3D <&tlmm 161 GPIO_ACTIVE_LOW>; + + vdd-buck-supply =3D <&vreg_l15b_1p8>; + vdd-io-supply =3D <&vreg_l15b_1p8>; + vdd-mic-bias-supply =3D <&vreg_bob1>; + vdd-px-supply =3D <&vreg_l3f_1p2>; + vdd-rxtx-supply =3D <&vreg_l15b_1p8>; + + #sound-dai-cells =3D <1>; + }; + sdcard_vdd_3p0: sdcard-vdd-3p0 { compatible =3D "regulator-fixed"; =20 @@ -743,6 +861,70 @@ vreg_l7n_3p3: ldo7 { }; }; =20 +&i2c3 { + + status =3D "okay"; + + wsa885x: speaker@c { + compatible =3D "qcom,wsa8855"; + reg =3D <0x0c>; + + interrupt-parent =3D <&tlmm>; + interrupts =3D <98 IRQ_TYPE_EDGE_FALLING>; + + pinctrl-0 =3D <&wsa885x_spkr_sd_n &wsa885x_irq_gpio>; + pinctrl-names =3D "default"; + + powerdown-gpios =3D <&pmh0110_f_e0_gpios 11 GPIO_ACTIVE_LOW>; + + vdd-1p8-supply =3D <&vreg_l2d_1p8>; + vdd-io-supply =3D <&vreg_l4g_1p2>; + + qcom,battery-config =3D "1s"; + + #sound-dai-cells =3D <0>; + + status =3D "okay"; + }; +}; + +&lpass_vamacro { + pinctrl-0 =3D <&dmic01_default>, <&dmic23_default>; + pinctrl-names =3D "default"; + + vdd-micb-supply =3D <&vreg_l10b_1p8>; + qcom,dmic-sample-rate =3D <4800000>; +}; + +&q6apmbedai { + dai@40 { + reg =3D ; + clocks =3D <&q6prmcc LPASS_CLK_ID_QAIF_IF1_IBIT + LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names =3D "bclk"; + }; +}; + +&swr1 { + status =3D "okay"; + wcd_rx: codec@0,4 { + compatible =3D "sdw20217010e00"; + reg =3D <0 4>; + + qcom,rx-port-mapping =3D <1 2 3 4 5 9>; + }; +}; + +&swr2 { + status =3D "okay"; + + wcd_tx: codec@0,3 { + compatible =3D "sdw20217010e00"; + reg =3D <0 3>; + qcom,tx-port-mapping =3D <3 3 3 4>; + }; +}; + &pcie0 { status =3D "okay"; }; @@ -820,6 +1002,16 @@ volume_up_n: volume-up-n-state { }; }; =20 +&pmh0110_f_e0_gpios { + wsa885x_spkr_sd_n: wsa885x-spkr-sd-n-state { + pins =3D "gpio11"; + function =3D "normal"; + input-disable; + output-enable; + power-source =3D <1>; /* 1.8V */ + }; +}; + &pmh0101_pwm { status =3D "okay"; =20 @@ -906,6 +1098,20 @@ &tlmm { <119 2>, /* SoCCP */ <144 2>, /* CXM UART */ <211 1>; /* NFC Secure IO */ + + wcd_default: wcd-reset-n-active-state { + pins =3D "gpio161"; + function =3D "gpio"; + drive-strength =3D <16>; + bias-disable; + }; + + wsa885x_irq_gpio: wsa885x-irq-state { + pins =3D "gpio98"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; }; =20 &uart7 { --=20 2.34.1 From nobody Thu Sep 24 13:41:53 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 D62DF3EC804; Wed, 23 Sep 2026 08:46:49 +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=1790153211; cv=none; b=mmawKB29HKR4Ge2gUKsDZL38XCwu5sahtWHzr3sPjb19muBt2SgDD6uIbIbcbpqQjESg+XrCwonTwVEPq989z4SVEkyPffjyrpZPZkPZUxUmKAwCbDTlPvjWhUR7PCO5XbC6EkOsAGMPTCwv3ANEtEMk/so9y+Xmq04YW04pX8c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790153211; c=relaxed/simple; bh=oau7sDMWTdrjmIWBxhYcDHRSO1npzK7ouTufF7/5szg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Y6TYuYtulH/Y64+mOu8r0rwgPBqKf65mpuuO2IJ4WPtv0fzbIk/N+8qXCNoEKXNF5eJWziJd9jtnBAwqTN5Vv4vRLz5ERt8eQoFKlm82CBVAJ83a6BdHHeOueybyKJAw7GChXnTFr0fkaNLQcEMAPlH0t+Tlp5KE7Il+QJvP/P8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=IjlXUxHu; 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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="IjlXUxHu" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8JVAo2197313; Wed, 23 Sep 2026 08:46:40 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=U055zw1tw2H led1NRvT9gyaA/wtaN41kRhX5hE9+frM=; b=IjlXUxHudMogM3sjbo1r4OgRsKg rXngKuwlvAjA95prkxDQV5EmKg8/CbmbHThat6NsGDLC5a/rkqgLZgo3C4PZF4BB dqzBhncQidDsYo6qU5nBICByJxmzENMPDEwpqkyQ9H/aCuNtNRfP5ujhFnvzqfEQ Ct/weDe6jnHkCep2amSbtR5MBswXYAQ1B7Ejc1FoTGd3L6tJ9D3+c2PAzsPC2vVU Cs+JWAXPhkwmaSpJ6ll8VU63Dky3EtHq9lPgZgqHF5RuAFR8OaMTU1MPJWTzbD4G vX7o4b/SMFWVMMo897OZDq76zNDeYaBNfYcFbyO+7PbFDaNtG+0DkYmGNzQ== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gv9bqgm80-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:40 +0000 (GMT) Received: from pps.filterd (apblrppmta02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 68N8kaFW1728443; Wed, 23 Sep 2026 08:46:37 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 68N8kbND1728467 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Sep 2026 08:46:37 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 43CCC6DB; Wed, 23 Sep 2026 14:16:35 +0530 (+0530) From: Prasad Kumpatla To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Jaroslav Kysela , Takashi Iwai Cc: Abel Vesa , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prasad Kumpatla Subject: [PATCH v1 8/8] arm64: defconfig: Enable Hawi LPASS LPI pinctrl driver Date: Wed, 23 Sep 2026 14:16:27 +0530 Message-Id: <20260923084627.748920-9-prasad.kumpatla@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260923084627.748920-1-prasad.kumpatla@oss.qualcomm.com> References: <20260923084627.748920-1-prasad.kumpatla@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-Reinject: loops=2 maxloops=12 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-GUID: 1uWdpBmLcYHiThzn0Gy0leQ2MnmeVFcP X-Proofpoint-ORIG-GUID: 1uWdpBmLcYHiThzn0Gy0leQ2MnmeVFcP X-Authority-Analysis: v=2.4 cv=WZuZ+EhX c=1 sm=1 tr=0 ts=6ab391f0 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=6dl9xK7RzcSlF3uxdvAA:9 X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfXxiRD0jjqT0xq jKQDIa/OUTRx5uwwtgw44AlKVWJyI2Do2O6PE2yQU7FIKW+4ES7Cv88Foc0atub9EnMOUYlq3iH sQlxDt7Ws92kdljF4770+UvQUSckg2k= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDAzNCBTYWx0ZWRfX0uZJFwSQHmnz zwUxObysNRzthz4Ib4XBrbXtrypXPnip7aXIKqEwZll6NsG1YIC8pTJbvEdD+AyzIuMF+vMXt8o 12KN3Rur1G+/pLQb4S16nWM8fEJnrr9cA4lyOu4di3IU9zEppqn+7RDZdQPrZUs/I1/CcnJh2c3 VJq+SID1ntg4+B0QJ1AewgFgfiGYVx+kaOZQzq9LzOHvd01ZkPrAUhAlY2SKp77ZZIGUvgLoQDr KNJcXzmJ3dDnMzipzhjzZEKkGxDdc5Od85CjS762HvdKGflH5/Gl+94VYE+gUJCIVZj9VdZ3iuA l+6RO1jW0/mODvULVJ1FzLNRHcJuhuygNDMfZVlLrBQnTZGlMQt/7sVh5NvozxR1vMHPyJlVa9k T3u7vH+dS39GYXHlCk/bnIrxS8vQRUDCZBGFrnKNsrjqp8plHeng/vvEhjzGFE1tKABVGN2mN1b tDf2ByMFs/hycL8vH9w== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_04,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 impostorscore=0 phishscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230034 Content-Type: text/plain; charset="utf-8" Build the LPASS LPI pinctrl driver as module, as required by the Hawi and Maili platforms to control all the LPI GPIOs. Signed-off-by: Prasad Kumpatla --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 5217de386edc..5e76b86d25cc 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -702,6 +702,7 @@ CONFIG_PINCTRL_IMX_SCMI=3Dy CONFIG_PINCTRL_IMX91=3Dy CONFIG_PINCTRL_QCOM_SPMI_PMIC=3Dy CONFIG_PINCTRL_LPASS_LPI=3Dm +CONFIG_PINCTRL_HAWI_LPASS_LPI=3Dm CONFIG_PINCTRL_MILOS_LPASS_LPI=3Dm CONFIG_PINCTRL_SC7280_LPASS_LPI=3Dm CONFIG_PINCTRL_SM6115_LPASS_LPI=3Dm --=20 2.34.1