soc/intel/tgl: Add configurable value for PmcUsb2PhySusPgEnable
PmcUsb2PhySusPgEnable is enabled by default. Expose devicetree parameter to disable Signed-off-by: Derek Huang <derek.huang@intel.corp-partner.google.com> Change-Id: Ibd54a10c57d39bb8762b705ef0d6ff4cd47f0d89 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51490 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
This commit is contained in:
parent
9e82bf36c8
commit
8056187e4e
|
@ -174,6 +174,8 @@ struct soc_intel_tigerlake_config {
|
||||||
uint16_t usb2_wake_enable_bitmap;
|
uint16_t usb2_wake_enable_bitmap;
|
||||||
/* Wake Enable Bitmap for USB3 ports */
|
/* Wake Enable Bitmap for USB3 ports */
|
||||||
uint16_t usb3_wake_enable_bitmap;
|
uint16_t usb3_wake_enable_bitmap;
|
||||||
|
/* PCH USB2 PHY Power Gating disable */
|
||||||
|
uint8_t usb2_phy_sus_pg_disable;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Acoustic Noise Mitigation
|
* Acoustic Noise Mitigation
|
||||||
|
|
|
@ -443,6 +443,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
||||||
/* Disable C1 C-state Demotion */
|
/* Disable C1 C-state Demotion */
|
||||||
params->C1StateAutoDemotion = 0;
|
params->C1StateAutoDemotion = 0;
|
||||||
|
|
||||||
|
/* USB2 Phy Sus power gating setting override */
|
||||||
|
params->PmcUsb2PhySusPgEnable = !config->usb2_phy_sus_pg_disable;
|
||||||
|
|
||||||
mainboard_silicon_init_params(params);
|
mainboard_silicon_init_params(params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue