devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Clean up TPM compatibles
@ 2022-09-30 16:51 Alexander Steffen
  2022-09-30 16:51 ` [PATCH 1/7] dt-bindings: tpm: Introduce trivial-tpms.yaml Alexander Steffen
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Alexander Steffen @ 2022-09-30 16:51 UTC (permalink / raw)
  To: robh+dt, devicetree, jarkko, linux-integrity
  Cc: Alexander Steffen, Johannes.Holland, benoit.houyere, amirmizi6,
	peter

Not all TPM compatibles were documented correctly so far. Some were not
documented at all, others missed some properties, most of them did not use the
latest YAML format. But by design most TPMs are very similar, so this allows to
document them in a single trivial-tpms.yaml, similar to how
trivial-devices.yaml documents simple I2C and SPI devices. This fixes all the
documentation issues and ensures that dtbs_check can be used in the future to
detect incorrect configurations automatically.

Alexander Steffen (7):
  dt-bindings: tpm: Introduce trivial-tpms.yaml
  dt-bindings: tpm: Improve documentation of compatibles
  dt-bindings: tpm: Add previously undocumented properties
  dt-bindings: tpm: Merge existing trivial TPMs to YAML
  dt-bindings: tpm: Document previously undocumented compatibles
  dt-bindings: tpm: Add fallbacks for all TCG-compliant TPM variants
  tpm: Add missing compatibles to drivers

 .../bindings/security/tpm/google,cr50.txt     |  19 ---
 .../bindings/security/tpm/tpm-i2c.txt         |  26 ----
 .../bindings/security/tpm/tpm_tis_mmio.txt    |  25 ----
 .../bindings/security/tpm/tpm_tis_spi.txt     |  23 ----
 .../bindings/security/tpm/trivial-tpms.yaml   | 118 ++++++++++++++++++
 .../devicetree/bindings/trivial-devices.yaml  |  16 ---
 drivers/char/tpm/tpm_tis_i2c.c                |   2 +
 drivers/char/tpm/tpm_tis_spi_main.c           |   1 +
 8 files changed, 121 insertions(+), 109 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/security/tpm/google,cr50.txt
 delete mode 100644 Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt
 delete mode 100644 Documentation/devicetree/bindings/security/tpm/tpm_tis_mmio.txt
 delete mode 100644 Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt
 create mode 100644 Documentation/devicetree/bindings/security/tpm/trivial-tpms.yaml

-- 
2.25.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-11-01 12:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-30 16:51 [PATCH 0/7] Clean up TPM compatibles Alexander Steffen
2022-09-30 16:51 ` [PATCH 1/7] dt-bindings: tpm: Introduce trivial-tpms.yaml Alexander Steffen
2022-09-30 22:15   ` Rob Herring
2022-10-04 17:41     ` Alexander Steffen
2022-11-01 12:17       ` Rob Herring
2022-09-30 16:51 ` [PATCH 2/7] dt-bindings: tpm: Improve documentation of compatibles Alexander Steffen
2022-09-30 22:05   ` Rob Herring
2022-10-04 17:37     ` Alexander Steffen
2022-09-30 16:51 ` [PATCH 3/7] dt-bindings: tpm: Add previously undocumented properties Alexander Steffen
2022-09-30 22:20   ` Rob Herring
2022-10-04 17:43     ` Alexander Steffen
2022-09-30 16:51 ` [PATCH 4/7] dt-bindings: tpm: Merge existing trivial TPMs to YAML Alexander Steffen
2022-09-30 22:05   ` Rob Herring
2022-10-04 17:38     ` Alexander Steffen
2022-11-01 12:03       ` Rob Herring
2022-09-30 22:09 ` [PATCH 0/7] Clean up TPM compatibles Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).