From d98c5d628b62d9b1cea7123611092b2870dfd11f Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 13 Sep 2023 17:58:29 -0500 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78039 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- .../google/zork/variants/baseboard/dalboz/devicetree.cb | 2 +- .../google/zork/variants/baseboard/trembyle/devicetree.cb | 2 +- src/mainboard/google/zork/variants/dirinboz/overridetree.cb | 4 ++-- src/mainboard/google/zork/variants/gumboz/overridetree.cb | 4 ++-- src/mainboard/google/zork/variants/shuboz/overridetree.cb | 4 ++-- src/mainboard/google/zork/variants/vilboz/overridetree.cb | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/mainboard/google/zork/variants/baseboard/dalboz/devicetree.cb b/src/mainboard/google/zork/variants/baseboard/dalboz/devicetree.cb index bff91fcf99..cf27b5a0ce 100644 --- a/src/mainboard/google/zork/variants/baseboard/dalboz/devicetree.cb +++ b/src/mainboard/google/zork/variants/baseboard/dalboz/devicetree.cb @@ -338,7 +338,7 @@ chip soc/amd/picasso # Set low (0) = Select DMIC0 # Set high (1) = Select DMIC1 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 # Audio device ref hda off end # HDA diff --git a/src/mainboard/google/zork/variants/baseboard/trembyle/devicetree.cb b/src/mainboard/google/zork/variants/baseboard/trembyle/devicetree.cb index 448982a311..d6f2136c81 100644 --- a/src/mainboard/google/zork/variants/baseboard/trembyle/devicetree.cb +++ b/src/mainboard/google/zork/variants/baseboard/trembyle/devicetree.cb @@ -364,7 +364,7 @@ chip soc/amd/picasso # Set low (0) = Select DMIC0 # Set high (1) = Select DMIC1 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 # Audio device ref hda off end # HDA diff --git a/src/mainboard/google/zork/variants/dirinboz/overridetree.cb b/src/mainboard/google/zork/variants/dirinboz/overridetree.cb index 531f4d34d2..67f031cca4 100644 --- a/src/mainboard/google/zork/variants/dirinboz/overridetree.cb +++ b/src/mainboard/google/zork/variants/dirinboz/overridetree.cb @@ -126,7 +126,7 @@ chip soc/amd/picasso # Set low (0) = Select DMIC0 # Set high (1) = Select DMIC1 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 end end @@ -142,7 +142,7 @@ chip soc/amd/picasso # Set low (0) = Select DMIC0 # Set high (1) = Select DMIC1 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 end end diff --git a/src/mainboard/google/zork/variants/gumboz/overridetree.cb b/src/mainboard/google/zork/variants/gumboz/overridetree.cb index 531f4d34d2..67f031cca4 100644 --- a/src/mainboard/google/zork/variants/gumboz/overridetree.cb +++ b/src/mainboard/google/zork/variants/gumboz/overridetree.cb @@ -126,7 +126,7 @@ chip soc/amd/picasso # Set low (0) = Select DMIC0 # Set high (1) = Select DMIC1 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 end end @@ -142,7 +142,7 @@ chip soc/amd/picasso # Set low (0) = Select DMIC0 # Set high (1) = Select DMIC1 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 end end diff --git a/src/mainboard/google/zork/variants/shuboz/overridetree.cb b/src/mainboard/google/zork/variants/shuboz/overridetree.cb index e2d73d41c8..ad64c27d2e 100644 --- a/src/mainboard/google/zork/variants/shuboz/overridetree.cb +++ b/src/mainboard/google/zork/variants/shuboz/overridetree.cb @@ -71,7 +71,7 @@ chip soc/amd/picasso # Set low (0) = Select DMIC0 # Set high (1) = Select DMIC1 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 end end @@ -87,7 +87,7 @@ chip soc/amd/picasso # Set low (0) = Select DMIC0 # Set high (1) = Select DMIC1 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 end end diff --git a/src/mainboard/google/zork/variants/vilboz/overridetree.cb b/src/mainboard/google/zork/variants/vilboz/overridetree.cb index ed15461e8c..15fd296167 100644 --- a/src/mainboard/google/zork/variants/vilboz/overridetree.cb +++ b/src/mainboard/google/zork/variants/vilboz/overridetree.cb @@ -172,7 +172,7 @@ chip soc/amd/picasso # Set low (0) = Select DMIC0 # Set high (1) = Select DMIC1 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 end end @@ -188,7 +188,7 @@ chip soc/amd/picasso # Set low (0) = Select DMIC0 # Set high (1) = Select DMIC1 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 end end