From patchwork Fri Mar 3 09:34:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 13158587 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0231EC64EC4 for ; Fri, 3 Mar 2023 09:36:22 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8309493A; Fri, 3 Mar 2023 10:35:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8309493A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1677836180; bh=AQr/ikDouey2IdPhe7+J4WzxhgyJNLqvTg1LOCy8rTU=; h=From:To:Subject:Date:CC:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=oQ2A8IrEmXb9/D6RW8yPhrTyo7WbIWN3I3eBGJFibskaXYbPese+tm9Holj9xTKsu x3jc4ScLztplSqrVWFIX2hbTIAFBmoze8dgi5RI9id2tZeEXjcfYbvH7FSJ0lHFucO TBV7fRw7IOSnQU31yVjZOeZtYk/aA/ovbC1KRD68= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id DAB2BF800BA; Fri, 3 Mar 2023 10:35:08 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6B017F80266; Fri, 3 Mar 2023 10:35:05 +0100 (CET) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C21FAF800BA for ; Fri, 3 Mar 2023 10:34:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C21FAF800BA Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=Ajil5Dx2 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 To: alsa-devel@alsa-project.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 Message-ID-Hash: AGFAXZAZW6C4PSCJIXMBVBOKYZMN6WZO X-Message-ID-Hash: AGFAXZAZW6C4PSCJIXMBVBOKYZMN6WZO X-MailFrom: luca.ceresoli@bootlin.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Thomas Petazzoni , Luca Ceresoli , Liam Girdwood , Mark Brown , Takashi Iwai , Viorel Suman , Shengjiu Wang , linux-kernel@vger.kernel.org X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 --- Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Viorel Suman Cc: Shengjiu Wang Cc: alsa-devel@alsa-project.org Cc: linux-kernel@vger.kernel.org --- sound/soc/fsl/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) 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