This site contains the code for the TPM (Trusted Platform Module) 2.0 Software Stack (TSS).
This stack consists of the following layers from top to bottom:
Since the FAPI and ESAPI haven't been implemented yet, this repository only contains the SAPI and layers below it, plus a test application for excercising the SAPI.
For more details on this code and how to install and use it, the Readme.pdf file is a good place to start.
Instructions for building and installing the TPM2.0-TSS are provided in the INSTALL file.
TPM 2.0 specifications can be found at Trusted Computing Group.