tpm: Add TPM 2.0 support to the Nuvoton i2c driver (NPCT6xx family)
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tue, 12 Jul 2016 17:41:50 +0000 (11:41 -0600)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 19 Jul 2016 14:43:38 +0000 (17:43 +0300)
commit82cc1a49b6358394938e759dc4c22b2be773bbad
tree14ab5cfb49ade347724792326dc35a5ad151f617
parentcae8b441fc20812d7260dc3b45e05ee98fcfff1b
tpm: Add TPM 2.0 support to the Nuvoton i2c driver (NPCT6xx family)

The command flow is exactly the same, the core simply needs to be
told to enable TPM2 mode when the compatible string indicates a
TPM2.

Signed-off-by: Andrew Azmansky <andrew.zamansky@nuvoton.com>
Tested-by: Andrew Zamansky <andrew.zamansky@nuvoton.com>
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Documentation/devicetree/bindings/i2c/trivial-devices.txt
drivers/char/tpm/tpm_i2c_nuvoton.c