soc/intel/alderlake: Add ADL-P 4+4 with 28W TDP
[coreboot.git] / src / drivers / i2c / tpm / chip.h
blob4eac7e16f477fcaa351e6a8ba4bd55240d3a182f
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi_device.h>
4 #include <device/i2c_simple.h>
6 enum tpm_power_managed_mode {
7 TPM_DEFAULT_POWER_MANAGED = 0,
8 TPM_FIRMWARE_POWER_MANAGED,
9 TPM_KERNEL_POWER_MANAGED,
12 struct drivers_i2c_tpm_config {
13 const char *hid; /* ACPI _HID (required) */
14 const char *desc; /* Device Description */
15 unsigned int uid; /* ACPI _UID */
16 enum i2c_speed speed; /* Bus speed in Hz, default is I2C_SPEED_FAST */
17 struct acpi_irq irq; /* Interrupt */
18 struct acpi_gpio irq_gpio; /* GPIO interrupt */
19 enum tpm_power_managed_mode power_managed_mode; /* TPM power managed mode */