xref: /openbmc/linux/drivers/char/tpm/Kconfig (revision bc000245)
1#
2# TPM device configuration
3#
4
5menuconfig TCG_TPM
6	tristate "TPM Hardware Support"
7	depends on HAS_IOMEM
8	select SECURITYFS
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.
19	  Notes:
20	  1) For more TPM drivers enable CONFIG_PNP, CONFIG_ACPI
21	  and CONFIG_PNPACPI.
22	  2) Without ACPI enabled, the BIOS event log won't be accessible,
23	  which is required to validate the PCR 0-7 values.
24
25if TCG_TPM
26
27config TCG_TIS
28	tristate "TPM Interface Specification 1.2 Interface"
29	depends on X86
30	---help---
31	  If you have a TPM security chip that is compliant with the
32	  TCG TIS 1.2 TPM specification say Yes and it will be accessible
33	  from within Linux.  To compile this driver as a module, choose
34	  M here; the module will be called tpm_tis.
35
36config TCG_TIS_I2C_ATMEL
37	tristate "TPM Interface Specification 1.2 Interface (I2C - Atmel)"
38	depends on I2C
39	---help---
40	  If you have an Atmel I2C TPM security chip say Yes and it will be
41	  accessible from within Linux.
42	  To compile this driver as a module, choose M here; the module will
43	  be called tpm_tis_i2c_atmel.
44
45config TCG_TIS_I2C_INFINEON
46	tristate "TPM Interface Specification 1.2 Interface (I2C - Infineon)"
47	depends on I2C
48	---help---
49	  If you have a TPM security chip that is compliant with the
50	  TCG TIS 1.2 TPM specification and Infineon's I2C Protocol Stack
51	  Specification 0.20 say Yes and it will be accessible from within
52	  Linux.
53	  To compile this driver as a module, choose M here; the module
54	  will be called tpm_i2c_infineon.
55
56config TCG_TIS_I2C_NUVOTON
57	tristate "TPM Interface Specification 1.2 Interface (I2C - Nuvoton)"
58	depends on I2C
59	---help---
60	  If you have a TPM security chip with an I2C interface from
61	  Nuvoton Technology Corp. say Yes and it will be accessible
62	  from within Linux.
63	  To compile this driver as a module, choose M here; the module
64	  will be called tpm_i2c_nuvoton.
65
66config TCG_NSC
67	tristate "National Semiconductor TPM Interface"
68	depends on X86
69	---help---
70	  If you have a TPM security chip from National Semiconductor
71	  say Yes and it will be accessible from within Linux.  To
72	  compile this driver as a module, choose M here; the module
73	  will be called tpm_nsc.
74
75config TCG_ATMEL
76	tristate "Atmel TPM Interface"
77	depends on PPC64 || HAS_IOPORT
78	---help---
79	  If you have a TPM security chip from Atmel say Yes and it
80	  will be accessible from within Linux.  To compile this driver
81	  as a module, choose M here; the module will be called tpm_atmel.
82
83config TCG_INFINEON
84	tristate "Infineon Technologies TPM Interface"
85	depends on PNP
86	---help---
87	  If you have a TPM security chip from Infineon Technologies
88	  (either SLD 9630 TT 1.1 or SLB 9635 TT 1.2) say Yes and it
89	  will be accessible from within Linux.
90	  To compile this driver as a module, choose M here; the module
91	  will be called tpm_infineon.
92	  Further information on this driver and the supported hardware
93	  can be found at http://www.trust.rub.de/projects/linux-device-driver-infineon-tpm/
94
95config TCG_IBMVTPM
96	tristate "IBM VTPM Interface"
97	depends on PPC_PSERIES
98	---help---
99	  If you have IBM virtual TPM (VTPM) support 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_ibmvtpm.
102
103config TCG_ST33_I2C
104	tristate "STMicroelectronics ST33 I2C TPM"
105	depends on I2C
106	depends on GPIOLIB
107	---help---
108	  If you have a TPM security chip from STMicroelectronics working with
109	  an I2C bus say Yes and it will be accessible from within Linux.
110	  To compile this driver as a module, choose M here; the module will be
111	  called tpm_stm_st33_i2c.
112
113config TCG_XEN
114	tristate "XEN TPM Interface"
115	depends on TCG_TPM && XEN
116	select XEN_XENBUS_FRONTEND
117	---help---
118	  If you want to make TPM support available to a Xen user domain,
119	  say Yes and it will be accessible from within Linux. See
120	  the manpages for xl, xl.conf, and docs/misc/vtpm.txt in
121	  the Xen source repository for more details.
122	  To compile this driver as a module, choose M here; the module
123	  will be called xen-tpmfront.
124
125endif # TCG_TPM
126