mirror_ubuntu-kernels/sound/soc/intel/boards
Richard Fitzgerald 138a4e2a26
ASoC: Intel: sof_sdw_cs_amp: Connect outputs to a speaker widget
Hookup the CS35L56 DAPM_OUTPUT widgets to a DAPM_SPK widget so
that there is a complete logical path to a speaker.

There is no particular reason to use multiple speaker widgets.
The CS35L56 are designed to work together as a set so they have
all been connected to a single speaker widget.

Instead of a hardcoded list of codec widget names, the code walks
through all the codecs on the dailink and for every cs35l56 it uses
its name prefix to construct the source end of the route. This adds
a small amount of overhead during probe but has the benefit that it
isn't dependent on every system using the same prefixes.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231205135001.2506070-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-12-05 15:41:31 +00:00
..
bdw_rt286.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bdw-rt5650.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bdw-rt5677.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bxt_da7219_max98357a.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bxt_rt298.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bytcht_cx2072x.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bytcht_da7213.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bytcht_es8316.c ASoC: Intel: bytcht_es8316: Determine quirks/routing with codec-dev ACPI DSM 2023-12-04 17:20:31 +00:00
bytcht_nocodec.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bytcr_rt5640.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bytcr_rt5651.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bytcr_wm5102.c ASoC: Intel: bytcr_wm5102: Add BYT_WM5102_IN_MAP quirk 2023-10-25 17:21:14 +01:00
cht_bsw_max98090_ti.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
cht_bsw_nau8824.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
cht_bsw_rt5645.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
cht_bsw_rt5672.c ASoC: Intel: cht_bsw_rt5672: check return value 2023-11-27 16:32:51 +00:00
cml_rt1011_rt5682.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
ehl_rt5660.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
glk_rt5682_max98357a.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02: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: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
kbl_da7219_max98357a.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
kbl_da7219_max98927.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
kbl_rt5660.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
kbl_rt5663_max98927.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
kbl_rt5663_rt5514_max98927.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
Kconfig ASoC: Intel: bytcht_es8316: Dump basic _DSM information 2023-12-04 17:20:29 +00:00
Makefile ASoC: Intel: sof_sdw: Add rt722 support 2023-11-27 14:27:20 +00: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: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
skl_nau88l25_max98357a.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
skl_nau88l25_ssm4567.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
skl_rt286.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_board_helpers.c ASoC: Intel: board_helpers: support DAI link array generation 2023-11-27 16:33:08 +00:00
sof_board_helpers.h ASoC: Intel: board_helpers: support DAI link array generation 2023-11-27 16:33:08 +00:00
sof_cirrus_common.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_cirrus_common.h ASoC: Intel: use ACPI HID definition in ssp-common 2023-09-15 14:44:33 +01:00
sof_cs42l42.c ASoC: Intel: sof_cs42l42: use common module for BT offload link 2023-11-27 16:33:01 +00:00
sof_da7219.c ASoC: Intel: sof_da7219: use sof_hdmi_private to init HDMI 2023-10-12 20:27:56 +01:00
sof_es8336.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_hdmi_common.h ASoC: Intel: sof_hdmi: add common header for HDMI 2023-10-12 20:27:54 +01:00
sof_maxim_common.c ASoC: Intel: sof_maxim_common: check return value 2023-11-27 16:32:50 +00:00
sof_maxim_common.h ASoC: Intel: use ACPI HID definition in ssp-common 2023-09-15 14:44:33 +01:00
sof_nau8825.c ASoC: Intel: sof_nau8825: use common module for DAI link generation 2023-11-27 16:33:09 +00:00
sof_nuvoton_common.c ASoC: Intel: nuvoton-common: support nau8318 amplifier 2023-09-15 14:44:43 +01:00
sof_nuvoton_common.h ASoC: Intel: nuvoton-common: support nau8318 amplifier 2023-09-15 14:44:43 +01:00
sof_pcm512x.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_realtek_common.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_realtek_common.h ASoC: Intel: use ACPI HID definition in ssp-common 2023-09-15 14:44:33 +01:00
sof_rt5682.c ASoC: Intel: sof_rt5682: use common module for DAI link generation 2023-11-27 16:33:09 +00: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: Add rt722 support 2023-11-27 14:27:20 +00:00
sof_sdw_cs42l42.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_sdw_cs42l43.c ASoC: intel: sof_sdw_cs42l43: Create separate jacks for hp and mic 2023-10-19 19:00:15 +01:00
sof_sdw_cs_amp.c ASoC: Intel: sof_sdw_cs_amp: Connect outputs to a speaker widget 2023-12-05 15:41:31 +00: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: use sof_hdmi_private to init HDMI 2023-10-12 20:27:59 +01:00
sof_sdw_maxim.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_sdw_rt700.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_sdw_rt711.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_sdw_rt712_sdca.c ASoC: Intel: sof_sdw_rt712_sdca: construct cards->components by name_prefix 2023-10-12 20:27:48 +01: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_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_rt722_sdca.c ASoC: Intel: sof_sdw: Add rt722 support 2023-11-27 14:27:20 +00:00
sof_sdw_rt5682.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_sdw_rt_amp.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_sdw_rt_sdca_jack_common.c ASoC: Intel: sof_sdw: Add rt722 support 2023-11-27 14:27:20 +00:00
sof_sdw.c ASoC: Intel: Soundwire related board and match updates 2023-11-28 12:24:50 +00:00
sof_ssp_amp.c ASoC: Intel: sof_ssp_amp: use common module for HDMI-In link 2023-11-27 16:33:07 +00:00
sof_ssp_common.c ASoC: Intel: ssp-common: get codec name function 2023-11-27 16:32:51 +00:00
sof_ssp_common.h ASoC: Intel: ssp-common: get codec name function 2023-11-27 16:32:51 +00:00
sof_wm8804.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00