soc/intel/alderlake: Add support enable external V1P05/Vnn rails
This patch adds the support to enable the external V1P05/Vnn rails in S0 state via devicetree. BUG=b:223102016 Signed-off-by: V Sowmya <v.sowmya@intel.com> Change-Id: I555e5607af15a5f5d83ef74321b1b71f17cca289 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63497 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Kangheui Won <khwon@chromium.org>
This commit is contained in:
parent
2af96025fc
commit
ee44945187
1 changed files with 3 additions and 2 deletions
|
@ -82,7 +82,7 @@ enum ddi_port_flags {
|
|||
|
||||
/*
|
||||
* Enable External V1P05/Vnn/VnnSx Rail in: BIT0:S0i1/S0i2,
|
||||
* BIT1:S0i3, BIT2:S3, BIT3:S4, BIT4:S5
|
||||
* BIT1:S0i3, BIT2:S3, BIT3:S4, BIT4:S5, BIT5:S0.
|
||||
*/
|
||||
enum fivr_enable_states {
|
||||
FIVR_ENABLE_S0i1_S0i2 = BIT(0),
|
||||
|
@ -90,6 +90,7 @@ enum fivr_enable_states {
|
|||
FIVR_ENABLE_S3 = BIT(2),
|
||||
FIVR_ENABLE_S4 = BIT(3),
|
||||
FIVR_ENABLE_S5 = BIT(4),
|
||||
FIVR_ENABLE_S0 = BIT(5),
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -107,7 +108,7 @@ enum fivr_voltage_supported {
|
|||
};
|
||||
|
||||
#define FIVR_ENABLE_ALL_SX (FIVR_ENABLE_S0i1_S0i2 | FIVR_ENABLE_S0i3 | \
|
||||
FIVR_ENABLE_S3 | FIVR_ENABLE_S4 | FIVR_ENABLE_S5)
|
||||
FIVR_ENABLE_S3 | FIVR_ENABLE_S4 | FIVR_ENABLE_S5 | FIVR_ENABLE_S0)
|
||||
/*
|
||||
* The Max Pkg Cstate
|
||||
* Values 0 - C0/C1, 1 - C2, 2 - C3, 3 - C6, 4 - C7, 5 - C7S, 6 - C8, 7 - C9, 8 - C10,
|
||||
|
|
Loading…
Reference in a new issue