From 0f38b6b1ba2bdea26c2b8988195fc2c5e57b50a4 Mon Sep 17 00:00:00 2001 From: Keith Hui Date: Thu, 28 Nov 2024 15:05:58 -0500 Subject: [PATCH] mb/asus/p8x7x-series: Mark variants using GPIO8 for power LED All boards in the family have the negative leg of power LED linked to a PCH GPIO pin, either GPIO 27 or 8. After examining their boardviews, mark p8h77-v and p8z77-v_lx2 variants through Kconfig as using GPIO8 for power LED. Change-Id: I4d42cd9ac497a4200ab5c90d09eb4dbab8917b30 Signed-off-by: Keith Hui Reviewed-on: https://review.coreboot.org/c/coreboot/+/82556 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/mainboard/asus/p8x7x-series/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mainboard/asus/p8x7x-series/Kconfig b/src/mainboard/asus/p8x7x-series/Kconfig index 133bd94ca9..d555cc67a7 100644 --- a/src/mainboard/asus/p8x7x-series/Kconfig +++ b/src/mainboard/asus/p8x7x-series/Kconfig @@ -25,6 +25,7 @@ config BOARD_ASUS_P8H77_V select BOARD_ROMSIZE_KB_8192 select SUPERIO_NUVOTON_NCT6779D select USE_NATIVE_RAMINIT + select POWER_LED_USES_GPIO8 config BOARD_ASUS_P8Z77_M_PRO select BOARD_ASUS_P8X7X_SERIES @@ -39,6 +40,7 @@ config BOARD_ASUS_P8Z77_V_LX2 select REALTEK_8168_RESET select SUPERIO_NUVOTON_NCT6779D select USE_NATIVE_RAMINIT + select POWER_LED_USES_GPIO8 config BOARD_ASUS_P8Z77_V select BOARD_ASUS_P8X7X_SERIES @@ -58,6 +60,11 @@ config BOARD_ASUS_P8Z77_M if BOARD_ASUS_P8X7X_SERIES +config POWER_LED_USES_GPIO8 + bool + help + If power LED doesn't blink when entering S3 suspend, try setting this. + config MAINBOARD_DIR default "asus/p8x7x-series"