summaryrefslogtreecommitdiff
path: root/src/soc/intel/alderlake/chip.h
diff options
context:
space:
mode:
authorSridhar Siricilla <sridhar.siricilla@intel.com>2022-04-02 10:33:00 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-04-13 15:12:23 +0000
commit37c33052e5c32cfd732b149ec0748614ce5f0178 (patch)
tree69854910d97ab509410c2862f116738edb2c33dd /src/soc/intel/alderlake/chip.h
parent4bc2ca522d7ecb86a3d74e318c01082493b896d8 (diff)
soc/intel/alderlake: Allow mainboard to configure USB2 Phy power gating
The patch adds mechanism in the Alder Lake SoC code to control PCH USB2 Phy power gating from brya board variant's devicetree. Please refer Intel doc#723158 for more information. BUG=b:221461379 TEST=Build and boot Gimble board Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Change-Id: I3d80a3e36c6f8a3c0f174f955b11457752809f4d Reviewed-on: https://review.coreboot.org/c/coreboot/+/63293 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/soc/intel/alderlake/chip.h')
-rw-r--r--src/soc/intel/alderlake/chip.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/chip.h b/src/soc/intel/alderlake/chip.h
index 2dae9cd202..8ee36f63bc 100644
--- a/src/soc/intel/alderlake/chip.h
+++ b/src/soc/intel/alderlake/chip.h
@@ -573,6 +573,13 @@ struct soc_intel_alderlake_config {
* Default 0. Set this to 1 in order to disable C state demotion.
*/
bool disable_c1_state_auto_demotion;
+
+ /*
+ * Enable or Disable PCH USB2 Phy power gating.
+ * Default 0. Set this to 1 in order to disable PCH USB2 Phy Power gating.
+ * Workaround for Intel TA# 723158 to prevent possible display flicker.
+ */
+ bool usb2_phy_sus_pg_disable;
};
typedef struct soc_intel_alderlake_config config_t;