From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=47.88.81.148 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796262118; b=Th2xyHpLOMPfVDnhOmT/UeV8pAzGNLb7hl91bZDtHQXrJgD/IkHUSWcF2AOE8qiuTW5/ UMxS72Yq/JQBlgYH9baEHNMYzvyHwbcNMCt0tD6pZR74DvIYfJH7uBOGnyEQxSY4RS66Y ZUglbCOcTBLhT352R+UoDtlLXQjhWvZyXjwCy+X6TOb0xUOVYN3JzckVddk3De/8qVyPM n9IH5KBvk/3nL7N4aaHCPO1EcoQMsw/jj5lrZzUn+5bOjF2sE4n4D6mOvYDTvAeNrvxbe ydcQCSNahomo+02iBEuwTsv30dzqKoyrfoCAzL7ssZzAPu0Z1DE/F/riGZDgXZHeJ/g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796262118; h=DMARC-Filter:Received:From:To:Cc:References:In-Reply-To:Subject:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding: X-Mailer:Thread-Index:Content-Language:X-HM-Tid:X-HM-MType: X-HM-Spam-Status:DKIM-Signature; bh=tPlnCL3uesF/h+QnEG+lE2d7CY/Lf8mBTMZP5H+yE10=; b=cByCcq3JfhkrW6oGoQOFmLTe7ThNvTLJsbcZTz9KhjdDhMcNgR6DdUak7Ju+dOvuZxYm Pvh2oHhVsMKca8zFOH6ZjuJX/KSmR7okB/f6erEs3CeuymVqCwdot2nobyhCXf/wCiRy9 w1RmljnPq1Y9b9W+n64hqGdHT1+kdz+9jQjbFZNi1hkb2Lzq0r1VgH8PAP3Ff5TmWN/MI BPyYypPdnouOCwQ5tfMjxD2G3Dop2h0d65QL/j+xHvecC3Jhx5++MChNk5DAQR+lG7oQK 7jNQdsXjNa5MlPjIKXLy6+kxwHyON8/JO5+jhM8RZ4cAICNKCtYb6KlRpaYW2Axi3FA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=senarytech.com; spf=pass smtp.mailfrom=senarytech.com; dkim=pass header.d=senarytech.com header.i=@senarytech.com header.a=rsa-sha256 header.s=default header.b="chP/OB1d"; arc=none smtp.remote-ip=47.88.81.148 Received: from mail-m81148.netease.com (mail-m81148.netease.com [47.88.81.148]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86340606A322 for ; Thu, 3 Dec 2026 01:41:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 86340606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=senarytech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=senarytech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=senarytech.com header.i=@senarytech.com header.a=rsa-sha256 header.s=default header.b=chP/OB1d Received: from Wangqianghua (unknown [27.38.136.176]) by smtp.qiye.163.com (Hmail) with ESMTP id 56e54d110; Thu, 3 Dec 2026 09:41:44 +0800 (GMT+08:00) From: To: "'Pierre-Louis Bossart'" , "'Mark Brown'" Cc: , , "'Liam Girdwood'" , "'Jaroslav Kysela'" , "'Takashi Iwai'" , "'Cezary Rojewski'" , "'Peter Ujfalusi'" , "'Kai Vehmanen'" , "'bo liu'" References: <20261202022209.77448-1-qianghua.wang@senarytech.com> <20261202022209.77448-2-qianghua.wang@senarytech.com> <7b068354-633e-4b51-8e19-210400998b5a@linux.dev> In-Reply-To: <7b068354-633e-4b51-8e19-210400998b5a@linux.dev> Subject: reply: [PATCH v3 1/3] ASoC: codecs: add SN622x SDCA SoundWire codec support Date: Thu, 3 Dec 2026 09:41:46 +0800 Message-ID: <00f501dd82c7$75bc9960$6135cc20$@senarytech.com> X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: Ad2Cx3QcP857OOqUSse7BfAbs7OXiA== Content-Language: zh-cn X-HM-Tid: 0aa239908e4909d8kunm775c1cbd6fe1a X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVlCTh5PVk9DGBhNSxlCHkhLT1YVFA kWGhdVEwETFhoSFyQUDg9ZV1kYEgtZQVlJTFVIQ1VKSE1VSkxNWVdZFhoPEhUdFFlBWU9LSFVCQk lOS1VKS0tVSkJLQlkG DKIM-Signature: a=rsa-sha256; b=chP/OB1dKr/o/7NE41z6jDFvMuWSPgyYdN2TXcW0Ap1xw6Ksy/QQMsESgBvz5oQjOeY5f07nayHLq8WvBJcjZDJ4XBAGC/C3OX4RCqUMoXo4XSoTerhNhd5xWHUcAlNkZIdrhPyRLGn1polxsYwDoQErbmx39PiilgdyChzApfc=; s=default; c=relaxed/relaxed; d=senarytech.com; v=1; bh=tPlnCL3uesF/h+QnEG+lE2d7CY/Lf8mBTMZP5H+yE10=; h=date:mime-version:subject:message-id:from; Hi Pierre, Fair point on ordering =E2=80=94 I=E2=80=99m not trying to land a = one-sided extract that only SN622x uses without a plan for SN624x. Why SN624x stays on the existing driver in this series SN624x is already in-tree and validated on real platforms. This v3 = series is driven by SN622x bring-up and review feedback (including = reducing duplication with 624x). Pulling SN624x onto = senary-sdca-sdw-common in the same series would mean a large mechanical = refactor of a driver that is working today, with extra retest on = jack/UAJ + speaker + DMIC paths we don=E2=80=99t want to destabilize = while 622x is still new. What I=E2=80=99m proposing instead This series: add senary-sdca-sdw-common.c and wire it only into the = SN622x module; leave sn624x-sdca-sdw.c unchanged. Follow-up (separate patches): switch SN624x to the same helpers once = SN622x is settled =E2=80=94 same split you=E2=80=99d expect: common = helpers first (or with 622x as reference), then a SN624x-only refactor = with its own Tested-by / CI and no functional change intended. If you=E2=80=99d rather block 622x until 624x is converted first, I can = do that, but my read is that maintainers wanted to see decoupled = products (622 =E2=89=A0 624) without forcing a big 624x churn in the = initial upstream series. Happy to follow whatever ordering you and Mark = prefer. Thanks, Qianghua =20 -----Original----- From: Pierre-Louis Bossart =20 Sent: 23:46 12/2 2026=20 To: Qianghua Wang ; Mark Brown = Cc: linux-sound@vger.kernel.org; alsa-devel@alsa-project.org; Liam = Girdwood ; Jaroslav Kysela ; = Takashi Iwai ; Cezary Rojewski = ; Peter Ujfalusi = ; Kai Vehmanen = ; bo liu Subject: Re: [PATCH v3 1/3] ASoC: codecs: add SN622x SDCA SoundWire = codec support On 12/2/26 3:22 AM, Qianghua Wang wrote: > Add the snd-soc-sn622x-sdca SoundWire codec driver for Senary SN6220=20 > and > SN6224 SDCA devices (speaker SmartAmp + internal DMIC; no headset jack = > on the codec; HP/SPK analog mux is board-level). >=20 > Share SDCA/SDW helpers in senary-sdca-sdw-common.c linked by the=20 > SN622x module only (SN624x unchanged in this series). PDE and FU paths = > follow the well, if you introduce this common module, why not show how it's used = for SN624x first, then add the new driver for SN622x? > in-tree SN624x SDCA pattern (sdca_asoc, DAPM widgets). Bring-up only=20 > registers stay as small OEM fallbacks when ACPI init tables are=20 > absent; there are no debug mixer controls. Address review feedback on=20 > attach/PM/IRQ, DMIC DisCo handling, and MBQ volume programming.