summaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus/variants
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/octopus/variants')
-rw-r--r--src/mainboard/google/octopus/variants/baseboard/nhlt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/variants/baseboard/nhlt.c b/src/mainboard/google/octopus/variants/baseboard/nhlt.c
index 38caa8537b..320e470c91 100644
--- a/src/mainboard/google/octopus/variants/baseboard/nhlt.c
+++ b/src/mainboard/google/octopus/variants/baseboard/nhlt.c
@@ -28,6 +28,12 @@ void __weak variant_nhlt_init(struct nhlt *nhlt)
printk(BIOS_INFO, "Added Dialog_7219 codec.\n");
}
+ if (CONFIG(NHLT_DA7219) && codec == SSFC_AUDIO_CODEC_CS42L42) {
+ /* Use Dialog NHLT for Cirrus Logic */
+ if (!nhlt_soc_add_da7219(nhlt, AUDIO_LINK_SSP2))
+ printk(BIOS_INFO, "Added Cirrus Logic codec.\n");
+ }
+
if (CONFIG(NHLT_RT5682) &&
(codec == SSFC_AUDIO_CODEC_RT5682 ||
codec == SSFC_AUDIO_CODEC_RT5682_VS)) {