Skip to content

Commit e517f4b

Browse files
terry182plbossart
authored andcommitted
ASoC: Intel: sof_nau8825: add RPL support for MAX98360A amp
Adding support back to RPL devices that lost audio after the RPL/ADL split. The hardware configuration is: SSP0: NAU88L25/NAU88L25YGB codec SSP1: MAX98360A amplifier Change-Id: I3a7ff2c86678bf6c7f81fae41f62bf573e41a587 Signed-off-by: Terry Cheong <htcheong@chromium.org>
1 parent 180286d commit e517f4b

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

sound/soc/intel/boards/sof_nau8825.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,14 @@ static const struct platform_device_id board_ids[] = {
553553
SOF_BT_OFFLOAD_SSP(2) |
554554
SOF_SSP_BT_OFFLOAD_PRESENT),
555555
},
556+
{
557+
.name = "rpl_mx98360a_8825",
558+
.driver_data = (kernel_ulong_t)(SOF_NAU8825_SSP_CODEC(0) |
559+
SOF_NAU8825_SSP_AMP(1) |
560+
SOF_NAU8825_NUM_HDMIDEV(4) |
561+
SOF_BT_OFFLOAD_SSP(2) |
562+
SOF_SSP_BT_OFFLOAD_PRESENT),
563+
},
556564
{
557565
.name = "rpl_nau8318_8825",
558566
.driver_data = (kernel_ulong_t)(SOF_NAU8825_SSP_CODEC(0) |

sound/soc/intel/common/soc-acpi-intel-rpl-match.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_rpl_machines[] = {
407407
.quirk_data = &rpl_max98373_amp,
408408
.sof_tplg_filename = "sof-rpl-max98373-nau8825.tplg",
409409
},
410+
{
411+
.id = "10508825",
412+
.drv_name = "rpl_mx98360a_8825",
413+
.machine_quirk = snd_soc_acpi_codec_list,
414+
.quirk_data = &rpl_max98360a_amp,
415+
.sof_tplg_filename = "sof-rpl-max98360a-nau8825.tplg",
416+
},
410417
{
411418
.id = "10508825",
412419
.drv_name = "rpl_nau8318_8825",

0 commit comments

Comments
 (0)