diff options
author | Rob Barnes <robbarnes@google.com> | 2021-11-18 14:12:46 -0700 |
---|---|---|
committer | Karthik Ramasubramanian <kramasub@google.com> | 2021-11-22 16:31:34 +0000 |
commit | 5e3c454fbb7524715186ef7ad32e65fa9279aa4b (patch) | |
tree | 7d8f107fa3e375a0e380ff776ba3fade1fa3dee6 /src/arch/arm/boot.c | |
parent | b35acf9210ffdd458a806ddbbf7deef7aac20fcd (diff) |
drivers/tpm: Add firmware-power-managed DSD property
Introduce firmware-power-managed DSD ACPI property for TPM devices.
This property can be checked by the kernel TPM driver to override how
the TPM power states are managed. This is a tri-state flag, true,
false, or unset. So an enum used to keep the flag is unset by default.
When firmware-power-managed is true, the kernel driver will not send a
shutdown during s2idle/s0i3 suspend.
BUG=b:200578885
BRANCH=None
TEST=TPM shutdown is triggered on s0ix suspend on guybrush with patched
kernel
Change-Id: Ia48ead856fc0c6e637a2e07a5ecc58423f599c5b
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59479
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/arch/arm/boot.c')
0 files changed, 0 insertions, 0 deletions