mb/google/zork: Hide I2S machine driver from Windows OS

No Windows driver exists or is needed, so hide to prevent an unknown
device from being listed in Windows Device Manager.

TEST=build/boot Win11 on morphius, verify unknown device for the ACP
machine driver no longer present.

Change-Id: I14347ab6c840066db4ff700eff1aad4cf6faf66b
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78039
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Matt DeVillier 2023-09-13 17:58:29 -05:00 committed by Felix Held
parent aea0c497f9
commit d98c5d628b
6 changed files with 10 additions and 10 deletions

View File

@ -338,7 +338,7 @@ chip soc/amd/picasso
# Set low (0) = Select DMIC0 # Set low (0) = Select DMIC0
# Set high (1) = Select DMIC1 # Set high (1) = Select DMIC1
register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)" register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)"
device generic 0.0 alias acp_machine on end device generic 0.0 alias acp_machine hidden end
end end
end # Audio end # Audio
device ref hda off end # HDA device ref hda off end # HDA

View File

@ -364,7 +364,7 @@ chip soc/amd/picasso
# Set low (0) = Select DMIC0 # Set low (0) = Select DMIC0
# Set high (1) = Select DMIC1 # Set high (1) = Select DMIC1
register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)" register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)"
device generic 0.0 alias acp_machine on end device generic 0.0 alias acp_machine hidden end
end end
end # Audio end # Audio
device ref hda off end # HDA device ref hda off end # HDA

View File

@ -126,7 +126,7 @@ chip soc/amd/picasso
# Set low (0) = Select DMIC0 # Set low (0) = Select DMIC0
# Set high (1) = Select DMIC1 # Set high (1) = Select DMIC1
register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)" register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)"
device generic 0.0 on device generic 0.0 hidden
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
end end
end end
@ -142,7 +142,7 @@ chip soc/amd/picasso
# Set low (0) = Select DMIC0 # Set low (0) = Select DMIC0
# Set high (1) = Select DMIC1 # Set high (1) = Select DMIC1
register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)" register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)"
device generic 1.0 on device generic 1.0 hidden
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
end end
end end

View File

@ -126,7 +126,7 @@ chip soc/amd/picasso
# Set low (0) = Select DMIC0 # Set low (0) = Select DMIC0
# Set high (1) = Select DMIC1 # Set high (1) = Select DMIC1
register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)" register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)"
device generic 0.0 on device generic 0.0 hidden
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
end end
end end
@ -142,7 +142,7 @@ chip soc/amd/picasso
# Set low (0) = Select DMIC0 # Set low (0) = Select DMIC0
# Set high (1) = Select DMIC1 # Set high (1) = Select DMIC1
register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)" register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)"
device generic 1.0 on device generic 1.0 hidden
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
end end
end end

View File

@ -71,7 +71,7 @@ chip soc/amd/picasso
# Set low (0) = Select DMIC0 # Set low (0) = Select DMIC0
# Set high (1) = Select DMIC1 # Set high (1) = Select DMIC1
register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)" register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)"
device generic 0.0 on device generic 0.0 hidden
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
end end
end end
@ -87,7 +87,7 @@ chip soc/amd/picasso
# Set low (0) = Select DMIC0 # Set low (0) = Select DMIC0
# Set high (1) = Select DMIC1 # Set high (1) = Select DMIC1
register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)" register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)"
device generic 1.0 on device generic 1.0 hidden
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
end end
end end

View File

@ -172,7 +172,7 @@ chip soc/amd/picasso
# Set low (0) = Select DMIC0 # Set low (0) = Select DMIC0
# Set high (1) = Select DMIC1 # Set high (1) = Select DMIC1
register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)" register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)"
device generic 0.0 on device generic 0.0 hidden
probe AUDIO_AMP AUDIO_AMP_I2C_MODE probe AUDIO_AMP AUDIO_AMP_I2C_MODE
end end
end end
@ -188,7 +188,7 @@ chip soc/amd/picasso
# Set low (0) = Select DMIC0 # Set low (0) = Select DMIC0
# Set high (1) = Select DMIC1 # Set high (1) = Select DMIC1
register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)" register "dmic_select_gpio" = "ACPI_GPIO_OUTPUT(GPIO_67)"
device generic 1.0 on device generic 1.0 hidden
probe AUDIO_AMP AUDIO_AMP_AUTO_MODE probe AUDIO_AMP AUDIO_AMP_AUTO_MODE
end end
end end