Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Cezary Rojewski <cezary.rojewski@intel.com>
To: broonie@kernel.org
Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org,
	tiwai@suse.com, perex@perex.cz,
	amadeuszx.slawinski@linux.intel.com,
	pierre-louis.bossart@linux.intel.com, hdegoede@redhat.com,
	andriy.shevchenko@linux.intel.com, cujomalainey@chromium.org,
	lmajczak@google.com, Cezary Rojewski <cezary.rojewski@intel.com>
Subject: [PATCH v2 01/14] ALSA: hda: Move SST device entries to AVS
Date: Wed, 14 Aug 2024 10:39:16 +0200	[thread overview]
Message-ID: <20240814083929.1217319-2-cezary.rojewski@intel.com> (raw)
In-Reply-To: <20240814083929.1217319-1-cezary.rojewski@intel.com>

The avs-driver succeeds the skylake-driver. It suppots all
configurations of its predecessor and more. Reflect that in the existing
selection table.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
---
 sound/hda/intel-dsp-config.c | 111 ++++++++++++++++-------------------
 1 file changed, 50 insertions(+), 61 deletions(-)

diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c
index 913880b09065..f018bd779862 100644
--- a/sound/hda/intel-dsp-config.c
+++ b/sound/hda/intel-dsp-config.c
@@ -56,10 +56,59 @@ static const struct config_entry config_table[] = {
 	},
 #endif
 /*
- * Apollolake (Broxton-P)
+ * Skylake, Kabylake, Apollolake
  * the legacy HDAudio driver is used except on Up Squared (SOF) and
  * Chromebooks (SST), as well as devices based on the ES8336 codec
  */
