summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/zork/variants/trembyle
diff options
context:
space:
mode:
authorPeter Marheine <pmarheine@chromium.org>2021-08-17 11:06:01 +1000
committerFelix Held <felix-coreboot@felixheld.de>2021-08-20 15:15:26 +0000
commit2c36b1b6675a81213c73d9655211750a6afdeef5 (patch)
tree192944471b62eaeef8311ea3ca385d426a170e27 /src/mainboard/google/zork/variants/trembyle
parentb90e6fdd25f7fcc9db6be50a0b117a7509c6fdb1 (diff)
downloadcoreboot-2c36b1b6675a81213c73d9655211750a6afdeef5.tar.gz
coreboot-2c36b1b6675a81213c73d9655211750a6afdeef5.tar.bz2
coreboot-2c36b1b6675a81213c73d9655211750a6afdeef5.zip
mb/google/zork: only enable RTD2141 when present
An MST hub is only present on some devices that are configured with a particular daughterboard indicated by EC fw_config, so add a fw_config probe that matches the USB daughterboard ID from CBI to only enable it on devices where present, using variant-specific daughterboard IDs. BUG=b:185862297 TEST=RTD2141 remains in ACPI tables on a berknip with Dali DB, and is not present on the same system if probe is changed to enable it for picasso DB. BRANCH=zork Change-Id: I4ada9b492ab221fa98350bf2faf27a23342f3a55 Signed-off-by: Peter Marheine <pmarheine@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56990 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sam McNally <sammc@google.com>
Diffstat (limited to 'src/mainboard/google/zork/variants/trembyle')
-rw-r--r--src/mainboard/google/zork/variants/trembyle/overridetree.cb13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/variants/trembyle/overridetree.cb b/src/mainboard/google/zork/variants/trembyle/overridetree.cb
index a558aca00ecf..394b3bceb978 100644
--- a/src/mainboard/google/zork/variants/trembyle/overridetree.cb
+++ b/src/mainboard/google/zork/variants/trembyle/overridetree.cb
@@ -1,4 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-or-later
+
+fw_config
+ field USB_DAUGHTERBOARD
+ option TREMBYLE_DB_PICASSO 0
+ option TREMBYLE_DB_DALI 1
+ option TREMBYLE_DB_DALI_HDMI 2
+ end
+end
+
chip soc/amd/picasso
# Start : OPN Performance Configuration
@@ -104,4 +113,8 @@ chip soc/amd/picasso
end
end
+ device ref db_mst on
+ probe USB_DAUGHTERBOARD TREMBYLE_DB_DALI_HDMI
+ end
+
end # chip soc/amd/picasso