soc/apollolake: Add DPTF HIDs

Add the HIDs that Windows uses for the DPTF driver.

Change-Id: Ic0cb4a45b5ebaf777a09bed1e5836e8afd873657
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66013
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Sean Rhodes 2022-07-20 15:20:27 +01:00 committed by Felix Held
parent b3261661c7
commit 9d1c9ee212
2 changed files with 19 additions and 0 deletions

View File

@ -49,6 +49,7 @@ ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
ramstage-y += cpu.c
ramstage-y += chip.c
ramstage-y += cse.c
ramstage-y += dptf.c
ramstage-y += elog.c
ramstage-y += graphics.c
ramstage-y += gspi.c

View File

@ -0,0 +1,18 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <drivers/intel/dptf/dptf.h>
static const struct dptf_platform_info apl_dptf_platform_info = {
.use_eisa_hids = true,
/* _HID for the toplevel DPTF device, typically \_SB.DPTF */
.dptf_device_hid = "INT3400",
/* _HID for Intel DPTF Generic Device (these require PTYP as well) */
.generic_hid = "INT3403",
/* _HID for Intel DPTF Fan Device */
.fan_hid = "INT3404",
};
const struct dptf_platform_info *get_dptf_platform_info(void)
{
return &apl_dptf_platform_info;
}