mb/google/brya/var/felwinter: Add ALC5682I-VS codec support

ALC5682I-VS will use in next build.

BUG=b:194367025
TEST=none.

Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: I34d736fe1c39860443dac07435a21ccd0ee2f21c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59412
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Eric Lai 2021-11-18 11:36:08 +08:00 committed by Felix Held
parent 17441a3ac5
commit 6b81adf8bc
1 changed files with 22 additions and 1 deletions

View File

@ -4,6 +4,11 @@ fw_config
option USB3_PS8815 1
option USB4_KB8001 2
end
field AUDIO_AMP 7 9
option UNPROVISIONED 0
option MAX98360_ALC5682I_I2S 1
option MAX98360_ALC5682VS_I2S 2
end
end
chip soc/intel/alderlake
@ -86,7 +91,23 @@ chip soc/intel/alderlake
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 end
device i2c 1a on
probe AUDIO_AMP MAX98360_ALC5682I_I2S
end
end
chip drivers/i2c/generic
register "hid" = ""RTL5682""
register "name" = ""RT58""
register "desc" = ""Headset Codec""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
# Set the jd_src to RT5668_JD1 for jack detection
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_AMP MAX98360_ALC5682VS_I2S
end
end
end #I2C0
device ref i2c1 on