Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 150
Kconfig: add CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC dependent#1989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -413,13 +413,13 @@ config SND_SOC_INTEL_KBL_RT5660_MACH | ||
| endif ## SND_SOC_INTEL_KBL | ||
| if SND_SOC_SOF_GEMINILAKE && SND_SOC_SOF_HDA_LINK | ||
| if SND_SOC_SOF_GEMINILAKE | ||
| config SND_SOC_INTEL_GLK_DA7219_MAX98357A_MACH | ||
| tristate "GLK with DA7219 and MAX98357A in I2S Mode" | ||
| depends on I2C && ACPI && GPIOLIB | ||
| depends on MFD_INTEL_LPSS || COMPILE_TEST | ||
| depends on SND_HDA_CODEC_HDMI | ||
| depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC | ||
| select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON | ||
| help | ||
| This adds support for ASoC machine driver for Geminilake platforms | ||
| @@ -431,7 +431,7 @@ config SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH | ||
| tristate "GLK with RT5682 and MAX98357A in I2S Mode" | ||
| depends on I2C && ACPI && GPIOLIB | ||
| depends on MFD_INTEL_LPSS || COMPILE_TEST | ||
| depends on SND_HDA_CODEC_HDMI | ||
| depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC | ||
kv2019i marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| select SND_SOC_RT5682 | ||
| select SND_SOC_MAX98357A | ||
| select SND_SOC_DMIC | ||
| @@ -442,7 +442,7 @@ config SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH | ||
| Say Y if you have such a device. | ||
| If unsure select "N". | ||
| endif ## SND_SOC_SOF_GEMINILAKE && SND_SOC_SOF_HDA_LINK | ||
| endif ## SND_SOC_SOF_GEMINILAKE | ||
| if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC | ||
| @@ -465,9 +465,9 @@ if SND_SOC_SOF_HDA_LINK || SND_SOC_SOF_BAYTRAIL | ||
| config SND_SOC_INTEL_SOF_RT5682_MACH | ||
| tristate "SOF with rt5682 codec in I2S Mode" | ||
| depends on I2C && ACPI && GPIOLIB | ||
| depends on (SND_SOC_SOF_HDA_LINK && (MFD_INTEL_LPSS || COMPILE_TEST)) ||\ | ||
| depends on ((SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC) &&\ | ||
| (MFD_INTEL_LPSS || COMPILE_TEST)) ||\ | ||
| (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST)) | ||
| depends on SND_HDA_CODEC_HDMI | ||
| select SND_SOC_MAX98373 | ||
| select SND_SOC_RT1015 | ||
| select SND_SOC_RT5682 | ||
| @@ -511,7 +511,7 @@ config SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH | ||
| tristate "CML with RT1011 and RT5682 in I2S Mode" | ||
| depends on I2C && ACPI && GPIOLIB | ||
| depends on MFD_INTEL_LPSS || COMPILE_TEST | ||
| depends on SND_HDA_CODEC_HDMI | ||
| depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC | ||
kv2019i marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| select SND_SOC_RT1011 | ||
| select SND_SOC_RT5682 | ||
| select SND_SOC_DMIC | ||
| @@ -530,7 +530,7 @@ config SND_SOC_INTEL_SOF_DA7219_MAX98373_MACH | ||
| tristate "SOF with DA7219 and MAX98373/MAX98360A in I2S Mode" | ||
| depends on I2C && ACPI && GPIOLIB | ||
| depends on MFD_INTEL_LPSS || COMPILE_TEST | ||
| depends on SND_HDA_CODEC_HDMI | ||
| depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC | ||
kv2019i marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| select SND_SOC_DA7219 | ||
| select SND_SOC_MAX98373 | ||
| select SND_SOC_DMIC | ||
| @@ -548,7 +548,7 @@ config SND_SOC_INTEL_EHL_RT5660_MACH | ||
| tristate "EHL with RT5660 in I2S mode" | ||
| depends on I2C && ACPI && GPIOLIB | ||
| depends on MFD_INTEL_LPSS || COMPILE_TEST | ||
| depends on SND_HDA_CODEC_HDMI | ||
| depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC | ||
kv2019i marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| select SND_SOC_RT5660 | ||
| select SND_SOC_DMIC | ||
| help | ||
| @@ -565,7 +565,7 @@ config SND_SOC_INTEL_SOUNDWIRE_SOF_MACH | ||
| depends on MFD_INTEL_LPSS || COMPILE_TEST | ||
| depends on SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES || COMPILE_TEST | ||
| depends on SOUNDWIRE | ||
| depends on SND_HDA_CODEC_HDMI | ||
| depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC | ||
kv2019i marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| select SND_SOC_RT700_SDW | ||
| select SND_SOC_RT711_SDW | ||
| select SND_SOC_RT1308_SDW | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -663,9 +663,7 @@ static int sof_card_dai_links_create(struct device *dev, | ||
| struct snd_soc_card *card) | ||
| { | ||
| int ssp_num, sdw_be_num = 0, hdmi_num = 0, dmic_num; | ||
| #if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC) | ||
plbossart marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| struct snd_soc_dai_link_component *idisp_components; | ||
| #endif | ||
| struct snd_soc_dai_link_component *ssp_components; | ||
| struct snd_soc_acpi_mach_params *mach_params; | ||
| const struct snd_soc_acpi_link_adr *adr_link; | ||
| @@ -686,10 +684,8 @@ static int sof_card_dai_links_create(struct device *dev, | ||
| for (i = 0; i < ARRAY_SIZE(codec_info_list); i++) | ||
| codec_info_list[i].amp_num = 0; | ||
| #if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC) | ||
| hdmi_num = sof_sdw_quirk & SOF_SDW_TGL_HDMI ? | ||
| SOF_TGL_HDMI_COUNT : SOF_PRE_TGL_HDMI_COUNT; | ||
| #endif | ||
| ssp_mask = SOF_SSP_GET_PORT(sof_sdw_quirk); | ||
| /* | ||
| @@ -849,7 +845,6 @@ static int sof_card_dai_links_create(struct device *dev, | ||
| INC_ID(be_id, cpu_id, link_id); | ||
| } | ||
| #if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC) | ||
| /* HDMI */ | ||
| if (hdmi_num > 0) { | ||
| idisp_components = devm_kcalloc(dev, hdmi_num, | ||
| @@ -886,7 +881,6 @@ static int sof_card_dai_links_create(struct device *dev, | ||
| sof_sdw_hdmi_init, NULL); | ||
| INC_ID(be_id, cpu_id, link_id); | ||
| } | ||
| #endif | ||
| card->dai_link = links; | ||
| card->num_links = num_links; | ||
| @@ -919,9 +913,7 @@ static int mc_probe(struct platform_device *pdev) | ||
| dmi_check_system(sof_sdw_quirk_table); | ||
| #if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC) | ||
| INIT_LIST_HEAD(&ctx->hdmi_pcm_list); | ||
| #endif | ||
| card->dev = &pdev->dev; | ||
Uh oh!
There was an error while loading. Please reload this page.