mb/google/dedede/var/metaknight:Add fw_config probe for multi codec

and amplifier

Compatible headphone codec "ALC5682I-VS" and speaker amplifier "ALC1015Q-VB"

BUG=b:183305590
TEST=ALC5682I-VD and ALC1015Q-VB can work normally

Change-Id: I4f212f063a1180d7a1c14769f61b0afef7565cad
Signed-off-by: Morris Hsu <morris-hsu@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79831
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Morris Hsu 2024-01-05 16:48:17 +08:00 committed by Felix Held
parent e912bb9668
commit b6cbfa977f
1 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,10 @@
fw_config
field AUDIO_CODEC_SOURCE 49 51
option AUDIO_CODEC_RT5682 0
option AUDIO_CODEC_ALC5682I_VS 1
end
end
chip soc/intel/jasperlake chip soc/intel/jasperlake
# USB Port Configuration # USB Port Configuration
@ -247,7 +254,22 @@ chip soc/intel/jasperlake
register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
register "property_list[0].name" = ""realtek,jd-src"" register "property_list[0].name" = ""realtek,jd-src""
register "property_list[0].integer" = "1" register "property_list[0].integer" = "1"
device i2c 1a on end device i2c 1a on
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_RT5682
end
end
chip drivers/i2c/generic
register "hid" = ""RTL5682""
register "name" = ""RT58""
register "desc" = ""Realtek RT5682""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
register "property_count" = "1"
register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
register "property_list[0].name" = ""realtek,jd-src""
register "property_list[0].integer" = "1"
device i2c 1a on
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
end
end end
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""10EC1015"" register "hid" = ""10EC1015""