Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: soc_sdw_utils: add cs35l57 support

cs35l57 uses the same codec driver as cs35l56.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20251023110824.1587-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bard Liao and committed by
Mark Brown
2914f6ea 2528c15f

+27
+27
sound/soc/sdw_utils/soc_sdw_utils.c
··· 581 581 .dai_num = 2, 582 582 }, 583 583 { 584 + .part_id = 0x3557, 585 + .name_prefix = "AMP", 586 + .dais = { 587 + { 588 + .direction = {true, false}, 589 + .dai_name = "cs35l56-sdw1", 590 + .component_name = "cs35l56", 591 + .dai_type = SOC_SDW_DAI_TYPE_AMP, 592 + .dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_UNUSED_DAI_ID}, 593 + .init = asoc_sdw_cs_amp_init, 594 + .rtd_init = asoc_sdw_cs_spk_rtd_init, 595 + .controls = generic_spk_controls, 596 + .num_controls = ARRAY_SIZE(generic_spk_controls), 597 + .widgets = generic_spk_widgets, 598 + .num_widgets = ARRAY_SIZE(generic_spk_widgets), 599 + }, 600 + { 601 + .direction = {false, true}, 602 + .dai_name = "cs35l56-sdw1c", 603 + .dai_type = SOC_SDW_DAI_TYPE_AMP, 604 + .dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_AMP_IN_DAI_ID}, 605 + .rtd_init = asoc_sdw_cs_spk_feedback_rtd_init, 606 + }, 607 + }, 608 + .dai_num = 2, 609 + }, 610 + { 584 611 .part_id = 0x3563, 585 612 .name_prefix = "AMP", 586 613 .dais = {