mb/google/nissa/var/teliks: Add fw_config fields for rtl8852be

Add a new fw config field for wifi category as WIFI_6_8852, which is
PCIe based. Also, enable WIFI_6_8852 for existing PCIe based wifi port
as well as bluetooth port.

BUG=b:356434907
BRANCH=NONE
TEST=Verified Wifi6 module detection

Change-Id: Ib6ba641c23cce7f1253022c9bb78b986b323bcaa
Signed-off-by: Jianeng Ceng <cengjianeng@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84138
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Qinghong Zeng <zengqinghong@huaqin.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
cengjianeng 2024-08-30 13:02:13 +08:00 committed by Felix Held
commit 0c0663b5e8
2 changed files with 8 additions and 4 deletions

View file

@ -1,8 +1,9 @@
fw_config
field WIFI 8 9
option UNKNOWN 0
option WIFI_6 1
option WIFI_6_7921 1
option WIFI_6E 2
option WIFI_6_8852 3
end
field CAMERA 10 11
option UF_720P_WF 0
@ -406,7 +407,8 @@ chip soc/intel/alderlake
register "wake" = "GPE0_DW1_03"
register "add_acpi_dma_property" = "true"
device pci 00.0 on
probe WIFI WIFI_6
probe WIFI WIFI_6_7921
probe WIFI WIFI_6_8852
end
end
end
@ -511,7 +513,8 @@ chip soc/intel/alderlake
register "type" = "UPC_TYPE_INTERNAL"
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
device ref usb2_port8 on
probe WIFI WIFI_6
probe WIFI WIFI_6_7921
probe WIFI WIFI_6_8852
end
end
chip drivers/usb/acpi

View file

@ -35,7 +35,8 @@ void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
void fw_config_gpio_padbased_override(struct pad_config *padbased_table)
{
if (fw_config_probe(FW_CONFIG(WIFI, WIFI_6))) {
if (fw_config_probe(FW_CONFIG(WIFI, WIFI_6_7921))
|| fw_config_probe(FW_CONFIG(WIFI, WIFI_6_8852))) {
printk(BIOS_INFO, "Enable PCie based Wifi GPIO pins.\n");
gpio_padbased_override(padbased_table, wifi_pcie_enable_pad,
ARRAY_SIZE(wifi_pcie_enable_pad));