Unverified Commit 5c072ca8 authored by Terry Cheong's avatar Terry Cheong Committed by Mark Brown
Browse files

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

Reviewed-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: default avatarTerry Cheong <htcheong@chromium.org>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20231019173411.166759-6-pierre-louis.bossart@linux.intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 10626812
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -553,6 +553,14 @@ static const struct platform_device_id board_ids[] = {
					SOF_BT_OFFLOAD_SSP(2) |
					SOF_SSP_BT_OFFLOAD_PRESENT),
	},
	{
		.name = "rpl_mx98360a_8825",
		.driver_data = (kernel_ulong_t)(SOF_NAU8825_SSP_CODEC(0) |
					SOF_NAU8825_SSP_AMP(1) |
					SOF_NAU8825_NUM_HDMIDEV(4) |
					SOF_BT_OFFLOAD_SSP(2) |
					SOF_SSP_BT_OFFLOAD_PRESENT),
	},
	{
		.name = "rpl_nau8318_8825",
		.driver_data = (kernel_ulong_t)(SOF_NAU8825_SSP_CODEC(0) |
+7 −0
Original line number Diff line number Diff line
@@ -407,6 +407,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_rpl_machines[] = {
		.quirk_data = &rpl_max98373_amp,
		.sof_tplg_filename = "sof-rpl-max98373-nau8825.tplg",
	},
	{
		.id = "10508825",
		.drv_name = "rpl_mx98360a_8825",
		.machine_quirk = snd_soc_acpi_codec_list,
		.quirk_data = &rpl_max98360a_amp,
		.sof_tplg_filename = "sof-rpl-max98360a-nau8825.tplg",
	},
	{
		.id = "10508825",
		.drv_name = "rpl_nau8318_8825",