mirror_ubuntu-kernels/sound/soc/intel/boards
Maciej Strozek b831b4dca4
ASoC: intel: sof_sdw: Add support for cs42l43-cs35l56 sidecar amps
The cs42l43 has both a SPI master and an I2S interface, these can
be used to populate 2 cs35l56 amplifiers as sidecar devices along
side the cs42l43. Giving a system that looks like:

  +-----+           +---------+ <- SPI -> +---------+
  | CPU | <- SDW -> | CS42L43 |           | CS35L56 |
  +-----+           +---------+ <- I2S -> +---------+

Add a quirk to specify this feature is present and use it to add
codec to codec DAI link to connect the amplifiers into the sound
card, add appropriate widgets, and setup clocking on the
amplifiers.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240426152123.36284-13-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-04-30 00:10:07 +09: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
bridge_cs35l56.c ASoC: intel: sof_sdw: Add support for cs42l43-cs35l56 sidecar amps 2024-04-30 00:10:07 +09:00
bxt_da7219_max98357a.c ASoC: Intel: Disable route checks for Skylake boards 2024-03-25 00:32:37 +00:00
bxt_rt298.c ASoC: Intel: Disable route checks for Skylake boards 2024-03-25 00:32:37 +00:00
bytcht_cx2072x.c ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards 2024-02-11 16:57:23 +00:00
bytcht_da7213.c ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards 2024-02-11 16:57:23 +00:00
bytcht_es8316.c ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards 2024-02-11 16:57:23 +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: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet 2024-02-29 12:22:50 +00:00
bytcr_rt5651.c ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards 2024-02-11 16:57:23 +00:00
bytcr_wm5102.c ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards 2024-02-11 16:57:23 +00: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: cht_bsw_rt5645: Cleanup codec_name handling 2024-02-11 16:57:24 +00:00
cht_bsw_rt5672.c ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards 2024-02-11 16:57:23 +00: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: Disable route checks for Skylake boards 2024-03-25 00:32:37 +00: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: Disable route checks for Skylake boards 2024-03-25 00:32:37 +00:00
kbl_da7219_max98927.c ASoC: Intel: Disable route checks for Skylake boards 2024-03-25 00:32:37 +00:00
kbl_rt5660.c ASoC: Intel: Disable route checks for Skylake boards 2024-03-25 00:32:37 +00:00
kbl_rt5663_max98927.c ASoC: Intel: Disable route checks for Skylake boards 2024-03-25 00:32:37 +00:00
kbl_rt5663_rt5514_max98927.c ASoC: Intel: Disable route checks for Skylake boards 2024-03-25 00:32:37 +00:00
Kconfig ASoC: intel: sof_sdw: Add support for cs42l43-cs35l56 sidecar amps 2024-04-30 00:10:07 +09:00
Makefile ASoC: intel: sof_sdw: Add support for cs42l43-cs35l56 sidecar amps 2024-04-30 00:10:07 +09: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_dsp_generic: Allocate snd_soc_card dynamically 2024-04-30 00:09:58 +09:00
skl_hda_dsp_generic.c ASoC: Intel: skl_hda_dsp_generic: Use devm_kasprintf for the components string 2024-04-30 00:09:59 +09:00
skl_nau88l25_max98357a.c ASoC: Intel: Disable route checks for Skylake boards 2024-03-25 00:32:37 +00: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: Disable route checks for Skylake boards 2024-03-25 00:32:37 +00:00
sof_board_helpers.c ASoC: Intel: ssp-common: delete module 2024-03-28 13:58:14 +00:00
sof_board_helpers.h ASoC: Intel: ssp-common: naming convention change 2024-03-28 13:58:12 +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: ssp-common: relocate header file 2024-03-28 13:58:11 +00:00
sof_cs42l42.c ASoC: Intel: sof_cs42l42: add mtl_cs42l42_def for mtl boards 2024-03-28 13:58:26 +00:00
sof_da7219.c ASoC: Intel: sof_da7219: add mtl_da7219_def for mtl boards 2024-04-14 16:54:28 +09: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: ssp-common: relocate header file 2024-03-28 13:58:11 +00:00
sof_nau8825.c ASoC: Intel: sof_nau8825: add mtl_nau8825_def for mtl boards 2024-03-28 13:58:18 +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: ssp-common: relocate header file 2024-03-28 13:58:11 +00: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: sof_realtek_common: support 4xALC1011 amplifier 2024-04-14 16:54:29 +09:00
sof_realtek_common.h ASoC: Intel: sof_realtek_common: support 4xALC1011 amplifier 2024-04-14 16:54:29 +09:00
sof_rt5682.c ASoC: Intel: sof_rt5682: use RT5682S_PLL1 if needed 2024-04-14 16:54:32 +09: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 support for cs42l43-cs35l56 sidecar amps 2024-04-30 00:10:07 +09:00
sof_sdw_cs42l42.c ASoC: Intel: sof_sdw: Move get_codec_dai_by_name() into sof_sdw itself 2024-03-26 16:13:24 +00:00
sof_sdw_cs42l43.c ASoC: intel: sof_sdw: Add support for cs42l43-cs35l56 sidecar amps 2024-04-30 00:10:07 +09:00
sof_sdw_cs_amp.c ASoC: Intel: sof_sdw: Don't pass acpi_link_adr to init functions 2024-03-26 16:13:48 +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: sof_sdw: Don't pass acpi_link_adr to init functions 2024-03-26 16:13:48 +00:00
sof_sdw_rt700.c ASoC: Intel: sof_sdw: Move get_codec_dai_by_name() into sof_sdw itself 2024-03-26 16:13:24 +00:00
sof_sdw_rt711.c ASoC: Intel: sof_sdw: Don't pass acpi_link_adr to init functions 2024-03-26 16:13:48 +00:00
sof_sdw_rt712_sdca.c ASoC: Intel: sof_sdw: remove unused rt dmic rtd_init 2024-03-26 16:13:42 +00:00
sof_sdw_rt722_sdca.c ASoC: Intel: sof_sdw_rt722_sdca: use rt_dmic_rtd_init 2024-03-26 16:13:44 +00:00
sof_sdw_rt5682.c ASoC: Intel: sof_sdw: Move get_codec_dai_by_name() into sof_sdw itself 2024-03-26 16:13:24 +00:00
sof_sdw_rt_amp.c ASoC: Intel: sof_sdw: Don't pass acpi_link_adr to init functions 2024-03-26 16:13:48 +00:00
sof_sdw_rt_dmic.c ASoC: Intel: sof_sdw: change rt715-sdca dai name 2024-03-26 16:13:46 +00:00
sof_sdw_rt_sdca_jack_common.c ASoC: Intel: sof_sdw: Don't pass acpi_link_adr to init functions 2024-03-26 16:13:48 +00:00
sof_sdw.c ASoC: intel: sof_sdw: Add support for cs42l43-cs35l56 sidecar amps 2024-04-30 00:10:07 +09:00
sof_ssp_amp.c ASoC: Intel: sof_ssp_amp: remove unnecessary idisp HDMI quirk 2024-03-25 22:45:06 +00:00
sof_wm8804.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00