@@ -9,6 +9,7 @@
/* Cirrus Logic */
#define CS35L41_ACPI_HID "CSC3541"
#define CS42L42_ACPI_HID "10134242"
+#define CS35L56_ACPI_HID "CSC355C"
/* Dialog */
#define DA7219_ACPI_HID "DLGS7219"
@@ -53,6 +54,7 @@ enum snd_soc_acpi_intel_codec {
/* speaker amplifier */
CODEC_CS35L41,
+ CODEC_CS35L56,
CODEC_MAX98357A,
CODEC_MAX98360A,
CODEC_MAX98373,
@@ -48,6 +48,7 @@ static const struct codec_map codecs[] = {
static const struct codec_map amps[] = {
/* Cirrus Logic */
CODEC_MAP_ENTRY("CS35L41", "cs35l41", CS35L41_ACPI_HID, CODEC_CS35L41),
+ CODEC_MAP_ENTRY("CS35L56", "cs35l56", CS35L56_ACPI_HID, CODEC_CS35L56),
/* Maxim */
CODEC_MAP_ENTRY("MAX98357A", "max98357a", MAX_98357A_ACPI_HID, CODEC_MAX98357A),
@@ -532,6 +532,11 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_tgl_machines[] = {
.quirk_data = &tgl_lt6911_hdmi,
.sof_tplg_filename = "sof-tgl-rt1308-ssp2-hdmi-ssp15.tplg"
},
+ {
+ .id = CS35L56_ACPI_HID,
+ .drv_name = "tgl_cs35l56_ssp2_def",
+ .sof_tplg_filename = "sof-tgl-cs35l56-ssp2.tplg",
+ },
{},
};
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_tgl_machines);
This adds a match for CS35L56 on SSP2, as used on the Cirrus Logic CDB35L56-FOUR board, and also adds an entry in ssp-common for the CS35L56. The intended host is an Aaeon UpXtreme i11 (TGL). This board does not have NHLT so the SSP and topology are hardcoded. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> --- include/sound/soc-acpi-intel-ssp-common.h | 2 ++ sound/soc/intel/common/soc-acpi-intel-ssp-common.c | 1 + sound/soc/intel/common/soc-acpi-intel-tgl-match.c | 5 +++++ 3 files changed, 8 insertions(+)