From 2cd2263c32e3b4f5921119546ecc5ec53afbf7b9 Mon Sep 17 00:00:00 2001 From: Mark Hsieh Date: Thu, 24 Aug 2023 20:07:57 +0800 Subject: [PATCH] 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 Change-Id: Ie8098f72e29a10ebbaf3ba3b09d6a002d09fd35a Reviewed-on: https://review.coreboot.org/c/coreboot/+/77394 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- .../google/brya/variants/joxer/overridetree.cb | 12 ++++++++++-- 1 file 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)""