+#if IS_ENABLED(CONFIG_SND_SOC_INTEL_AVS)
+	{
+		.flags = FLAG_SST,
+		.device = PCI_DEVICE_ID_INTEL_HDA_SKL_LP,
+		.dmi_table = (const struct dmi_system_id []) {
+			{
+				.ident = "Google Chromebooks",
+				.matches = {
+					DMI_MATCH(DMI_SYS_VENDOR, "Google"),
+				}
+			},
+			{}
+		}
+	},
+	{
+		.flags = FLAG_SST | FLAG_SST_ONLY_IF_DMIC,
+		.device = PCI_DEVICE_ID_INTEL_HDA_SKL_LP,
+	},
+	{
+		.flags = FLAG_SST,
+		.device = PCI_DEVICE_ID_INTEL_HDA_KBL_LP,
+		.dmi_table = (const struct dmi_system_id []) {
+			{
+				.ident = "Google Chromebooks",
+				.matches = {
+					DMI_MATCH(DMI_SYS_VENDOR, "Google"),
+				}
+			},
+			{}
+		}
+	},
+	{
+		.flags = FLAG_SST | FLAG_SST_ONLY_IF_DMIC,
+		.device = PCI_DEVICE_ID_INTEL_HDA_KBL_LP,
+	},
+	{
+		.flags = FLAG_SST,
+		.device = PCI_DEVICE_ID_INTEL_HDA_APL,
+		.dmi_table = (const struct dmi_system_id []) {
+			{
+				.ident = "Google Chromebooks",
+				.matches = {
+					DMI_MATCH(DMI_SYS_VENDOR, "Google"),
+				}
+			},
+			{}
+		}
+	},
+#endif
 #if IS_ENABLED(CONFIG_SND_SOC_SOF_APOLLOLAKE)
 	{
 		.flags = FLAG_SOF,
@@ -81,66 +130,6 @@ static const struct config_entry config_table[] = {
 		.codec_hid =  &essx_83x6,
 	},
 #endif
-#if IS_ENABLED(CONFIG_SND_SOC_INTEL_APL)
-	{
-		.flags = FLAG_SST,
-		.device = PCI_DEVICE_ID_INTEL_HDA_APL,
-		.dmi_table = (const struct dmi_system_id []) {
-			{
-				.ident = "Google Chromebooks",
-				.matches = {
-					DMI_MATCH(DMI_SYS_VENDOR, "Google"),
-				}
-			},
-			{}
-		}
-	},
-#endif
-/*
- * Skylake and Kabylake use legacy HDAudio driver except for Google
- * Chromebooks (SST)
- */
-
-/* Sunrise Point-LP */
-#if IS_ENABLED(CONFIG_SND_SOC_INTEL_SKL)
-	{
-		.flags = FLAG_SST,
-		.device = PCI_DEVICE_ID_INTEL_HDA_SKL_LP,
-		.dmi_table = (const struct dmi_system_id []) {
-			{
-				.ident = "Google Chromebooks",
-				.matches = {
-					DMI_MATCH(DMI_SYS_VENDOR, "Google"),
-				}
-			},
-			{}
-		}
-	},
-	{
-		.flags = FLAG_SST | FLAG_SST_ONLY_IF_DMIC,
-		.device = PCI_DEVICE_ID_INTEL_HDA_SKL_LP,
-	},
-#endif
-/* Kabylake-LP */
-#if IS_ENABLED(CONFIG_SND_SOC_INTEL_KBL)
-	{
-		.flags = FLAG_SST,
-		.device = PCI_DEVICE_ID_INTEL_HDA_KBL_LP,
-		.dmi_table = (const struct dmi_system_id []) {
-			{
-				.ident = "Google Chromebooks",
-				.matches = {
-					DMI_MATCH(DMI_SYS_VENDOR, "Google"),
-				}
-			},
-			{}
-		}
-	},
-	{
-		.flags = FLAG_SST | FLAG_SST_ONLY_IF_DMIC,
-		.device = PCI_DEVICE_ID_INTEL_HDA_KBL_LP,
-	},
-#endif
 
 /*
  * Geminilake uses legacy HDAudio driver except for Google
-- 
2.25.1


  reply	other threads:[~2024-08-14  8:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-14  8:39 [PATCH v2 00/14] ASoC: Intel: Remove skylake driver Cezary Rojewski
2024-08-14  8:39 ` Cezary Rojewski [this message]
2024-08-16 22:06   ` [PATCH v2 01/14] ALSA: hda: Move SST device entries to AVS Mark Brown
2024-08-17  7:45     ` Takashi Iwai
2024-08-14  8:39 ` [PATCH v2 02/14] ASoC: Intel: Drop skl_machine_pdata usage Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 03/14] ASoC: Intel: Remove bxt_rt298 board driver Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 04/14] ASoC: Intel: Remove bxt_da7219_max98357a " Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 05/14] ASoC: Intel: Remove kbl_rt5663_rt5514_max98927 " Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 06/14] ASoC: Intel: Remove kbl_rt5663_max98927 " Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 07/14] ASoC: Intel: Remove kbl_rt5660 " Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 08/14] ASoC: Intel: Remove kbl_da7219_max98927 " Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 09/14] ASoC: Intel: Remove kbl_da7219_max98357a " Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 10/14] ASoC: Intel: Remove skl_rt286 " Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 11/14] ASoC: Intel: Remove skl_nau88l25_ssm4567 " Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 12/14] ASoC: Intel: Remove skl_nau88l25_max98357a " Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 13/14] ASoC: Intel: Remove skylake driver Cezary Rojewski
2024-08-14  8:39 ` [PATCH v2 14/14] ASoC: Intel: avs: Enable by default for all SST configurations Cezary Rojewski
2024-08-14 14:42 ` [PATCH v2 00/14] ASoC: Intel: Remove skylake driver Andy Shevchenko
2024-08-14 14:48   ` Cezary Rojewski
2024-08-20 12:44 ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240814083929.1217319-2-cezary.rojewski@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=amadeuszx.slawinski@linux.intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=cujomalainey@chromium.org \
    --cc=hdegoede@redhat.com \
    --cc=linux-sound@vger.kernel.org \
    --cc=lmajczak@google.com \
    --cc=perex@perex.cz \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox