Skip to content

Commit 898cd43

Browse files
Stefan Bindingbroonie
authored andcommitted
ASoC: intel: sof_sdw: Add support for CS35L63 into machine driver
CS35L63 is very similar to CS35L56, and uses the same driver, so we can use the same configuration. Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com> Link: https://patch.msgid.link/20250516152107.210994-2-sbinding@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent a5806cd commit 898cd43

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,31 @@ struct asoc_sdw_codec_info codec_info_list[] = {
509509
},
510510
.dai_num = 2,
511511
},
512+
{
513+
.part_id = 0x3563,
514+
.dais = {
515+
{
516+
.direction = {true, false},
517+
.dai_name = "cs35l56-sdw1",
518+
.dai_type = SOC_SDW_DAI_TYPE_AMP,
519+
.dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_UNUSED_DAI_ID},
520+
.init = asoc_sdw_cs_amp_init,
521+
.rtd_init = asoc_sdw_cs_spk_rtd_init,
522+
.controls = generic_spk_controls,
523+
.num_controls = ARRAY_SIZE(generic_spk_controls),
524+
.widgets = generic_spk_widgets,
525+
.num_widgets = ARRAY_SIZE(generic_spk_widgets),
526+
},
527+
{
528+
.direction = {false, true},
529+
.dai_name = "cs35l56-sdw1c",
530+
.dai_type = SOC_SDW_DAI_TYPE_AMP,
531+
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_AMP_IN_DAI_ID},
532+
.rtd_init = asoc_sdw_cs_spk_feedback_rtd_init,
533+
},
534+
},
535+
.dai_num = 2,
536+
},
512537
{
513538
.part_id = 0x4242,
514539
.dais = {

0 commit comments

Comments
 (0)