[PATCH 0/4] Add TPM2 support for AMD Versal Gen 2
Padmarao Begari
padmarao.begari at amd.com
Fri Mar 27 13:52:54 CET 2026
This series adds a TPM2 driver for AMD Versal Gen 2 that exposes the
PLM XilOCP Hardware PCR service as a standard TPM2 interface.
On Versal Gen 2 there is no discrete TPM chip; instead the Platform
Management controller (PLM) provides a set of Hardware PCRs through its
XilOCP module (module ID 13). U-Boot reaches PLM via the TF-A SMC
PASS_THROUGH path using the existing xilinx_pm_request() infrastructure:
U-Boot -> xilinx_pm_request() -> SMC (PASS_THROUGH) -> TF-A -> IPI -> PLM
Padmarao Begari (4):
firmware: zynqmp: Add HW PCR API for Versal Gen 2
tpm: Add AMD Versal Gen 2 TPM2 driver
firmware: zynqmp: Bind TPM2 driver for Versal Gen 2
configs: amd: Enable Versal Gen 2 TPM2 driver
MAINTAINERS | 5 +
configs/amd_versal2_virt_defconfig | 1 +
drivers/firmware/firmware-zynqmp.c | 85 +++-
drivers/tpm/Kconfig | 21 +
drivers/tpm/Makefile | 1 +
drivers/tpm/tpm2_versal2_smc.c | 666 +++++++++++++++++++++++++++++
include/zynqmp_firmware.h | 24 ++
7 files changed, 802 insertions(+), 1 deletion(-)
create mode 100644 drivers/tpm/tpm2_versal2_smc.c
--
2.34.1
More information about the U-Boot
mailing list