summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants
diff options
context:
space:
mode:
authorYunlong Jia <yunlong.jia@ecs.corp-partner.google.com>2023-11-08 06:21:17 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-11-09 11:52:32 +0000
commitd130c0ff7ca64e55b0e9887bbaf634c111b91a38 (patch)
tree8d0f795d0ec3ec454ac47c23e7830b009bdf301e /src/mainboard/google/brya/variants
parent0c9bff68d5caa14b6125839e8e1e18729a1381e1 (diff)
mb/google/nissa/var/gothrax: Add FW_CONFIG probe about DB/WFC
Add FW_CONFIG probe to separate WFC settings. WFC_PRESENT/WFC_ABSENT Add FW_CONFIG probe for new DB_USB sku. DB_C_A_LTE/DB_A BUG=b:303526071 TEST=emerge-nissa coreboot Signed-off-by: Yunlong Jia <yunlong.jia@ecs.corp-partner.google.com> Change-Id: I93e0bce4b8be37e259efe0d7b0185035b3e88785 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78963 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya/variants')
-rw-r--r--src/mainboard/google/brya/variants/gothrax/overridetree.cb31
1 files changed, 24 insertions, 7 deletions
diff --git a/src/mainboard/google/brya/variants/gothrax/overridetree.cb b/src/mainboard/google/brya/variants/gothrax/overridetree.cb
index e51c1fbc48..a4e481f882 100644
--- a/src/mainboard/google/brya/variants/gothrax/overridetree.cb
+++ b/src/mainboard/google/brya/variants/gothrax/overridetree.cb
@@ -2,7 +2,8 @@ fw_config
field DB_USB 0 1
option DB_NONE 0
option DB_C_A 1
- option DB_C_LTE 2
+ option DB_C_A_LTE 2
+ option DB_A 3
end
field THERMAL_SOLUTION 2
option THERMAL_SOLUTION_PASSIVE 0
@@ -19,6 +20,10 @@ fw_config
option STYLUS_ABSENT 0
option STYLUS_PRESENT 1
end
+ field WFC 8
+ option WFC_PRESENT 0
+ option WFC_ABSENT 1
+ end
end
chip soc/intel/alderlake
@@ -286,7 +291,9 @@ chip soc/intel/alderlake
register "int_comp_resistor" = ""lowest""
register "input_precharge_resistor_ohms" = "4000"
register "input_analog_gain" = "3"
- device i2c 28 on end
+ device i2c 28 on
+ probe DB_USB DB_C_A_LTE
+ end
end
end
device ref i2c3 on
@@ -385,7 +392,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_A
+ end
end
end
end
@@ -411,7 +420,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_A
+ end
end
chip drivers/usb/acpi
register "desc" = ""USB2 Type-A Port A0 (MLB)""
@@ -430,7 +441,9 @@ chip soc/intel/alderlake
chip drivers/usb/acpi
register "desc" = ""USB2 WWAN""
register "type" = "UPC_TYPE_INTERNAL"
- device ref usb2_port5 on end
+ device ref usb2_port5 on
+ probe DB_USB DB_C_A_LTE
+ end
end
chip drivers/usb/acpi
register "desc" = ""USB2 UFC""
@@ -440,7 +453,9 @@ chip soc/intel/alderlake
chip drivers/usb/acpi
register "desc" = ""USB2 WFC""
register "type" = "UPC_TYPE_INTERNAL"
- device ref usb2_port7 on end
+ device ref usb2_port7 on
+ probe WFC WFC_PRESENT
+ end
end
chip drivers/usb/acpi
register "desc" = ""USB2 Bluetooth""
@@ -473,7 +488,9 @@ chip soc/intel/alderlake
chip drivers/usb/acpi
register "desc" = ""USB3 WWAN""
register "type" = "UPC_TYPE_INTERNAL"
- device ref usb3_port3 on end
+ device ref usb3_port3 on
+ probe DB_USB DB_C_A_LTE
+ end
end
end
end