xref: /rk3399_ARM-atf/drivers/tpm/tpm2_chip.c (revision 7e848540159ba8fbb0577c76e4dc0c5bbc542489)
1*36e3d877SAbhi.Singh 
2*36e3d877SAbhi.Singh /*
3*36e3d877SAbhi.Singh  * Copyright (c) 2025, Arm Limited. All rights reserved.
4*36e3d877SAbhi.Singh  *
5*36e3d877SAbhi.Singh  * SPDX-License-Identifier: BSD-3-Clause
6*36e3d877SAbhi.Singh  */
7*36e3d877SAbhi.Singh 
8*36e3d877SAbhi.Singh #include <drivers/tpm/tpm2_chip.h>
9*36e3d877SAbhi.Singh 
10*36e3d877SAbhi.Singh /*
11*36e3d877SAbhi.Singh  * TPM timeout values
12*36e3d877SAbhi.Singh  * Reference: TCG PC Client Platform TPM Profile (PTP) Specification v1.05
13*36e3d877SAbhi.Singh  */
14*36e3d877SAbhi.Singh struct tpm_chip_data tpm_chip_data = {
15*36e3d877SAbhi.Singh 	.locality = -1,
16*36e3d877SAbhi.Singh 	.timeout_msec_a = 750,
17*36e3d877SAbhi.Singh 	.timeout_msec_b = 2000,
18*36e3d877SAbhi.Singh 	.timeout_msec_c = 200,
19*36e3d877SAbhi.Singh 	.timeout_msec_d = 30,
20*36e3d877SAbhi.Singh 	.address = 0,
21*36e3d877SAbhi.Singh };
22