diff --git a/src/soc/intel/apollolake/Makefile.inc b/src/soc/intel/apollolake/Makefile.inc index 107a913932..00adb9cb50 100644 --- a/src/soc/intel/apollolake/Makefile.inc +++ b/src/soc/intel/apollolake/Makefile.inc @@ -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 diff --git a/src/soc/intel/apollolake/dptf.c b/src/soc/intel/apollolake/dptf.c new file mode 100644 index 0000000000..b5accc99c5 --- /dev/null +++ b/src/soc/intel/apollolake/dptf.c @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +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; +}