Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # TPM device configuration |
| 3 | # |
| 4 | |
Jan Engelhardt | 7126b75 | 2007-07-15 23:39:31 -0700 | [diff] [blame] | 5 | menuconfig TCG_TPM |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | tristate "TPM Hardware Support" |
Jan Engelhardt | 7126b75 | 2007-07-15 23:39:31 -0700 | [diff] [blame] | 7 | depends on HAS_IOMEM |
Eric Paris | da31894 | 2008-08-22 11:35:57 -0400 | [diff] [blame] | 8 | select SECURITYFS |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | ---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 Andrade | 7f2ab00 | 2010-05-13 17:37:54 -0300 | [diff] [blame] | 19 | Notes: |
| 20 | 1) For more TPM drivers enable CONFIG_PNP, CONFIG_ACPI |
James Morris | ec4a162 | 2010-05-07 09:19:29 +1000 | [diff] [blame] | 21 | and CONFIG_PNPACPI. |
Rajiv Andrade | 7f2ab00 | 2010-05-13 17:37:54 -0300 | [diff] [blame] | 22 | 2) Without ACPI enabled, the BIOS event log won't be accessible, |
| 23 | which is required to validate the PCR 0-7 values. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
Jan Engelhardt | 7126b75 | 2007-07-15 23:39:31 -0700 | [diff] [blame] | 25 | if TCG_TPM |
| 26 | |
Christophe Ricard | 41a5e1c | 2016-05-19 00:35:52 +0200 | [diff] [blame] | 27 | config TCG_TIS_CORE |
| 28 | tristate |
| 29 | ---help--- |
| 30 | TCG TIS TPM core driver. It implements the TPM TCG TIS logic and hooks |
| 31 | into the TPM kernel APIs. Physical layers will register against it. |
| 32 | |
Leendert van Doorn | 27084ef | 2006-04-22 02:38:03 -0700 | [diff] [blame] | 33 | config TCG_TIS |
Peter Huewe | 4450643 | 2015-03-15 00:54:43 +0100 | [diff] [blame] | 34 | tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface" |
Rajiv Andrade | 2f592f2 | 2011-11-01 09:42:58 -0200 | [diff] [blame] | 35 | depends on X86 |
Christophe Ricard | 41a5e1c | 2016-05-19 00:35:52 +0200 | [diff] [blame] | 36 | select TCG_TIS_CORE |
Leendert van Doorn | 27084ef | 2006-04-22 02:38:03 -0700 | [diff] [blame] | 37 | ---help--- |
| 38 | If you have a TPM security chip that is compliant with the |
Peter Huewe | 4450643 | 2015-03-15 00:54:43 +0100 | [diff] [blame] | 39 | TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO |
| 40 | specification (TPM2.0) say Yes and it will be accessible from |
| 41 | within Linux. To compile this driver as a module, choose M here; |
| 42 | the module will be called tpm_tis. |
Leendert van Doorn | 27084ef | 2006-04-22 02:38:03 -0700 | [diff] [blame] | 43 | |
Christophe Ricard | 0edbfea | 2016-05-19 00:35:53 +0200 | [diff] [blame] | 44 | config TCG_TIS_SPI |
| 45 | tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (SPI)" |
| 46 | depends on SPI |
| 47 | select TCG_TIS_CORE |
| 48 | ---help--- |
| 49 | If you have a TPM security chip which is connected to a regular, |
| 50 | non-tcg SPI master (i.e. most embedded platforms) that is compliant with the |
| 51 | TCG TIS 1.3 TPM specification (TPM1.2) or the TCG PTP FIFO |
| 52 | specification (TPM2.0) say Yes and it will be accessible from |
| 53 | within Linux. To compile this driver as a module, choose M here; |
| 54 | the module will be called tpm_tis_spi. |
| 55 | |
Jason Gunthorpe | a2871c6 | 2013-10-06 12:43:36 -0600 | [diff] [blame] | 56 | config TCG_TIS_I2C_ATMEL |
| 57 | tristate "TPM Interface Specification 1.2 Interface (I2C - Atmel)" |
| 58 | depends on I2C |
| 59 | ---help--- |
| 60 | If you have an Atmel I2C TPM security chip say Yes and it will be |
| 61 | accessible from within Linux. |
| 62 | To compile this driver as a module, choose M here; the module will |
| 63 | be called tpm_tis_i2c_atmel. |
| 64 | |
Peter Huewe | aad628c | 2012-08-07 11:42:32 +0200 | [diff] [blame] | 65 | config TCG_TIS_I2C_INFINEON |
| 66 | tristate "TPM Interface Specification 1.2 Interface (I2C - Infineon)" |
| 67 | depends on I2C |
| 68 | ---help--- |
| 69 | If you have a TPM security chip that is compliant with the |
| 70 | TCG TIS 1.2 TPM specification and Infineon's I2C Protocol Stack |
| 71 | Specification 0.20 say Yes and it will be accessible from within |
| 72 | Linux. |
| 73 | To compile this driver as a module, choose M here; the module |
Peter Huewe | b3f2436 | 2013-10-22 01:12:15 +0200 | [diff] [blame] | 74 | will be called tpm_i2c_infineon. |
Peter Huewe | aad628c | 2012-08-07 11:42:32 +0200 | [diff] [blame] | 75 | |
Jason Gunthorpe | 4c336e4 | 2013-10-06 12:43:13 -0600 | [diff] [blame] | 76 | config TCG_TIS_I2C_NUVOTON |
| 77 | tristate "TPM Interface Specification 1.2 Interface (I2C - Nuvoton)" |
| 78 | depends on I2C |
| 79 | ---help--- |
| 80 | If you have a TPM security chip with an I2C interface from |
| 81 | Nuvoton Technology Corp. say Yes and it will be accessible |
| 82 | from within Linux. |
| 83 | To compile this driver as a module, choose M here; the module |
| 84 | will be called tpm_i2c_nuvoton. |
| 85 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 86 | config TCG_NSC |
| 87 | tristate "National Semiconductor TPM Interface" |
Rajiv Andrade | 2f592f2 | 2011-11-01 09:42:58 -0200 | [diff] [blame] | 88 | depends on X86 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 89 | ---help--- |
David Sterba | 3dde6ad | 2007-05-09 07:12:20 +0200 | [diff] [blame] | 90 | If you have a TPM security chip from National Semiconductor |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 91 | say Yes and it will be accessible from within Linux. To |
| 92 | compile this driver as a module, choose M here; the module |
| 93 | will be called tpm_nsc. |
| 94 | |
| 95 | config TCG_ATMEL |
| 96 | tristate "Atmel TPM Interface" |
Uwe Kleine-König | ce816fa | 2014-04-07 15:39:19 -0700 | [diff] [blame] | 97 | depends on PPC64 || HAS_IOPORT_MAP |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 98 | ---help--- |
| 99 | If you have a TPM security chip from Atmel say Yes and it |
| 100 | will be accessible from within Linux. To compile this driver |
| 101 | as a module, choose M here; the module will be called tpm_atmel. |
| 102 | |
Marcel Selhorst | ebb81fd | 2005-07-27 11:45:12 -0700 | [diff] [blame] | 103 | config TCG_INFINEON |
Marcel Selhorst | f9abb02 | 2005-08-05 11:59:33 -0700 | [diff] [blame] | 104 | tristate "Infineon Technologies TPM Interface" |
Bjorn Helgaas | cedb27d | 2008-04-29 01:03:25 -0700 | [diff] [blame] | 105 | depends on PNP |
Marcel Selhorst | ebb81fd | 2005-07-27 11:45:12 -0700 | [diff] [blame] | 106 | ---help--- |
| 107 | If you have a TPM security chip from Infineon Technologies |
Marcel Selhorst | f9abb02 | 2005-08-05 11:59:33 -0700 | [diff] [blame] | 108 | (either SLD 9630 TT 1.1 or SLB 9635 TT 1.2) say Yes and it |
| 109 | will be accessible from within Linux. |
| 110 | To compile this driver as a module, choose M here; the module |
Marcel Selhorst | ebb81fd | 2005-07-27 11:45:12 -0700 | [diff] [blame] | 111 | will be called tpm_infineon. |
| 112 | Further information on this driver and the supported hardware |
Justin P. Mattock | 631dd1a | 2010-10-18 11:03:14 +0200 | [diff] [blame] | 113 | can be found at http://www.trust.rub.de/projects/linux-device-driver-infineon-tpm/ |
Marcel Selhorst | ebb81fd | 2005-07-27 11:45:12 -0700 | [diff] [blame] | 114 | |
Ashley Lai | 132f762 | 2012-08-22 16:17:43 -0500 | [diff] [blame] | 115 | config TCG_IBMVTPM |
| 116 | tristate "IBM VTPM Interface" |
Kent Yoder | 5b26603 | 2013-02-11 14:36:44 -0500 | [diff] [blame] | 117 | depends on PPC_PSERIES |
Ashley Lai | 132f762 | 2012-08-22 16:17:43 -0500 | [diff] [blame] | 118 | ---help--- |
| 119 | If you have IBM virtual TPM (VTPM) support say Yes and it |
| 120 | will be accessible from within Linux. To compile this driver |
| 121 | as a module, choose M here; the module will be called tpm_ibmvtpm. |
| 122 | |
Daniel De Graaf | e268395 | 2013-07-30 13:29:47 -0400 | [diff] [blame] | 123 | config TCG_XEN |
| 124 | tristate "XEN TPM Interface" |
| 125 | depends on TCG_TPM && XEN |
Konrad Rzeszutek Wilk | 713efca | 2013-08-30 09:02:27 -0400 | [diff] [blame] | 126 | select XEN_XENBUS_FRONTEND |
Daniel De Graaf | e268395 | 2013-07-30 13:29:47 -0400 | [diff] [blame] | 127 | ---help--- |
| 128 | If you want to make TPM support available to a Xen user domain, |
| 129 | say Yes and it will be accessible from within Linux. See |
| 130 | the manpages for xl, xl.conf, and docs/misc/vtpm.txt in |
| 131 | the Xen source repository for more details. |
| 132 | To compile this driver as a module, choose M here; the module |
| 133 | will be called xen-tpmfront. |
| 134 | |
Jarkko Sakkinen | 30fc8d1 | 2014-12-12 11:46:39 -0800 | [diff] [blame] | 135 | config TCG_CRB |
| 136 | tristate "TPM 2.0 CRB Interface" |
| 137 | depends on X86 && ACPI |
| 138 | ---help--- |
| 139 | If you have a TPM security chip that is compliant with the |
| 140 | TCG CRB 2.0 TPM specification say Yes and it will be accessible |
| 141 | from within Linux. To compile this driver as a module, choose |
| 142 | M here; the module will be called tpm_crb. |
| 143 | |
Stefan Berger | 6f99612 | 2016-04-18 13:26:15 -0400 | [diff] [blame] | 144 | config TCG_VTPM_PROXY |
| 145 | tristate "VTPM Proxy Interface" |
| 146 | depends on TCG_TPM |
Arnd Bergmann | a6885a5 | 2016-04-28 12:46:13 +0200 | [diff] [blame] | 147 | select ANON_INODES |
Stefan Berger | 6f99612 | 2016-04-18 13:26:15 -0400 | [diff] [blame] | 148 | ---help--- |
| 149 | This driver proxies for an emulated TPM (vTPM) running in userspace. |
| 150 | A device /dev/vtpmx is provided that creates a device pair |
| 151 | /dev/vtpmX and a server-side file descriptor on which the vTPM |
| 152 | can receive commands. |
| 153 | |
| 154 | |
Christophe Ricard | bf38b87 | 2015-03-08 11:17:14 +0100 | [diff] [blame] | 155 | source "drivers/char/tpm/st33zp24/Kconfig" |
Jan Engelhardt | 7126b75 | 2007-07-15 23:39:31 -0700 | [diff] [blame] | 156 | endif # TCG_TPM |