xref: /openbmc/linux/drivers/char/tpm/Kconfig (revision 8b235f2f)
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 / TPM 2.0 FIFO 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 (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.
36
37config 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
46config 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
55	  will be called tpm_i2c_infineon.
56
57config 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
67config TCG_NSC
68	tristate "National Semiconductor TPM Interface"
69	depends on X86
70	---help---
71	  If you have a TPM security chip from National Semiconductor
72	  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"
78	depends on PPC64 || HAS_IOPORT_MAP
79	---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
84config TCG_INFINEON
85	tristate "Infineon Technologies TPM Interface"
86	depends on PNP
87	---help---
88	  If you have a TPM security chip from Infineon Technologies
89	  (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
92	  will be called tpm_infineon.
93	  Further information on this driver and the supported hardware
94	  can be found at http://www.trust.rub.de/projects/linux-device-driver-infineon-tpm/
95
96config TCG_IBMVTPM
97	tristate "IBM VTPM Interface"
98	depends on PPC_PSERIES
99	---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
104config TCG_XEN
105	tristate "XEN TPM Interface"
106	depends on TCG_TPM && XEN
107	select XEN_XENBUS_FRONTEND
108	---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
116config 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
125source "drivers/char/tpm/st33zp24/Kconfig"
126endif # TCG_TPM
127