From 9a9191cf2fd05a91258d9a62e7b68494d1565fb0 Mon Sep 17 00:00:00 2001 From: Kun Liu Date: Wed, 18 Sep 2024 14:25:11 +0800 Subject: mb/google/brox/var/lotso: Fix goodix touchscreen power off sequence Poweroff does not seem to use the ACPI _OFF function, but rather the smihandler. Creating variant_smi_sleep function for nami to handle the power off sequence during reboot/poweroff. BUG=b:364193909 TEST=emerge-brox coreboot Change-Id: I0108be4e5e7c0265aae0f16fd4e2b7cbe5936112 Signed-off-by: Kun Liu Reviewed-on: https://review.coreboot.org/c/coreboot/+/84412 Reviewed-by: Jian Tong Reviewed-by: Karthik Ramasubramanian Tested-by: build bot (Jenkins) --- .../google/brox/variants/baseboard/include/baseboard/variants.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/google/brox/variants/baseboard') diff --git a/src/mainboard/google/brox/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/brox/variants/baseboard/include/baseboard/variants.h index d04a793ec2..a1fbe018b1 100644 --- a/src/mainboard/google/brox/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/brox/variants/baseboard/include/baseboard/variants.h @@ -25,6 +25,7 @@ bool variant_is_half_populated(void); void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config); void variant_fill_ssdt(const struct device *dev); void variant_configure_pads(void); +void variant_smi_sleep(u8 slp_typ); enum s0ix_entry { S0IX_EXIT, -- cgit v1.2.3