From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.219 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796303031; b=phH8qGCEULtg9oKkp9Szy9Hc/4cRDvpzBxDX+MKBREmattYOS03KxMPANWitZG9CLPcx 6wSoCnn7wyWMPmv+5iAkmUZL6awD72hkQMYGuViJ2//zj1MtOwqg1YQb5y0qPy2Y81sL9 t/RJMOMgNMHF3bCYoUoj+2JB4iRi5fulOVY3+NwtBLMB2cTKl5DqBQFmo9J5judaiA1qc FSEudSbAOMg649J3zwjP2iFGRpPWTlJesvQ8Ly4T8OYvlG5xKAs+mGzsQR8p6biUjPRuB I2vmoX2LjNPNJHFDxyJmnujUe9ke5NDIi37W+kQRS+WZovGgceP+RS6dQ2p22EtlX2Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796303031; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Message-ID:Date:MIME-Version:User-Agent: Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=WcqzCpZd2GuKeKL7xZIGx9zWsasv57bk8j5MKvuAqPY=; b=uSwSqLXi5KnBcuitlcM7Khltz+7tUqQaJPEuSzOP3mdlsVux7LiFniCC/ElRbWklEN4Z /qNPOZeCb54ArxJgalMzOcBzjxkR6O28/ii2ktkIMbx44DmFYqOw/AnZfBQigBt1GS0/w fgvdU8x4hh3Hibh1E+3aozYGn+TIleiVAsDF+DaR5BzpZBKlgEdRQZGg8MjbDaFs1k52Y qjMvIyjgpJS6YFgrel4578/VnTmv04KEWCqDc9lQqeqdlnTUQdNWc2KQSwqgZHpJ7z/M0 Fiio+Yz1hqvy1dMpbFPL9hr92ipbIz+/9BJaXiYM5HWBsCN8VyXLU8R4n+5jkhhC7uA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=qLGZDSWR; arc=none smtp.remote-ip=91.218.175.219 Received: from mta0.migadu.com (out-219.mta0.migadu.com [91.218.175.219]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2FC3606A32C for ; Thu, 3 Dec 2026 13:03:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E2FC3606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=qLGZDSWR X-Envelope-To: linux-sound@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=+rKhzKrcewnpk0ghqKd8a5aHZHYbs5WEqVTngKZgn0k=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1796303029; v=1; x=1796907829; b=qLGZDSWRmbLwwsddn1z0SDnYrhpsoWVySHyN6NjGynk7zoAre7i1bcCXV8aAn1voU2QZPUNc q/Nc8wEVlj8sPYkCy7z899z7jDSgB7Ev76tF3ddO2Z9tnMtVfjk7Kr/AUSWiDPPD0TGHdk+38I3 4qnbCadezFRKWsy5ART3z8kE= X-Envelope-To: linux-sound@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id af174f3fa9e94f76; Thu, 03 Dec 2026 13:03:48 +0000 X-Mizu-Trace-ID: af174f3fa9e94f76 X-Migadu-Flow: FLOW_OUT Message-ID: <38822201-42c1-4caa-8adb-fffbcd6fcb96@linux.dev> Date: Thu, 3 Dec 2026 13:35:28 +0100 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 User-Agent: Mozilla Thunderbird Subject: Re: reply: [PATCH v3 1/3] ASoC: codecs: add SN622x SDCA SoundWire codec support To: qianghua.wang@senarytech.com, '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' References: <20261202022209.77448-1-qianghua.wang@senarytech.com> <20261202022209.77448-2-qianghua.wang@senarytech.com> <7b068354-633e-4b51-8e19-210400998b5a@linux.dev> <00f501dd82c7$75bc9960$6135cc20$@senarytech.com> Content-Language: en-US From: Pierre-Louis Bossart In-Reply-To: <00f501dd82c7$75bc9960$6135cc20$@senarytech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 12/3/26 02:41, qianghua.wang@senarytech.com wrote: > Hi Pierre, > Fair point on ordering — I’m 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’t want to destabilize while 622x is still new. > > What I’m 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 — same split you’d 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’d rather block 622x until 624x is converted first, I can do that, but my read is that maintainers wanted to see decoupled products (622 ≠ 624) without forcing a big 624x churn in the initial upstream series. Happy to follow whatever ordering you and Mark prefer. My preference as a reviewer is to focus on what's different between drivers or specific to a given hardware version, rather than scroll down pages after pages of identical stuff. It's boring and difficult to review. I don't view the extraction of common parts as a major risk for the existing SN624 but it's not zero-risk either - every refactoring can lead to mistakes. Mark, what would you recommend?