1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __CPU_INTEL_MODEL_206AX_CHIP_H__
4 #define __CPU_INTEL_MODEL_206AX_CHIP_H__
8 /* Keep this in sync with acpi.c */
10 CPU_ACPI_DISABLED
= 0,
21 VR12_KEEP_DEFAULT
= 0, /* For device-trees missing the setting */
28 /* VR12 power state listing */
37 enum vr12_phases phases
;
38 int current
; /* In Amps */
41 union turbo_ratio_limits
{
42 /* Limit for 1, 2, 3 and 4 active cores respectively */
52 struct cpu_intel_model_206ax_config
{
53 enum cpu_acpi_level acpi_c1
;
54 enum cpu_acpi_level acpi_c2
;
55 enum cpu_acpi_level acpi_c3
;
57 int tcc_offset
; /* TCC Activation Offset */
59 unsigned int pl1_mw
; /* Long-term power limit in milliwatts */
60 bool pl1_clamp
; /* Long-term power limit clamping limitation */
61 unsigned int pl2_mw
; /* Short-term power limit in milliwatts */
62 bool pl2_clamp
; /* Short-term power limit clamping limitation */
64 int pp0_current_limit
; /* Primary Plane Current Limit (Icc) in Amps */
65 int pp1_current_limit
; /* Secondary Plane Current Limit (IAXG) in Amps */
67 /* PSI states only have an effect when in Package C3 or higher */
68 struct psi_state pp0_psi
[3]; /* Power states for Primary Plane (Icc) */
69 struct psi_state pp1_psi
[3]; /* Power states for Secondary Plane (IAXG) */
71 union turbo_ratio_limits turbo_limits
; /* Turbo ratio limits depending on the number of active cores */
74 #endif /* __CPU_INTEL_MODEL_206AX_CHIP_H__ */