aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/tpm/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/tpm/chip.h')
-rw-r--r--src/drivers/i2c/tpm/chip.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/drivers/i2c/tpm/chip.h b/src/drivers/i2c/tpm/chip.h
new file mode 100644
index 0000000000..14103c7cc3
--- /dev/null
+++ b/src/drivers/i2c/tpm/chip.h
@@ -0,0 +1,10 @@
+#include <arch/acpi_device.h>
+#include <device/i2c.h>
+
+struct drivers_i2c_tpm_config {
+ const char *hid; /* ACPI _HID (required) */
+ const char *desc; /* Device Description */
+ unsigned uid; /* ACPI _UID */
+ enum i2c_speed speed; /* Bus speed in Hz, default is I2C_SPEED_FAST */
+ struct acpi_irq irq; /* Interrupt */
+};