drivers: stm32_tamp: add tamper events detection support

The anti-tamper detection circuit is used to protect sensitive data
from external attacks. The backup registers, as well as other secrets in
the device, are protected by this anti-tamper detection circuit with
some tamper pins and internal tampers. The external tamper pins can
be configured for edge detection, or level detection with or without
filtering, or active tamper which increases the security level by auto
checking that the tamper pins are not externally opened or shorted.

Add support for the device-tree configuration of internal and external
tamper events as well as the list hardware mapped pins with their
associated tamper ID for external tampers.

While there, fix the license for this driver.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
1 file changed
tree: fca39a57420f7493611eb6d06bdfddd13cbb9162
  1. .devcontainer/
  2. .github/
  3. .vscode/
  4. core/
  5. keys/
  6. ldelf/
  7. lib/
  8. mk/
  9. scripts/
  10. ta/
  11. .checkpatch.conf
  12. .clang-format
  13. .gitattributes
  14. .gitignore
  15. CHANGELOG.md
  16. LICENSE
  17. MAINTAINERS
  18. Makefile
  19. README.md
  20. typedefs.checkpatch
README.md

OP-TEE Trusted OS

This git contains source code for the secure side implementation of OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io.

// OP-TEE core maintainers