tpm: Autodetect itpm devices
Some Lenovos have TPMs that require a quirk to function correctly. This can
be autodetected by checking whether the device has a _HID of INTC0102. This
is an invalid PNPid, and as such is discarded by the pnp layer - however
it's still present in the ACPI code, so we can pull it out that way. This
means that the quirk won't be automatically applied on non-ACPI systems,
but without ACPI we don't have any way to identify the chip anyway so I
don't think that's a great concern.
Signed-off-by: Matthew Garrett <[email protected]>
Acked-by: Rajiv Andrade <[email protected]>
Tested-by: Jiri Kosina <[email protected]>
Tested-by: Andy Isaacson <[email protected]>
Signed-off-by: James Morris <[email protected]>