summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2018-01-21 16:40:21 -0600
committerMatt DeVillier <matt.devillier@gmail.com>2020-04-03 16:25:20 +0000
commitbf6b7bf60cc6c0cebe28901cd8a623224bfe1f2e (patch)
treed6b46513dedb45ee6e79f82e534f4ce87426b4fc
parenta2804781feaa7ba7db198fa03f20be861ccbe4a3 (diff)
downloadcoreboot-bf6b7bf60cc6c0cebe28901cd8a623224bfe1f2e.tar.xz
mb/google/cyan: Adjust CID for realtek audio codec
Adjust CID to allow for Realtek's Windows drivers to attach without breaking functionality under Linux. Both Linux and Windows use ACPI HID/CID matching for driver attachment. Since the Realtek 5650 isn't used in standard Windows laptops, the '10EC5650' HID/CID isn't contained in the Windows drivers' lookup file (.inf), but a catch-all 'INTCCFFD' entry does exist, so concatenate that to the existing CID to allow the drivers to attach. Test: build/boot google/edgar, verify working audio under both Windows 10 (with Realtek drivers 10.0.10586.4393) and Linux (GalliumOS 3.1 / kernel 4.16.18, Manjaro 18.1 / kernel 5.1.x) Change-Id: Idca5cc86ba1f5ef3978cfba291a0c06e56ef5958 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40003 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/cyan/acpi/codec_realtek.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/cyan/acpi/codec_realtek.asl b/src/mainboard/google/cyan/acpi/codec_realtek.asl
index 9ebef19065..365f799393 100644
--- a/src/mainboard/google/cyan/acpi/codec_realtek.asl
+++ b/src/mainboard/google/cyan/acpi/codec_realtek.asl
@@ -19,7 +19,7 @@ Scope (\_SB.PCI0.I2C5)
Device (RTEK) /* Audio Codec driver I2C */
{
Name (_HID, AUDIO_CODEC_HID)
- Name (_CID, AUDIO_CODEC_CID)
+ Name (_CID, Package() { AUDIO_CODEC_CID, "INTCCFFD" })
Name (_DDN, AUDIO_CODEC_DDN)
Name (_UID, 1)