]> git.baikalelectronics.ru Git - uboot.git/commit
tpm2: tis_spi: add linux compatible fallback string
authorBruno Thomsen <bruno.thomsen@gmail.com>
Fri, 12 Jun 2020 15:17:33 +0000 (17:17 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jul 2020 19:38:32 +0000 (15:38 -0400)
commitb9970fd34645a1b84bfaef99258d54bb5aaf2a36
tree8bc30fb7ac7f490249184da5d6cd6c416658c5c4
parent7aa9ac63a91270d4fc051647ee3b1281197969ee
tpm2: tis_spi: add linux compatible fallback string

This solves a compatibility issue with Linux device trees
that contain TPMv2.x hardware. So it's easier to import DTS
from upstream kernel when migrating board init from C code
to DTS.

The issue is that fallback binding is different between Linux
and u-Boot.

Linux: "tcg,tpm_tis-spi"
U-Boot: "tis,tpm2-spi"

As there are currently no in-tree users of the U-Boot binding,
it makes sense to use Linux fallback binding.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
doc/device-tree-bindings/tpm2/tis-tpm2-spi.txt
drivers/tpm/tpm2_tis_spi.c