diff options
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/eve/mainboard.c | 5 | ||||
-rw-r--r-- | src/mainboard/google/poppy/variants/atlas/nhlt.c | 3 | ||||
-rw-r--r-- | src/mainboard/google/poppy/variants/baseboard/nhlt.c | 3 | ||||
-rw-r--r-- | src/mainboard/google/poppy/variants/nocturne/nhlt.c | 3 | ||||
-rw-r--r-- | src/mainboard/google/poppy/variants/rammus/nhlt.c | 3 |
5 files changed, 11 insertions, 6 deletions
diff --git a/src/mainboard/google/eve/mainboard.c b/src/mainboard/google/eve/mainboard.c index 4abb91e57f..efe47a0b12 100644 --- a/src/mainboard/google/eve/mainboard.c +++ b/src/mainboard/google/eve/mainboard.c @@ -34,7 +34,7 @@ static unsigned long mainboard_write_acpi_tables( nhlt->subsystem_id = SUBSYSTEM_ID; /* 4 Channel DMIC array */ - if (nhlt_soc_add_rt5514(nhlt, AUDIO_LINK_SSP0, 4)) + if (nhlt_soc_add_rt5514(nhlt, AUDIO_LINK_SSP0, 4, 1)) printk(BIOS_ERR, "Couldn't add rt5514.\n"); /* RT5663 Headset codec */ @@ -42,7 +42,8 @@ static unsigned long mainboard_write_acpi_tables( printk(BIOS_ERR, "Couldn't add headset codec.\n"); /* MAXIM98927 Smart Amps for left and right channel */ - if (nhlt_soc_add_max98927(nhlt, AUDIO_LINK_SSP0)) + /* Render time_slot is 0 and feedback time_slot is 2 */ + if (nhlt_soc_add_max98927(nhlt, AUDIO_LINK_SSP0, 0, 2)) printk(BIOS_ERR, "Couldn't add max98927\n"); end_addr = nhlt_soc_serialize_oem_overrides(nhlt, start_addr, diff --git a/src/mainboard/google/poppy/variants/atlas/nhlt.c b/src/mainboard/google/poppy/variants/atlas/nhlt.c index 4d54772b28..ee642c0fc6 100644 --- a/src/mainboard/google/poppy/variants/atlas/nhlt.c +++ b/src/mainboard/google/poppy/variants/atlas/nhlt.c @@ -16,7 +16,8 @@ void variant_nhlt_init(struct nhlt *nhlt) printk(BIOS_ERR, "Couldn't add Dialog DA7219 codec.\n"); /* MAXIM Smart Amps for left and right speakers. */ - if (nhlt_soc_add_max98373(nhlt, AUDIO_LINK_SSP0)) + /* Render time_slot is 0 and feedback time_slot is 2 */ + if (nhlt_soc_add_max98373(nhlt, AUDIO_LINK_SSP0, 0, 2)) printk(BIOS_ERR, "Couldn't add Maxim 98373 codec.\n"); } diff --git a/src/mainboard/google/poppy/variants/baseboard/nhlt.c b/src/mainboard/google/poppy/variants/baseboard/nhlt.c index eef3abcecd..b3ead3b3de 100644 --- a/src/mainboard/google/poppy/variants/baseboard/nhlt.c +++ b/src/mainboard/google/poppy/variants/baseboard/nhlt.c @@ -16,7 +16,8 @@ void __weak variant_nhlt_init(struct nhlt *nhlt) printk(BIOS_ERR, "Couldn't add 4CH DMIC arrays.\n"); /* Maxim MAX98927 Smart Amps for left and right channel */ - if (nhlt_soc_add_max98927(nhlt, AUDIO_LINK_SSP0)) + /* Render time_slot is 0 and feedback time_slot is 2 */ + if (nhlt_soc_add_max98927(nhlt, AUDIO_LINK_SSP0, 0, 2)) printk(BIOS_ERR, "Couldn't add Maxim MAX98927\n"); /* Realtek RT5663 Headset codec. */ diff --git a/src/mainboard/google/poppy/variants/nocturne/nhlt.c b/src/mainboard/google/poppy/variants/nocturne/nhlt.c index 55787d1367..a3b239932c 100644 --- a/src/mainboard/google/poppy/variants/nocturne/nhlt.c +++ b/src/mainboard/google/poppy/variants/nocturne/nhlt.c @@ -12,7 +12,8 @@ void variant_nhlt_init(struct nhlt *nhlt) printk(BIOS_ERR, "Couldn't add 4CH DMIC array.\n"); /* MAXIM Smart Amps for left and right speakers. */ - if (nhlt_soc_add_max98373(nhlt, AUDIO_LINK_SSP0)) + /* Render time_slot is 0 and feedback time_slot is 2 */ + if (nhlt_soc_add_max98373(nhlt, AUDIO_LINK_SSP0, 0, 2)) printk(BIOS_ERR, "Couldn't add Maxim 98373 codec.\n"); } diff --git a/src/mainboard/google/poppy/variants/rammus/nhlt.c b/src/mainboard/google/poppy/variants/rammus/nhlt.c index 5802883118..14c6e708f7 100644 --- a/src/mainboard/google/poppy/variants/rammus/nhlt.c +++ b/src/mainboard/google/poppy/variants/rammus/nhlt.c @@ -16,7 +16,8 @@ void variant_nhlt_init(struct nhlt *nhlt) printk(BIOS_ERR, "Couldn't add Dialog DA7219.\n"); /* Maxim MAX98927 Smart Amps for left and right channel */ - if (nhlt_soc_add_max98927(nhlt, AUDIO_LINK_SSP0)) + /* Render time_slot is 0 and feedback time_slot is 2 */ + if (nhlt_soc_add_max98373(nhlt, AUDIO_LINK_SSP0, 0, 2)) printk(BIOS_ERR, "Couldn't add Maxim MAX98927\n"); } |