From 97b0cf774d84c164b32784209c4f6bf5fdfc70ad Mon Sep 17 00:00:00 2001 From: Stanley Wu Date: Tue, 12 Jul 2022 15:44:44 +0800 Subject: [PATCH] mb/google/nissa/var/pujjo: Add WWAN power off sequence pujjo support FM101 WWAN, use wwan_power.asl to handle the power off sequence BUG=b:238281124 TEST=Build and boot on pujjo Signed-off-by: Stanley Wu Change-Id: I53cd45c8030855c267d870d68d009c454350621e Reviewed-on: https://review.coreboot.org/c/coreboot/+/65781 Tested-by: build bot (Jenkins) Reviewed-by: Reka Norman --- src/mainboard/google/brya/Kconfig.name | 1 + .../google/brya/variants/pujjo/include/variant/gpio.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index c80be5cd65..e5091e6a4c 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -251,6 +251,7 @@ config BOARD_GOOGLE_PUJJO select BOARD_GOOGLE_BASEBOARD_NISSA select DRIVERS_GENERIC_GPIO_KEYS select DRIVERS_GENESYSLOGIC_GL9750 + select HAVE_WWAN_POWER_SEQUENCE config BOARD_GOOGLE_XIVU bool "-> Xivu" diff --git a/src/mainboard/google/brya/variants/pujjo/include/variant/gpio.h b/src/mainboard/google/brya/variants/pujjo/include/variant/gpio.h index c4fe342621..c96b01fc15 100644 --- a/src/mainboard/google/brya/variants/pujjo/include/variant/gpio.h +++ b/src/mainboard/google/brya/variants/pujjo/include/variant/gpio.h @@ -5,4 +5,8 @@ #include +#define WWAN_FCPO GPP_D6 +#define WWAN_RST GPP_F12 +#define T2_OFF_MS 20 + #endif