[PATCH v2 00/11] tpm: Support using TPM1 and TPM2 from a single API