EricR Lai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59412 )
Change subject: mb/google/brya/var/felwinter: Add ALC5682I-VS codec support ......................................................................
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 --- M src/mainboard/google/brya/variants/felwinter/overridetree.cb 1 file changed, 22 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/59412/1
diff --git a/src/mainboard/google/brya/variants/felwinter/overridetree.cb b/src/mainboard/google/brya/variants/felwinter/overridetree.cb index 5b90b9a..df06403 100644 --- a/src/mainboard/google/brya/variants/felwinter/overridetree.cb +++ b/src/mainboard/google/brya/variants/felwinter/overridetree.cb @@ -4,6 +4,11 @@ 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 @@ -80,7 +85,23 @@ 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