tpm: Enable CLKRUN protocol for Braswell systems
authorAzhar Shaikh <azhar.shaikh@intel.com>
Mon, 19 Jun 2017 02:17:59 +0000 (19:17 -0700)
committerJames Morris <james.l.morris@oracle.com>
Thu, 6 Jul 2017 23:49:25 +0000 (09:49 +1000)
commit5e572cab92f0bb56ca1e6e5ee4d807663a7ccbad
tree7dd72e6e59c95d3b1b0f916ad6da51d4197ded99
parentf128480f39166c0a4475b6937e7e3e148b1caecc
tpm: Enable CLKRUN protocol for Braswell systems

To overcome a hardware limitation on Intel Braswell systems,
disable CLKRUN protocol during TPM transactions and re-enable
once the transaction is completed.

Signed-off-by: Azhar Shaikh <azhar.shaikh@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm_tis.c