blob: a46c7bf154a15dac0849b325ec166bbcc1ea0546 [file] [log] [blame]
Angel Ponsf23ae0b2020-04-02 23:48:12 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Stefan Reinauer5c554632012-04-04 00:09:50 +02002
Stefan Reinauer5c554632012-04-04 00:09:50 +02003/* Magic value used to locate this chip in the device tree */
4#define SPEEDSTEP_APIC_MAGIC 0xACAC
5
Arthur Heymansd52bfbb2022-11-07 09:23:02 +01006/* Keep this in sync with acpi.c */
7enum cpu_acpi_level {
8 CPU_ACPI_DISABLED = 0,
9 CPU_ACPI_C1,
10 CPU_ACPI_C2,
11 CPU_ACPI_C3,
12 CPU_ACPI_C6,
13 CPU_ACPI_C7,
14 CPU_ACPI_C7S,
15};
16
Stefan Reinauer5c554632012-04-04 00:09:50 +020017struct cpu_intel_model_206ax_config {
Arthur Heymansd52bfbb2022-11-07 09:23:02 +010018 enum cpu_acpi_level acpi_c1;
19 enum cpu_acpi_level acpi_c2;
20 enum cpu_acpi_level acpi_c3;
Duncan Laurie55632112012-07-16 12:19:00 -070021
22 int tcc_offset; /* TCC Activation Offset */
Stefan Reinauer5c554632012-04-04 00:09:50 +020023};