Both for FIFO and CRB interface TCG has decided to use the same HID MSFT0101. They can be differentiated by looking at the start method from TPM2 ACPI table. These patches make necessary fixes to tpm_tis and tpm_crb modules in order to correctly detect, which module should be used.
Jarkko Sakkinen (2): tpm, tpm_tis: use acpi_driver instead of pnp_driver tpm, tpm_tis: detect TPM2 FIFO devices based on HID drivers/char/tpm/tpm.h | 7 ++ drivers/char/tpm/tpm_crb.c | 20 ++---- drivers/char/tpm/tpm_tis.c | 160 ++++++++++++++++++++++++++++++--------------- 3 files changed, 121 insertions(+), 66 deletions(-) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/