summaryrefslogtreecommitdiff
path: root/src/mainboard/google/zork/variants/dirinboz
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2023-10-24 15:25:45 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-10-25 20:53:19 +0000
commit25765a0dceaad9a475f4160c72ef82e02346db23 (patch)
tree130af193a325a55a0b7433eddbabeef37f20b9f6 /src/mainboard/google/zork/variants/dirinboz
parent1e0842e8bc006be3a5216aee2574bb6940a8ad2a (diff)
mb/google/zork: Fix audio config on dalboz variants
There is only a single i2c tunnel bus for audio from the EC, so all attached devices need to exist under a single device attached to that bus. This change will facilitate cleanup/simplification using device aliases in a subsequent commit. TEST=tested with rest of patch train Change-Id: Ie09c682a7419868d39421574568dff1a651fa0dc Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78626 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/zork/variants/dirinboz')
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/overridetree.cb12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/google/zork/variants/dirinboz/overridetree.cb b/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
index 327aacad7f..eb11a619e6 100644
--- a/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
+++ b/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
@@ -166,11 +166,10 @@ chip soc/amd/picasso
register "property_list[1].type" = "ACPI_DP_TYPE_STRING"
register "property_list[1].name" = ""realtek,mclk-name""
register "property_list[1].string" = ""oscout1""
- device i2c 1a on end
+ device i2c 1a on
+ probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
+ end
end
- probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
- end
- device generic 1.0 on
chip drivers/i2c/generic
register "hid" = ""RTL5682""
register "name" = ""RT58""
@@ -184,9 +183,10 @@ chip soc/amd/picasso
register "property_list[1].type" = "ACPI_DP_TYPE_STRING"
register "property_list[1].name" = ""realtek,mclk-name""
register "property_list[1].string" = ""oscout1""
- device i2c 1a on end
+ device i2c 1a on
+ probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
+ end
end
- probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
end
end
end