mb/google/dedede/var/madoo: Add audio support (ALC5682, MX98360A)

Select the drivers for ALC5682 codec and MX98360A spk amp

BUG=b:161407664
BRANCH=NONE
TEST=FW_NAME=madoo emerge-dedede coreboot chromeos-bootimage

Signed-off-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Change-Id: Ibe3d878b1058bfae4143d96be854884e61394ad5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43801
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
Dtrain Hsu 2020-07-24 16:32:46 +08:00 committed by Patrick Georgi
parent b66e2504a2
commit 5a917eb979
1 changed files with 20 additions and 7 deletions

View File

@ -59,7 +59,20 @@ chip soc/intel/jasperlake
device pci 15.0 on end device pci 15.0 on end
device pci 15.2 on end device pci 15.2 on end
device pci 1c.7 on end device pci 1c.7 on end
device pci 19.0 on end device pci 19.0 on
chip drivers/i2c/generic
register "hid" = ""10EC5682""
register "name" = ""RT58""
register "desc" = ""Headset Codec""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
# 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 end
end
end #I2C 4
device pci 1f.3 on device pci 1f.3 on
chip drivers/generic/max98357a chip drivers/generic/max98357a
register "hid" = ""MX98360A"" register "hid" = ""MX98360A""