tpm: TPM2 support for tpm_startup()

This patch implements TPM2 support for tpm_startup().

Signed-off-by: Will Arthur <will.c.arthur@intel.com>
tpm: TPM2 support for tpm_gen_interrupt().

This patch adds TPM2 support for tpm_gen_interrupt().

Signed-off-by: Will Arthur <will.c.arthur@intel.com>
tpm: enable TPM2 in the existing TIS driver

Added support for extended STS register.  This allows driver
to access the bits for detecting TPM 1.2 vs 2.0 and for
sending cancel and resetEstBit commands.

Signed-off-by: Will Arthur <will.c.arthur@intel.com>
tpm: workaround for selftest when firmware does not execute TPM2_Startup

This patch adds a workaround to tpm_do_selftest() for the situation
when firmware does not execute TPM2_Startup. This does not happen
usually in production hardware but is sometimes case with development
hardware.

Signed-off-by: Will Arthur <will.c.arthur@intel.com>
tpm: add copyright statements

Added Intel copyright statements to tpm-interface.c and tpm-sysfs.c

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
tpm: TPM 2.0 CRB Interface

This patch adds a driver for TPM security chips that are compliant
with TCG CRB 2.0 TPM specification.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>