| 1 |
|
| 2 |
|
| 3 |
#include <baseboard/variants.h> |
| 4 |
#include <console/console.h> |
| 5 |
#include <nhlt.h> |
| 6 |
#include <soc/nhlt.h> |
| 7 |
|
| 8 |
void __weak variant_nhlt_init(struct nhlt *nhlt) |
| 9 |
{ |
| 10 |
|
| 11 |
if (nhlt_soc_add_dmic_array(nhlt, 2)) |
| 12 |
printk(BIOS_ERR, "Couldn't add 2CH DMIC array.\n"); |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
if (nhlt_soc_add_max98927(nhlt, AUDIO_LINK_SSP0, 0, 2)) |
| 17 |
printk(BIOS_ERR, "Couldn't add Maxim MAX98927\n"); |
| 18 |
|
| 19 |
|
| 20 |
if (nhlt_soc_add_rt5663(nhlt, AUDIO_LINK_SSP1)) |
| 21 |
printk(BIOS_ERR, "Couldn't add Realtek RT5663.\n"); |
| 22 |
} |
| 23 |
|
| 24 |
void __weak variant_nhlt_oem_overrides(const char **oem_id, |
| 25 |
const char **oem_table_id, |
| 26 |
uint32_t *oem_revision) |
| 27 |
{ |
| 28 |
*oem_id = "GOOGLE"; |
| 29 |
*oem_table_id = "POPPYMAX"; |
| 30 |
*oem_revision = 0; |
| 31 |
} |