mb/google/brya/var/taniks: Change probe for audio 4 channel speaker

Taniks only uses 4 channel speakers. Change the probe name to match
SOF topology settings.

BUG=b:207808510
TEST=dmidecode -t 11 shows correct audio fw_config.

Signed-off-by: Joey Peng <joey.peng@lcfc.corp-partner.google.com>
Change-Id: I2986bd212cef47f70dfeedc642a8db3314c947f6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60532
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Joey Peng 2021-12-30 16:14:25 +08:00 committed by Felix Held
parent b6a15a7227
commit af69af996e
2 changed files with 5 additions and 5 deletions

View File

@ -47,8 +47,8 @@ static void fw_config_handle(void *unused)
return;
}
if (fw_config_probe(FW_CONFIG(AUDIO, AUDIO_MAX98357_ALC5682I_I2S))) {
printk(BIOS_INFO, "Configure audio over I2S with MAX98357 ALC5682I.\n");
if (fw_config_probe(FW_CONFIG(AUDIO, AUDIO_MAX98357_ALC5682I_I2S_2WAY))) {
printk(BIOS_INFO, "Configure audio over I2S with MAX98357 ALC5682I with 4 speakers.\n");
gpio_configure_pads(dmic_enable_pads, ARRAY_SIZE(dmic_enable_pads));
gpio_configure_pads(i2s_enable_pads, ARRAY_SIZE(i2s_enable_pads));
}

View File

@ -15,7 +15,7 @@ fw_config
end
field AUDIO 5 7
option AUDIO_UNKNOWN 0
option AUDIO_MAX98357_ALC5682I_I2S 1
option AUDIO_MAX98357_ALC5682I_I2S_2WAY 1
end
field KB_LAYOUT 8 9
option KB_LAYOUT_DEFAULT 0
@ -248,7 +248,7 @@ chip soc/intel/alderlake
register "property_list[0].name" = ""realtek,jd-src""
register "property_list[0].integer" = "1"
device i2c 1a on
probe AUDIO AUDIO_MAX98357_ALC5682I_I2S
probe AUDIO AUDIO_MAX98357_ALC5682I_I2S_2WAY
end
end
end
@ -324,7 +324,7 @@ chip soc/intel/alderlake
"ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
register "sdmode_delay" = "5"
device generic 0 on
probe AUDIO AUDIO_MAX98357_ALC5682I_I2S
probe AUDIO AUDIO_MAX98357_ALC5682I_I2S_2WAY
end
end
end