Message ID | 20230303093410.357621-1-luca.ceresoli@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp319777wrd; Fri, 3 Mar 2023 01:45:46 -0800 (PST) X-Google-Smtp-Source: AK7set8di0yBK+q3Va9Ne6vJimvkb+hzK97TB5t+GuAB4UM0WbVX9NAjhKxg53Vzcm3TyZVb9Ag5 X-Received: by 2002:a17:90b:3b8b:b0:237:62c6:ab64 with SMTP id pc11-20020a17090b3b8b00b0023762c6ab64mr1028662pjb.38.1677836746396; Fri, 03 Mar 2023 01:45:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677836746; cv=none; d=google.com; s=arc-20160816; b=KmcjlC9stC0y01VDJT3d7xYoOZPpaYG3i0skjKj2drJxd3CuCH/xXE7iSVwFigz4D1 Wx5Ed6Rm0FQDhE9syzyNGFc3gszp1x2xrVe7N/Y6Ut0DEq72ue0TuGMtHOClbCVTol3C bjMbjA2zYGuoFaA/waBiUbqRXDgWdZN2E8wUzReoEucZrrr322TZ5x7X2Ii+GyEQBZ/t cKWdBdQjxdtW22Pj0NWhCoVcQTU+LWom+wbU4sUHXkWQYw2c1UihMxMoQ0ll1zv0j3ku e4ujKaykN4zvQdNfQxsRC+TCEXf0MZPRgT5ePgsFntJPeEamBHdxtradqUnsGiHaH16n UX7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PPN/c3ipGWQR2bm5yNDVoKeti4qZhppCJONmVazuaCg=; b=sfHtUh5MhUb+AXJSP508oFzFT4uYB0OToduzv+PTcLgFYm/TFGcA2KOo1rLpUhl1n8 YbKPZ1i9Cg1sQY7FUsl2UQBzkw/1kD+0UgPg1ID7I+nFz8c6Zaa2bgvevLLzuu+Q3tPa il7Z6c/oEShcGBKVpNoD4Ks5Mhve6nw4XGaS6LTyD4IUQcmOMjYIgbXzieqEhaEhMH9G BF8tOHWowPZNJHgzGJP73h7rDg6Q8iQNo0OB67ZMkagYoDjBnIw/qDQZkaYMBqV0ya9D yvf/XsweE07vuGcQTMkEmq94CHhzatYta3ghp6lEe+u2Qx/fphI7xz+r1XXajnf4Mes9 Tlow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Ajil5Dx2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf17-20020a17090b1d9100b0023a6f7b3cccsi1145652pjb.184.2023.03.03.01.45.33; Fri, 03 Mar 2023 01:45:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Ajil5Dx2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229725AbjCCJe7 (ORCPT <rfc822;davidbtadokoro@gmail.com> + 99 others); Fri, 3 Mar 2023 04:34:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230179AbjCCJe6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 3 Mar 2023 04:34:58 -0500 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CAE91421B for <linux-kernel@vger.kernel.org>; Fri, 3 Mar 2023 01:34:55 -0800 (PST) Received: from booty.fritz.box (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 44D71240002; Fri, 3 Mar 2023 09:34:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1677836093; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=PPN/c3ipGWQR2bm5yNDVoKeti4qZhppCJONmVazuaCg=; b=Ajil5Dx2W9lyJXw8nlQ5udAC8XIZHc77lK2KbEGwbqJzeLdz+nnFA+hzJ9+zpOn2KKLkuR wVy9khYUqsWqyeDWJ+vmRRDqmoqBollU6q9HZaBFp+JXwFKyRy5fhBSM9LfUFsdIaspwDh ZcQT7QDVx+o/faXFKfcXcstlFVQJNGd1AeuCbVtBNd/MhGFWVK33z9j7zuyrYZdwvUnLNe KpprY5zxwRWJIOWWiTnJhauST0OJssoOk0huljVIO+OSRDG2vfDnDwuQEC7sxxLyvqKQfm FNZZT6UX6x/iOohN9+A9J5qKA40+vtPbXYHLRfCUsd5IoWg2nfcFMGR0zvJ0Yg== From: Luca Ceresoli <luca.ceresoli@bootlin.com> To: alsa-devel@alsa-project.org Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Luca Ceresoli <luca.ceresoli@bootlin.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Viorel Suman <viorel.suman@nxp.com>, Shengjiu Wang <shengjiu.wang@nxp.com>, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: clarify that SND_SOC_IMX_SGTL5000 is the old driver Date: Fri, 3 Mar 2023 10:34:10 +0100 Message-Id: <20230303093410.357621-1-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759339344234176560?= X-GMAIL-MSGID: =?utf-8?q?1759339344234176560?= |
Series |
ASoC: clarify that SND_SOC_IMX_SGTL5000 is the old driver
|
|
Commit Message
Luca Ceresoli
March 3, 2023, 9:34 a.m. UTC
Both SND_SOC_IMX_SGTL5000 and SND_SOC_FSL_ASOC_CARD implement the
fsl,imx-audio-sgtl5000 compatible string, which is confusing. It took a
little research to find out that the latter is much newer and it is
supposed to be the preferred choice since several years.
Add a clarification note to avoid wasting time for future readers.
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Viorel Suman <viorel.suman@nxp.com>
Cc: Shengjiu Wang <shengjiu.wang@nxp.com>
Cc: alsa-devel@alsa-project.org
Cc: linux-kernel@vger.kernel.org
---
sound/soc/fsl/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
Comments
On Fri, Mar 03, 2023 at 10:34:10AM +0100, Luca Ceresoli wrote: > Both SND_SOC_IMX_SGTL5000 and SND_SOC_FSL_ASOC_CARD implement the > fsl,imx-audio-sgtl5000 compatible string, which is confusing. It took a > little research to find out that the latter is much newer and it is > supposed to be the preferred choice since several years. > > Add a clarification note to avoid wasting time for future readers. Perhaps it's time to just retire the old driver?
On Fri, 03 Mar 2023 10:34:10 +0100, Luca Ceresoli wrote: > Both SND_SOC_IMX_SGTL5000 and SND_SOC_FSL_ASOC_CARD implement the > fsl,imx-audio-sgtl5000 compatible string, which is confusing. It took a > little research to find out that the latter is much newer and it is > supposed to be the preferred choice since several years. > > Add a clarification note to avoid wasting time for future readers. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: clarify that SND_SOC_IMX_SGTL5000 is the old driver commit: 03d0f97fdb45c99cf6f808832db8bd5534e22374 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index 614eceda6b9e..33b67db8794e 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -294,6 +294,10 @@ config SND_SOC_IMX_SGTL5000 Say Y if you want to add support for SoC audio on an i.MX board with a sgtl5000 codec. + Note that this is an old driver. Consider enabling + SND_SOC_FSL_ASOC_CARD and SND_SOC_SGTL5000 to use the newer + driver. + config SND_SOC_IMX_SPDIF tristate "SoC Audio support for i.MX boards with S/PDIF" select SND_SOC_IMX_PCM_DMA