blob: 3b84a8b1bfbe8f4bbd1e5a5cb1b83bd9179d333e [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# TPM device configuration
3#
4
Jan Engelhardt7126b752007-07-15 23:39:31 -07005menuconfig TCG_TPM
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 tristate "TPM Hardware Support"
Jan Engelhardt7126b752007-07-15 23:39:31 -07007 depends on HAS_IOMEM
Eric Parisda318942008-08-22 11:35:57 -04008 select SECURITYFS
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 ---help---
10 If you have a TPM security chip in your system, which
11 implements the Trusted Computing Group's specification,
12 say Yes and it will be accessible from within Linux. For
13 more information see <http://www.trustedcomputinggroup.org>.
14 An implementation of the Trusted Software Stack (TSS), the
15 userspace enablement piece of the specification, can be
16 obtained at: <http://sourceforge.net/projects/trousers>. To
17 compile this driver as a module, choose M here; the module
18 will be called tpm. If unsure, say N.
Rajiv Andrade7f2ab002010-05-13 17:37:54 -030019 Notes:
20 1) For more TPM drivers enable CONFIG_PNP, CONFIG_ACPI
James Morrisec4a1622010-05-07 09:19:29 +100021 and CONFIG_PNPACPI.
Rajiv Andrade7f2ab002010-05-13 17:37:54 -030022 2) Without ACPI enabled, the BIOS event log won't be accessible,
23 which is required to validate the PCR 0-7 values.
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
Jan Engelhardt7126b752007-07-15 23:39:31 -070025if TCG_TPM
26
Leendert van Doorn27084ef2006-04-22 02:38:03 -070027config TCG_TIS
Peter Huewe44506432015-03-15 00:54:43 +010028 tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface"
Rajiv Andrade2f592f22011-11-01 09:42:58 -020029 depends on X86
Leendert van Doorn27084ef2006-04-22 02:38:03 -070030 ---help---
31 If you have a TPM security chip that is compliant with the
Peter Huewe44506432015-03-15 00:54:43 +010032 TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
33 specification (TPM2.0) say Yes and it will be accessible from
34 within Linux. To compile this driver as a module, choose M here;
35 the module will be called tpm_tis.
Leendert van Doorn27084ef2006-04-22 02:38:03 -070036
Jason Gunthorpea2871c62013-10-06 12:43:36 -060037config TCG_TIS_I2C_ATMEL
38 tristate "TPM Interface Specification 1.2 Interface (I2C - Atmel)"
39 depends on I2C
40 ---help---
41 If you have an Atmel I2C TPM security chip say Yes and it will be
42 accessible from within Linux.
43 To compile this driver as a module, choose M here; the module will
44 be called tpm_tis_i2c_atmel.
45
Peter Hueweaad628c2012-08-07 11:42:32 +020046config TCG_TIS_I2C_INFINEON
47 tristate "TPM Interface Specification 1.2 Interface (I2C - Infineon)"
48 depends on I2C
49 ---help---
50 If you have a TPM security chip that is compliant with the
51 TCG TIS 1.2 TPM specification and Infineon's I2C Protocol Stack
52 Specification 0.20 say Yes and it will be accessible from within
53 Linux.
54 To compile this driver as a module, choose M here; the module
Peter Hueweb3f24362013-10-22 01:12:15 +020055 will be called tpm_i2c_infineon.
Peter Hueweaad628c2012-08-07 11:42:32 +020056
Jason Gunthorpe4c336e42013-10-06 12:43:13 -060057config TCG_TIS_I2C_NUVOTON
58 tristate "TPM Interface Specification 1.2 Interface (I2C - Nuvoton)"
59 depends on I2C
60 ---help---
61 If you have a TPM security chip with an I2C interface from
62 Nuvoton Technology Corp. say Yes and it will be accessible
63 from within Linux.
64 To compile this driver as a module, choose M here; the module
65 will be called tpm_i2c_nuvoton.
66
Linus Torvalds1da177e2005-04-16 15:20:36 -070067config TCG_NSC
68 tristate "National Semiconductor TPM Interface"
Rajiv Andrade2f592f22011-11-01 09:42:58 -020069 depends on X86
Linus Torvalds1da177e2005-04-16 15:20:36 -070070 ---help---
David Sterba3dde6ad2007-05-09 07:12:20 +020071 If you have a TPM security chip from National Semiconductor
Linus Torvalds1da177e2005-04-16 15:20:36 -070072 say Yes and it will be accessible from within Linux. To
73 compile this driver as a module, choose M here; the module
74 will be called tpm_nsc.
75
76config TCG_ATMEL
77 tristate "Atmel TPM Interface"
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -070078 depends on PPC64 || HAS_IOPORT_MAP
Linus Torvalds1da177e2005-04-16 15:20:36 -070079 ---help---
80 If you have a TPM security chip from Atmel say Yes and it
81 will be accessible from within Linux. To compile this driver
82 as a module, choose M here; the module will be called tpm_atmel.
83
Marcel Selhorstebb81fd2005-07-27 11:45:12 -070084config TCG_INFINEON
Marcel Selhorstf9abb022005-08-05 11:59:33 -070085 tristate "Infineon Technologies TPM Interface"
Bjorn Helgaascedb27d2008-04-29 01:03:25 -070086 depends on PNP
Marcel Selhorstebb81fd2005-07-27 11:45:12 -070087 ---help---
88 If you have a TPM security chip from Infineon Technologies
Marcel Selhorstf9abb022005-08-05 11:59:33 -070089 (either SLD 9630 TT 1.1 or SLB 9635 TT 1.2) say Yes and it
90 will be accessible from within Linux.
91 To compile this driver as a module, choose M here; the module
Marcel Selhorstebb81fd2005-07-27 11:45:12 -070092 will be called tpm_infineon.
93 Further information on this driver and the supported hardware
Justin P. Mattock631dd1a2010-10-18 11:03:14 +020094 can be found at http://www.trust.rub.de/projects/linux-device-driver-infineon-tpm/
Marcel Selhorstebb81fd2005-07-27 11:45:12 -070095
Ashley Lai132f7622012-08-22 16:17:43 -050096config TCG_IBMVTPM
97 tristate "IBM VTPM Interface"
Kent Yoder5b266032013-02-11 14:36:44 -050098 depends on PPC_PSERIES
Ashley Lai132f7622012-08-22 16:17:43 -050099 ---help---
100 If you have IBM virtual TPM (VTPM) support say Yes and it
101 will be accessible from within Linux. To compile this driver
102 as a module, choose M here; the module will be called tpm_ibmvtpm.
103
Daniel De Graafe2683952013-07-30 13:29:47 -0400104config TCG_XEN
105 tristate "XEN TPM Interface"
106 depends on TCG_TPM && XEN
Konrad Rzeszutek Wilk713efca2013-08-30 09:02:27 -0400107 select XEN_XENBUS_FRONTEND
Daniel De Graafe2683952013-07-30 13:29:47 -0400108 ---help---
109 If you want to make TPM support available to a Xen user domain,
110 say Yes and it will be accessible from within Linux. See
111 the manpages for xl, xl.conf, and docs/misc/vtpm.txt in
112 the Xen source repository for more details.
113 To compile this driver as a module, choose M here; the module
114 will be called xen-tpmfront.
115
Jarkko Sakkinen30fc8d12014-12-12 11:46:39 -0800116config TCG_CRB
117 tristate "TPM 2.0 CRB Interface"
118 depends on X86 && ACPI
119 ---help---
120 If you have a TPM security chip that is compliant with the
121 TCG CRB 2.0 TPM specification say Yes and it will be accessible
122 from within Linux. To compile this driver as a module, choose
123 M here; the module will be called tpm_crb.
124
Christophe Ricardbf38b872015-03-08 11:17:14 +0100125source "drivers/char/tpm/st33zp24/Kconfig"
Jan Engelhardt7126b752007-07-15 23:39:31 -0700126endif # TCG_TPM