aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Hsieh <mark_hsieh@wistron.corp-partner.google.com>2023-08-24 20:07:57 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-08-25 14:37:45 +0000
commit2cd2263c32e3b4f5921119546ecc5ec53afbf7b9 (patch)
tree67a6070446f973b30264a3bfcfe5cb8ae6dd513f
parent80bd3ac5fe0223c6176cb606781ae8c6daaf1f83 (diff)
mb/google/nissa/var/joxer: set the DB_USB field in FW_CONFIG
Joxer will have SKUs with no type-c on daughter board, add fw_config for EC control it. BUG=b:297131468 TEST=USE="project_joxer emerge-nissa coreboot" Signed-off-by: Mark Hsieh <mark_hsieh@wistron.corp-partner.google.com> Change-Id: Ie8098f72e29a10ebbaf3ba3b09d6a002d09fd35a Reviewed-on: https://review.coreboot.org/c/coreboot/+/77394 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/brya/variants/joxer/overridetree.cb12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/joxer/overridetree.cb b/src/mainboard/google/brya/variants/joxer/overridetree.cb
index 51119aa98a..ec5ad3e70f 100644
--- a/src/mainboard/google/brya/variants/joxer/overridetree.cb
+++ b/src/mainboard/google/brya/variants/joxer/overridetree.cb
@@ -1,4 +1,8 @@
fw_config
+ field DB_USB 0 1
+ option DB_ABSENT 0
+ option DB_1C 1
+ end
field THERMAL 2 2
option THERMAL_FANLESS 0
option THERMAL_FAN 1
@@ -340,7 +344,9 @@ chip soc/intel/alderlake
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
- device ref tcss_usb3_port2 on end
+ device ref tcss_usb3_port2 on
+ probe DB_USB DB_1C
+ end
end
end
end
@@ -360,7 +366,9 @@ chip soc/intel/alderlake
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
- device ref usb2_port2 on end
+ device ref usb2_port2 on
+ probe DB_USB DB_1C
+ end
end
chip drivers/usb/acpi
register "desc" = ""USB2 Type-A Port A0 (MLB)""