summaryrefslogtreecommitdiff
path: root/src/soc/intel/alderlake/chip.h
diff options
context:
space:
mode:
authorV Sowmya <v.sowmya@intel.com>2022-07-05 20:49:57 +0530
committerSubrata Banik <subratabanik@google.com>2022-07-08 07:22:03 +0000
commit4be8d9e80debf56f8ee7998dd4f7f22a65384a04 (patch)
tree0b8c62926ee1b731eb8817c067353ef3d0b935c7 /src/soc/intel/alderlake/chip.h
parent1793eb4c8a6b31ba4723c268870ebe7e071957f9 (diff)
soc/intel/adl: Add support to configure package c-state demotion
This patch adds the support to enable/disable package c-state demotion feature from the devicetree based on mainboard requirement. BUG=b:235005582 TEST=Build and boot to verify that the right value has been passed to the FSP. Signed-off-by: V Sowmya <v.sowmya@intel.com> Change-Id: I9e254988bc3d20b9f9e42a605cc0ebd419ab49ad Reviewed-on: https://review.coreboot.org/c/coreboot/+/65663 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Varshit B Pandya <varshit.b.pandya@intel.com> Reviewed-by: Reka Norman <rekanorman@chromium.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Kangheui Won <khwon@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 d01dc73dea..c4de08f75c 100644
--- a/src/soc/intel/alderlake/chip.h
+++ b/src/soc/intel/alderlake/chip.h
@@ -614,6 +614,13 @@ struct soc_intel_alderlake_config {
* Workaround for Intel TA# 723158 to prevent possible display flicker.
*/
bool usb2_phy_sus_pg_disable;
+
+ /*
+ * Enable or Disable Package C-state Demotion.
+ * Default is set to 0.
+ * Set this to 1 in order to disable Package C-state demotion.
+ */
+ bool disable_package_c_state_demotion;
};
typedef struct soc_intel_alderlake_config config_t;