u-boot/drivers/tpm
Sughosh Ganu aedd45138e tpm: Add the RNG child device
The TPM device comes with the random number generator(RNG)
functionality which is built into the TPM device. Add logic to add the
RNG child device in the TPM uclass post probe callback.

The RNG device can then be used to pass a set of random bytes to the
linux kernel, need for address space randomisation through the
EFI_RNG_PROTOCOL interface.

No compatible string is provided because this is not available in
the binding defined by Linux. If multiple rand devices are in the
system, then some method of selecting them (other than device tree)
will need to be used, or a binding will need to be added.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2022-08-02 23:50:02 +03:00
..
cr50_i2c.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
Kconfig tpm: add support for TPMv2.x I2C chips 2022-05-23 16:33:58 +03:00
Makefile tpm: add support for TPMv2.x I2C chips 2022-05-23 16:33:58 +03:00
sandbox_common.c sandbox: tpm: Support the define-space command 2021-08-01 09:05:24 -06:00
sandbox_common.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tpm-uclass.c tpm: Add the RNG child device 2022-08-02 23:50:02 +03:00
tpm2_ftpm_tee.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
tpm2_ftpm_tee.h tpm2: ftpm: A driver for firmware TPM running inside TEE 2020-02-05 19:33:46 -07:00
tpm2_tis_core.c tpm: core: Set timeouts before requesting locality 2022-05-23 16:32:55 +03:00
tpm2_tis_i2c.c tpm: add support for TPMv2.x I2C chips 2022-05-23 16:33:58 +03:00
tpm2_tis_mmio.c tis: fix tpm_tis_remove() 2021-11-30 14:11:05 +02:00
tpm2_tis_sandbox.c sandbox: tpm: Support extending a PCR multiple times 2021-08-01 09:05:24 -06:00
tpm2_tis_spi.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tpm_atmel_twi.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tpm_internal.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tpm_tis.h tpm2: Introduce TIS tpm core 2021-11-10 20:57:54 +01:00
tpm_tis_infineon.c tpm: refactor function names and macros for infineon v1.2 TPM 2021-11-10 20:57:54 +01:00
tpm_tis_lpc.c tpm: refactor function names for LPC based TPMs 2021-11-10 20:57:54 +01:00
tpm_tis_sandbox.c sandbox: tpm: Correct handling of get-capability 2021-08-01 09:05:24 -06:00
tpm_tis_st33zp24_i2c.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
tpm_tis_st33zp24_spi.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00