summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/tigerlake/chip.h2
-rw-r--r--src/soc/intel/tigerlake/fsp_params.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/chip.h b/src/soc/intel/tigerlake/chip.h
index cbd687c67f..af9b310ba3 100644
--- a/src/soc/intel/tigerlake/chip.h
+++ b/src/soc/intel/tigerlake/chip.h
@@ -174,6 +174,8 @@ struct soc_intel_tigerlake_config {
uint16_t usb2_wake_enable_bitmap;
/* Wake Enable Bitmap for USB3 ports */
uint16_t usb3_wake_enable_bitmap;
+ /* PCH USB2 PHY Power Gating disable */
+ uint8_t usb2_phy_sus_pg_disable;
/*
* Acoustic Noise Mitigation
diff --git a/src/soc/intel/tigerlake/fsp_params.c b/src/soc/intel/tigerlake/fsp_params.c
index 0b2c0b0487..6d08e1f68c 100644
--- a/src/soc/intel/tigerlake/fsp_params.c
+++ b/src/soc/intel/tigerlake/fsp_params.c
@@ -443,6 +443,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
/* Disable C1 C-state Demotion */
params->C1StateAutoDemotion = 0;
+ /* USB2 Phy Sus power gating setting override */
+ params->PmcUsb2PhySusPgEnable = !config->usb2_phy_sus_pg_disable;
+
mainboard_silicon_init_params(params);
}