summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorCoolStar <coolstarorganization@gmail.com>2023-10-16 10:49:16 -0700
committerMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2023-10-20 14:25:32 +0000
commitf2e14fbb40da7a402aefdb1480644f51ba84bd84 (patch)
treecde70146670546abcd0d9ef1ae256e48c8eba5e6 /src/mainboard/google
parent0b0113f2436b448cd172d2ae9cfcc07628020173 (diff)
mb/google/kahlee: Hide Linux machine audio devices from Windows
Windows does not use these devices for audio. Hide these so they don't clutter device manager. Change-Id: Ic85eff7f7ff68e25cc005bbb822bf99374c96532 Signed-off-by: CoolStar <coolstarorganization@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78418 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/audio_da7219.asl4
-rw-r--r--src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/audio_rt5682.asl4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/audio_da7219.asl b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/audio_da7219.asl
index 1a083435d6..7d94ed68a3 100644
--- a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/audio_da7219.asl
+++ b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/audio_da7219.asl
@@ -7,6 +7,10 @@ Device (I2S0)
{
Name (_HID, "AMD7219")
Name (_CID, "AMD7219")
+ Method (_STA, 0, NotSerialized) // _STA: Status
+ {
+ Return (0x0B)
+ }
/* Device-Specific Data */
Name (_DSD, Package ()
diff --git a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/audio_rt5682.asl b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/audio_rt5682.asl
index 9e3ae05f4c..3eea51d754 100644
--- a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/audio_rt5682.asl
+++ b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/audio_rt5682.asl
@@ -7,6 +7,10 @@ Device (I2S1)
{
Name (_HID, "AMDI5682")
Name (_CID, "AMDI5682")
+ Method (_STA, 0, NotSerialized) // _STA: Status
+ {
+ Return (0x0B)
+ }
/* Device-Specific Data */
Name (_DSD, Package ()