mb/google/trulo/var/pujjocento: Enable WWAN function

WWAN_FCPO == GPP_D6
WWAN_RST == GPP_E17
spec reuqest: 0 < toff <10ms

LTE is controlled by bits 14 and 15 in fw_config, and P sensor
and LTE modules exist at the same time, so we use the same bit
to control whether to load the driver.

BUG=b:419325064,b:417105553
TEST=Confirm the measured WWAN power sequence

Change-Id: Ia978aef2cc721b65618ac78c13930447d1557797
Signed-off-by: Zhaoxiong Lv <lvzhaoxiong@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87841
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Zhaoxiong Lv 2025-05-26 09:48:38 +08:00 committed by Matt DeVillier
commit aea05e51a7
3 changed files with 12 additions and 2 deletions

View file

@ -518,6 +518,7 @@ config BOARD_GOOGLE_PUJJOCENTO
select BOARD_GOOGLE_BASEBOARD_TRULO
select DRIVERS_I2C_SX9324
select DRIVERS_I2C_SX9324_SUPPORT_LEGACY_LINUX_DRIVER
select HAVE_WWAN_POWER_SEQUENCE
select MAINBOARD_HAS_GOOGLE_STRAUSS_KEYBOARD
select SOC_INTEL_COMMON_BLOCK_HDA_VERB
select SOC_INTEL_TCSS_USE_PDC_PMC_USBC_MUX_CONFIGURATION

View file

@ -5,7 +5,8 @@
#include <baseboard/gpio.h>
#define WWAN_FCPO GPP_D6 /* FULL_CARD_POWER_OFF# */
#define WWAN_RST GPP_E17
#define T2_OFF_MS 20
#define T2_OFF_MS 5 /*spec request: 0 < t_off < 10ms*/
#define SLP_S0_HDMI_EN GPP_A7
#endif

View file

@ -13,6 +13,11 @@ fw_config
option PDC_RTS_BYPASS 1
option PDC_TI_BYPASS 2
end
field LTE 14 15
option LTE_ABSENT 0
option LTE_PRESENT_101 1
option LTE_PRESENT_135 2
end
end
chip soc/intel/alderlake
@ -609,7 +614,10 @@ chip soc/intel/alderlake
register "int_comp_resistor" = ""lowest""
register "input_precharge_resistor_ohms" = "4000"
register "input_analog_gain" = "3"
device i2c 28 on end
device i2c 28 on
probe LTE LTE_PRESENT_101
probe LTE LTE_PRESENT_135
end
end
end
device ref i2c5 on