From nobody Fri Apr 10 02:37:42 2026 Received: from mail-m3289.qiye.163.com (mail-m3289.qiye.163.com [220.197.32.89]) (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 3747D30C368; Thu, 5 Mar 2026 09:18:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.32.89 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772702306; cv=none; b=FiUV3ZLM89kP89G04S9LHbfbNu17cyZiKM65BL3WTM7MB/lf8479rQqshfWbGc54IoFxjrEMVzZ4rv6u28FBAd5WV5oZSgAg5dqeh9xGAE82Ur58dynvxTcz55f0+LXAQrCMdnE9Rc3S/Bh0aE0njhheFD7UzsqxCz6ZAy3PjjU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772702306; c=relaxed/simple; bh=t8lhSjavVNyVN0m6itU2OGMsya1COEWO1iDxM84EcgU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kQvd7v/wOuE1AS0u8OFNbq1rGyru0Ox85zx6Te8BY8hXrNuFWuwsknjKnt+HY7oT183sgu9f+hxpsVrUziIfEwd5sVD/WKoeoDizFhqBzLCEvI0MQnWlY/luWgZL+oIZSzLqaN0imXdf0B9gzYAG1w6u9o8c81vwrApEs07cNWE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=thundersoft.com; spf=pass smtp.mailfrom=thundersoft.com; dkim=pass (1024-bit key) header.d=thundersoft.com header.i=@thundersoft.com header.b=ZhKWxgcH; arc=none smtp.client-ip=220.197.32.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=thundersoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=thundersoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=thundersoft.com header.i=@thundersoft.com header.b="ZhKWxgcH" Received: from [127.0.1.1] (unknown [36.129.139.90]) by smtp.qiye.163.com (Hmail) with ESMTP id 35d4e47d2; Thu, 5 Mar 2026 13:48:23 +0800 (GMT+08:00) From: Hongyang Zhao Date: Thu, 05 Mar 2026 13:47:45 +0800 Subject: [PATCH 4/6] ASoC: qcom: common: Add MI2S port IDs to jack setup Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260305-rubikpi-next-20260304-v1-4-327595a4528a@thundersoft.com> References: <20260305-rubikpi-next-20260304-v1-0-327595a4528a@thundersoft.com> In-Reply-To: <20260305-rubikpi-next-20260304-v1-0-327595a4528a@thundersoft.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daniel Drake , Katsuhiro Suzuki , Matteo Martelli , Binbin Zhou , Jaroslav Kysela , Takashi Iwai , Srinivas Kandagatla , Bjorn Andersson , Konrad Dybcio Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Roger Shimizu , Hongyang Zhao X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772689696; l=890; i=hongyang.zhao@thundersoft.com; s=20260127; h=from:subject:message-id; bh=t8lhSjavVNyVN0m6itU2OGMsya1COEWO1iDxM84EcgU=; b=Q5isSuJrJcCoSP8YPF5noG2zzC7RibS9qplvAbqZFsIqWI9FmCgMFl+c8A1y4p/W8OyU5t/H9 4f+eGHZsERqDrOmUxXBLwq9SsY0hZ0rmoktF1IVIFIEDpOZClbL/TFd X-Developer-Key: i=hongyang.zhao@thundersoft.com; a=ed25519; pk=D9yL5W9Zj0lPBDAq9gzY++1849VlXuTWAkROzZ88J/4= X-HM-Tid: 0a9cbc8a43f309d5kunma04077fcc85688 X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVlDSUxMVh8aTENKQkMYHUNMQ1YVFAkWGhdVEwETFh oSFyQUDg9ZV1kYEgtZQVlITVVKSUJVSkhCVUJLWVdZFhoPEhUdFFlBWU9LSFVKS0lPT09IVUpLS1 VKQktLWQY+ DKIM-Signature: a=rsa-sha256; b=ZhKWxgcHihxWZI42+WXAKaVAR3weBWXeaSHsGNTEpCghgGssrhIcYCcy7L0btUIy2LDW0bA2qQsAJwzE4JD0Ru35ep7yBkSJcVtNAyQNWlEN+HukNBGHP2dDHQH0iZdFgX/rfhcIvgGjyprANfxAgKZSRot3hOXOXO+1iB3sFcQ=; c=relaxed/relaxed; s=default; d=thundersoft.com; v=1; bh=PYTEvEpolPMmlNBtv2AO7COTHMb4LGvNbz02lBXKnPg=; h=date:mime-version:subject:message-id:from; Add PRIMARY_MI2S_RX through QUATERNARY_MI2S_TX and QUINARY MI2S port IDs to the qcom_snd_wcd_jack_setup() switch case, so that codecs connected via MI2S can use jack detection. Signed-off-by: Hongyang Zhao --- sound/soc/qcom/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/qcom/common.c b/sound/soc/qcom/common.c index 7ee60a58a336..657378474254 100644 --- a/sound/soc/qcom/common.c +++ b/sound/soc/qcom/common.c @@ -230,6 +230,8 @@ int qcom_snd_wcd_jack_setup(struct snd_soc_pcm_runtime = *rtd, case TX_CODEC_DMA_TX_1: case TX_CODEC_DMA_TX_2: case TX_CODEC_DMA_TX_3: + case PRIMARY_MI2S_RX ... QUATERNARY_MI2S_TX: + case QUINARY_MI2S_RX ... QUINARY_MI2S_TX: for_each_rtd_codec_dais(rtd, i, codec_dai) { rval =3D snd_soc_component_set_jack(codec_dai->component, jack, NULL); --=20 2.43.0