OpenCloudOS-Kernel/sound/soc/intel/boards
Bard Liao dc5a3e60a4
ASoC: Intel: sof_sdw: append codec type to dai link name
The existing sdw_sof machine driver constructs two SoundWire interfaces
by direction and sdw link id. It means that we will have exactly the
same dai link name if two dai links are on the same sdw link with the
same direction.
The new Realtek codec has two SoundWire interfaces for jack and DMIC
functions and they are treated as different codecs. To create two dai
links for jack and DMIC, we need to have different dai link names.
This patch suggests to append codec type if there are two or more
different types of devices on the same sdw bus.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20230419195524.46995-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-04-20 12:51:53 +01:00
..
Kconfig ASoC: Intel: fix sof-nau8825 link failure 2022-12-26 23:23:17 +00:00
Makefile ASoC: Intel: sof_sdw: use common helpers for all Realtek amps 2022-12-07 14:19:08 +00:00
bdw-rt5650.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
bdw-rt5677.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
bdw_rt286.c ASoC: Intel: bdw_rt286: Refactor jack handling 2022-11-29 12:13:13 +00:00
bxt_da7219_max98357a.c ASoC: Intel: Drop da7219_aad_jack_det() usage 2022-11-07 13:58:14 +00:00
bxt_rt298.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
bytcht_cx2072x.c ASoC: Intel: bytcht_cx2072x: Replace open coded acpi_dev_put() 2023-01-05 11:15:27 +00:00
bytcht_da7213.c ASoC: Intel: bytcht_da7213: Replace open coded acpi_dev_put() 2023-01-05 11:15:28 +00:00
bytcht_es8316.c ASoC: Intel: bytcht_es8316: Convert to platform remove callback returning void 2023-03-20 13:08:24 +00:00
bytcht_nocodec.c ASoC: Intel: Update to use set_fmt_new callback 2022-06-06 12:33:36 +01:00
bytcr_rt5640.c ASoC: Merge fixes 2023-03-30 00:14:00 +01:00
bytcr_rt5651.c ASoC: Intel: boards: bytcr_rt5651: Convert to platform remove callback returning void 2023-03-20 13:08:26 +00:00
bytcr_wm5102.c ASoC: Intel: bytcr_wm5102: Convert to platform remove callback returning void 2023-03-20 13:08:27 +00:00
cht_bsw_max98090_ti.c ASoC: Intel: cht_bsw_max98090_ti: Convert to platform remove callback returning void 2023-03-20 13:08:28 +00:00
cht_bsw_nau8824.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
cht_bsw_rt5645.c ASoC: Intel: cht_bsw_rt5645: Replace open coded acpi_dev_put() 2023-01-05 11:15:29 +00:00
cht_bsw_rt5672.c ASoC: Intel: cht_bsw_rt5672: Replace open coded acpi_dev_put() 2023-01-05 11:15:30 +00:00
cml_rt1011_rt5682.c ASoC: Intel: cml_rt1011_rt5682: remap jack pins 2022-06-17 10:46:30 +01:00
ehl_rt5660.c ASoC: Intel: use MODULE_DEVICE_TABLE with platform_device_id tables 2021-06-22 12:47:09 +01:00
glk_rt5682_max98357a.c ASoC: Intel: glk_rt5682_max98357a: remap jack pins 2022-06-17 10:46:29 +01:00
hda_dsp_common.c ASoC: Intel: Drop hdac_ext usage for codec device creation 2022-08-18 09:46:43 +02:00
hda_dsp_common.h ASoC: Intel: hda_dsp_common: use static function in conditional block 2020-09-23 18:47:59 +01:00
hsw_rt5640.c ASoC: Intel: hsw_rt5640: Mark BE DAI as nonatomic 2022-07-15 14:24:33 +01:00
kbl_da7219_max98357a.c ASoC: Intel: Drop da7219_aad_jack_det() usage 2022-11-07 13:58:14 +00:00
kbl_da7219_max98927.c ASoC: Intel: Drop da7219_aad_jack_det() usage 2022-11-07 13:58:14 +00:00
kbl_rt5660.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
kbl_rt5663_max98927.c ASoC: Intel: kbl_rt5663_max98927: remap jack pins 2022-06-17 10:46:24 +01:00
kbl_rt5663_rt5514_max98927.c ASoC: Intel: kbl_rt5663_rt5514_max98927: remap jack pins 2022-06-17 10:46:27 +01:00
skl_hda_dsp_common.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
skl_hda_dsp_common.h ASoC: intel/skl/hda - fix probe regression on systems without i915 2020-07-22 13:34:24 +01:00
skl_hda_dsp_generic.c ASoC: Intel: Drop hdac_ext usage for codec device creation 2022-08-18 09:46:43 +02:00
skl_nau88l25_max98357a.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
skl_nau88l25_ssm4567.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
skl_rt286.c ASoC: codecs: rt286: Reorganize jack detect handling 2022-06-10 13:32:17 +01:00
sof_cirrus_common.c ASoC: Intel: sof_cirrus_common: Guard against missing buses 2023-04-20 12:51:48 +01:00
sof_cirrus_common.h ASoC: Intel: cirrus-common: support cs35l41 amplifier 2022-03-02 13:43:42 +00:00
sof_cs42l42.c ASoC: Intel: sof_cs42l42: always set dpcm_capture for amplifiers 2023-01-19 16:54:09 +00:00
sof_da7219_max98373.c ASoC: Intel: Drop da7219_aad_jack_det() usage 2022-11-07 13:58:14 +00:00
sof_es8336.c ASoC: Intel: sof_es8336: Convert to platform remove callback returning void 2023-03-20 13:08:29 +00:00
sof_maxim_common.c ASoC: Intel: boards: add 'static' qualifiers for max98390 routes 2021-12-08 13:07:57 +00:00
sof_maxim_common.h ASoC: Intel: boards: add max98390 2/4 speakers support 2021-11-30 13:08:14 +00:00
sof_nau8825.c ASoC: Intel: sof_nau8825: always set dpcm_capture for amplifiers 2023-01-19 16:54:10 +00:00
sof_pcm512x.c ASoC: Intel: sof_pcm512x: Convert to platform remove callback returning void 2023-03-20 13:08:30 +00:00
sof_realtek_common.c ASoC: Intel: sof_realtek_common: set ret = 0 as initial value 2022-12-07 14:19:09 +00:00
sof_realtek_common.h ASoC: Intel: sof_rt5682: remove SOF_RT1015_SPEAKER_AMP_100FS flag 2022-09-30 09:16:32 +01:00
sof_rt5682.c ASoC: Intel: Add rpl_mx98360_rt5682 driver 2023-04-06 18:04:22 +01:00
sof_sdw.c ASoC: Intel: sof_sdw: append codec type to dai link name 2023-04-20 12:51:53 +01:00
sof_sdw_amp_coeff_tables.h ASoC: Intel: sof_sdw_amp: mark coeff tables with __maybe_unused 2022-11-18 14:04:42 +00:00
sof_sdw_common.h ASoC: Intel: sof_sdw_max98373: change sof_sdw_mx8373_late_probe to static call 2023-04-20 12:51:51 +01:00
sof_sdw_dmic.c ASoC: Intel: sof_sdw: clean-up inclusion of header files 2020-08-24 13:41:36 +01:00
sof_sdw_hdmi.c ASoC: Intel: sof_sdw: remove hdac-hdmi support 2021-06-22 12:47:03 +01:00
sof_sdw_max98373.c ASoC: Intel: sof_sdw_max98373: change sof_sdw_mx8373_late_probe to static call 2023-04-20 12:51:51 +01:00
sof_sdw_rt700.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_sdw_rt711.c ASoC: Intel: sof_sdw: avoid oops in error handling 2022-07-15 17:10:54 +01:00
sof_sdw_rt711_sdca.c ASoC: Intel: sof_sdw: avoid oops in error handling 2022-07-15 17:10:54 +01:00
sof_sdw_rt715.c ASoC: intel: sof_sdw: move DMIC link id overwrite to create_sdw_dailink 2021-11-15 13:26:55 +00:00
sof_sdw_rt715_sdca.c ASoC: intel: sof_sdw: move DMIC link id overwrite to create_sdw_dailink 2021-11-15 13:26:55 +00:00
sof_sdw_rt5682.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_sdw_rt_amp.c ASoC: Intel: sof_sdw: use common helpers for all Realtek amps 2022-12-07 14:19:08 +00:00
sof_ssp_amp.c ASoC: Updates for v6.3 2023-02-16 14:32:04 +01:00
sof_wm8804.c ASoC: Intel: sof_wm8804: Convert to platform remove callback returning void 2023-03-20 13:08:32 +00:00