From ec91dd8feb16ea89d5a5d35b701bca09d1200afa Mon Sep 17 00:00:00 2001 From: Justin TerAvest Date: Mon, 29 Jan 2018 19:14:19 -0700 Subject: drivers/i2c/tpm: Add irq_gpio support to tpm. Grunt (a amd-stoneyridge based platform) uses a GPIO to interface with the tpm. This change allows devicetree entries to use a irq_gpio entry to describe the interface with the TPM. BUG=b:72655090 Change-Id: I08289891408d7176f68eb9c67f7a417a2448c2de Signed-off-by: Justin TerAvest Reviewed-on: https://review.coreboot.org/23500 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh --- src/drivers/i2c/tpm/chip.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drivers/i2c/tpm/chip.h') diff --git a/src/drivers/i2c/tpm/chip.h b/src/drivers/i2c/tpm/chip.h index 5abd3a94f3..149627f8f4 100644 --- a/src/drivers/i2c/tpm/chip.h +++ b/src/drivers/i2c/tpm/chip.h @@ -7,4 +7,5 @@ struct drivers_i2c_tpm_config { unsigned int uid; /* ACPI _UID */ enum i2c_speed speed; /* Bus speed in Hz, default is I2C_SPEED_FAST */ struct acpi_irq irq; /* Interrupt */ + struct acpi_gpio irq_gpio; /* GPIO interrupt */ }; -- cgit v1.2.3