diff options
author | Marx Wang <marx.wang@intel.corp-partner.google.com> | 2024-02-20 23:15:42 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-02-23 14:28:52 +0000 |
commit | 961ed9fe27108ef46fc6c0f2aad340bb02e09081 (patch) | |
tree | baa0ab131227a8c0dfaf9975a07c1aa65a5f72ed | |
parent | 6cc725466bcb4636fc91733b28df7c24c7016df7 (diff) | |
download | coreboot-961ed9fe27108ef46fc6c0f2aad340bb02e09081.tar.gz coreboot-961ed9fe27108ef46fc6c0f2aad340bb02e09081.tar.bz2 coreboot-961ed9fe27108ef46fc6c0f2aad340bb02e09081.zip |
soc/intel/adl: Set slp-s0 counter frequency
System sleep time (SLP_S0 signal asserted) is measured in ticks, for
Alder Lake soc in 122us (i.e. ~8197Hz) granularity/ticks.
BUG=b:301854636
TEST=/sys/devices/system/cpu/cpuidle/
low_power_idle_system_residency_us" will show system idle residency time
Change-Id: I449f7ed0d9ef891ae5266e8fd784a063a75e38eb
Signed-off-by: Marx Wang <marx.wang@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80665
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sukumar Ghorai <sukumar.ghorai@intel.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r-- | src/soc/intel/alderlake/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig index b81bfdd09d8d..2d42cad62752 100644 --- a/src/soc/intel/alderlake/Kconfig +++ b/src/soc/intel/alderlake/Kconfig @@ -549,4 +549,9 @@ config HSPHY_FW_MAX_SIZE config HAVE_BMP_LOGO_COMPRESS_LZMA default n +config SOC_INTEL_COMMON_BLOCK_ACPI_SLP_S0_FREQ_HZ + default 0x2005 + help + slp_s0_residency granularity in 122us ticks (i.e. ~8.2KHz). + endif |