mb/google/guybrush: Configure wake resource for WiFi
In order to support wake on WLAN events, configure the wake resource. BUG=b:186011392 TEST=Build and boot to OS in guybrush. Ensure that WiFi power resource is added to SSDT. Device (\_SB.PCI0.GP20.WF00) { Name (_UID, 0x38B82CBC) // _UID: Unique ID Name (_DDN, "WIFI Device") // _DDN: DOS Device Name Name (_ADR, 0x0000000000000000) // _ADR: Address } Scope (\_SB.PCI0.GP20.WF00) { Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake { 0x08, 0x03 }) } Change-Id: Ic238d9606aea20c058e9b47093693f10b14e6288 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52908 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
7ebdddde35
commit
24abd3ef06
|
@ -16,6 +16,7 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select DRIVERS_I2C_GENERIC
|
select DRIVERS_I2C_GENERIC
|
||||||
select DRIVERS_I2C_HID
|
select DRIVERS_I2C_HID
|
||||||
select DRIVERS_UART_ACPI
|
select DRIVERS_UART_ACPI
|
||||||
|
select DRIVERS_WIFI_GENERIC
|
||||||
select EC_GOOGLE_CHROMEEC
|
select EC_GOOGLE_CHROMEEC
|
||||||
select EC_GOOGLE_CHROMEEC_BOARDID
|
select EC_GOOGLE_CHROMEEC_BOARDID
|
||||||
select EC_GOOGLE_CHROMEEC_ESPI
|
select EC_GOOGLE_CHROMEEC_ESPI
|
||||||
|
|
|
@ -53,7 +53,12 @@ chip soc/amd/cezanne
|
||||||
GPIO_I2C2_SCL | GPIO_I2C3_SCL"
|
GPIO_I2C2_SCL | GPIO_I2C3_SCL"
|
||||||
|
|
||||||
device domain 0 on
|
device domain 0 on
|
||||||
device ref gpp_bridge_0 on end # WLAN
|
device ref gpp_bridge_0 on
|
||||||
|
chip drivers/wifi/generic
|
||||||
|
register "wake" = "GEVENT_8"
|
||||||
|
device pci 00.0 on end
|
||||||
|
end
|
||||||
|
end # WLAN
|
||||||
device ref gpp_bridge_1 on end # SD
|
device ref gpp_bridge_1 on end # SD
|
||||||
device ref gpp_bridge_2 on end # WWAN
|
device ref gpp_bridge_2 on end # WWAN
|
||||||
device ref gpp_bridge_3 on end # NVMe
|
device ref gpp_bridge_3 on end # NVMe
|
||||||
|
|
Loading…
Reference in New Issue