diff options
| author | Winkler, Tomas <[email protected]> | 2016-09-15 10:27:38 +0300 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2016-11-28 01:31:29 +0200 |
| commit | ba5287b6ef6a2ee91dc6cc0829649cecf7b70253 (patch) | |
| tree | 931ec227dd3319ee00fad0d9e19aa276a19c6d17 /scripts | |
| parent | 0821e30cd2f246a93c5271f6c23d7134f809d70d (diff) | |
tpm/tpm_crb: implement tpm crb idle state
The register TPM_CRB_CTRL_REQ_x contains bits goIdle and cmdReady for
SW to indicate that the device can enter or should exit the idle state.
The legacy ACPI-start (SMI + DMA) based devices do not support these
bits and the idle state management is not exposed to the host SW.
Thus, this functionality only is enabled only for a CRB start (MMIO)
based devices.
Based on Jarkko Sakkinen <[email protected]>
original patch:
'tpm_crb: implement power tpm crb power management'
To keep the implementation local to the hw we don't use wait_for_tpm_stat
for polling the TPM_CRB_CTRL_REQ.
[[email protected]: removed cmdReady debug trace on a
success case due the heavy amount of log traffic it causes.]
Signed-off-by: Tomas Winkler <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Tested-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions