1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/variants.h>
4 #include <console/console.h>
8 void variant_nhlt_init(struct nhlt
*nhlt
)
10 /* 4 Channel DMIC array. */
11 if (nhlt_soc_add_dmic_array(nhlt
, 4))
12 printk(BIOS_ERR
, "Couldn't add 4CH DMIC array.\n");
14 /* Dialog DA7219 Headset codec. */
15 if (nhlt_soc_add_da7219(nhlt
, AUDIO_LINK_SSP1
))
16 printk(BIOS_ERR
, "Couldn't add Dialog DA7219.\n");
18 /* MAXIM Smart Amps for left and right speakers. */
19 if (nhlt_soc_add_max98357(nhlt
, AUDIO_LINK_SSP0
))
20 printk(BIOS_ERR
, "Couldn't add Maxim_98357 codec.\n");
23 void variant_nhlt_oem_overrides(const char **oem_id
,
24 const char **oem_table_id
,
25 uint32_t *oem_revision
)
28 *oem_table_id
= "KALISTA";