summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorStefano Radaelli <stefano.r@variscite.com>2026-09-17 14:42:11 +0200
committerJarkko Sakkinen <jarkko@kernel.org>2026-10-23 00:59:20 +0300
commit95ae1ad345658632a20c45a4b471a11fdcd438d0 (patch)
tree20ae01710177d16b89d048989425ab2fc1538158 /scripts/basic
parenta32b7973d65021486a6ae63d06a575d700eb1f91 (diff)
downloadlinux-95ae1ad345658632a20c45a4b471a11fdcd438d0.tar.gz
linux-95ae1ad345658632a20c45a4b471a11fdcd438d0.zip
tpm: tis_i2c: Deassert optional reset line before probing
The common TPM Device Tree binding already documents resets and reset-gpios, but the TIS I2C driver never requests a reset control. As a result, an I2C TPM held in reset by board wiring remains inaccessible and the first register access during probe fails. Request the optional reset control and deassert it before communicating with the TPM. This keeps existing boards without a reset line unchanged while allowing platforms using resets or reset-gpios to release the TPM before probe continues. Tested on a Variscite DART-MX95 with an ST33KTPM2XI2C TPM using reset-gpios. Signed-off-by: Stefano Radaelli <stefano.r@variscite.com> Link: https://lore.kernel.org/r/20260917124211.136221-1-stefano.r@variscite.com Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions