soc/intel/{icl,tgl,jsl,ehl}: add LPIT support
Add SLP_S0 residency register and enable LPIT support. Change-Id: Id1abbe8dcb7796eeb26ccb72f1f26cf7a040dba4 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49048 Reviewed-by: Lance Zhao Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
11fae4ffe0
commit
8a6c34e8ba
|
@ -40,6 +40,7 @@ config CPU_SPECIFIC_OPTIONS
|
|||
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
|
||||
select SOC_INTEL_COMMON_BLOCK
|
||||
select SOC_INTEL_COMMON_BLOCK_ACPI
|
||||
select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT
|
||||
select SOC_INTEL_COMMON_BLOCK_CAR
|
||||
select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
|
||||
select SOC_INTEL_COMMON_BLOCK_CPU
|
||||
|
|
|
@ -123,6 +123,8 @@
|
|||
#define GBLRST_CAUSE0_THERMTRIP (1 << 5)
|
||||
#define GBLRST_CAUSE1 0x1928
|
||||
|
||||
#define SLP_S0_RES 0x193c
|
||||
|
||||
#define CPPMVRIC 0x1B1C
|
||||
#define XTALSDQDIS (1 << 22)
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@ config CPU_SPECIFIC_OPTIONS
|
|||
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
|
||||
select SOC_INTEL_COMMON_BLOCK
|
||||
select SOC_INTEL_COMMON_BLOCK_ACPI
|
||||
select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT
|
||||
select SOC_INTEL_COMMON_BLOCK_CAR
|
||||
select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
|
||||
select SOC_INTEL_COMMON_BLOCK_CNVI
|
||||
|
|
|
@ -119,6 +119,8 @@
|
|||
#define GBLRST_CAUSE0_THERMTRIP (1 << 5)
|
||||
#define GBLRST_CAUSE1 0x1928
|
||||
|
||||
#define SLP_S0_RES 0x193c
|
||||
|
||||
#define CPPMVRIC 0x1B1C
|
||||
#define XTALSDQDIS (1 << 22)
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ config CPU_SPECIFIC_OPTIONS
|
|||
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
|
||||
select SOC_INTEL_COMMON_BLOCK
|
||||
select SOC_INTEL_COMMON_BLOCK_ACPI
|
||||
select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT
|
||||
select SOC_INTEL_COMMON_BLOCK_CAR
|
||||
select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
|
||||
select SOC_INTEL_COMMON_BLOCK_CNVI
|
||||
|
|
|
@ -119,6 +119,8 @@
|
|||
#define GBLRST_CAUSE0_THERMTRIP (1 << 5)
|
||||
#define GBLRST_CAUSE1 0x1928
|
||||
|
||||
#define SLP_S0_RES 0x193c
|
||||
|
||||
#define CPPMVRIC 0x1B1C
|
||||
#define XTALSDQDIS (1 << 22)
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ config CPU_SPECIFIC_OPTIONS
|
|||
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
|
||||
select SOC_INTEL_COMMON_BLOCK
|
||||
select SOC_INTEL_COMMON_BLOCK_ACPI
|
||||
select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT
|
||||
select SOC_INTEL_COMMON_BLOCK_CAR
|
||||
select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
|
||||
select SOC_INTEL_COMMON_BLOCK_CNVI
|
||||
|
|
|
@ -152,6 +152,8 @@ enum pch_pmc_xtal pmc_get_xtal_freq(void);
|
|||
#define HPR_CAUSE0_MI_HRPC (1 << 9)
|
||||
#define HPR_CAUSE0_MI_HR (1 << 8)
|
||||
|
||||
#define SLP_S0_RES 0x193c
|
||||
|
||||
#define CPPMVRIC 0x1B1C
|
||||
#define XTALSDQDIS (1 << 22)
|
||||
|
||||
|
|
Loading…
Reference in New Issue