devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh+dt@kernel.org>
To: Alexander Steffen <Alexander.Steffen@infineon.com>,
	Joel Stanley <joel@jms.id.au>
Cc: devicetree@vger.kernel.org, jarkko@kernel.org,
	linux-integrity@vger.kernel.org, Johannes.Holland@infineon.com,
	benoit.houyere@st.com, amirmizi6@gmail.com, peter@pjd.dev
Subject: Re: [PATCH 0/7] Clean up TPM compatibles
Date: Fri, 30 Sep 2022 17:09:04 -0500	[thread overview]
Message-ID: <CAL_JsqLTsV+Ukh9GhJ0guR0rqSUSY2E-Zn2XQLB28Ph2=gjaBg@mail.gmail.com> (raw)
In-Reply-To: <20220930165116.13329-1-Alexander.Steffen@infineon.com>

+Joel

On Fri, Sep 30, 2022 at 12:03 PM Alexander Steffen
<Alexander.Steffen@infineon.com> wrote:
>
> 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

Thanks, but please coordinate your work with this[1].

Rob

[1] https://lore.kernel.org/all/20220928043957.2636877-1-joel@jms.id.au/

>

      parent reply	other threads:[~2022-09-30 22:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Rob Herring [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAL_JsqLTsV+Ukh9GhJ0guR0rqSUSY2E-Zn2XQLB28Ph2=gjaBg@mail.gmail.com' \
    --to=robh+dt@kernel.org \
    --cc=Alexander.Steffen@infineon.com \
    --cc=Johannes.Holland@infineon.com \
    --cc=amirmizi6@gmail.com \
    --cc=benoit.houyere@st.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jarkko@kernel.org \
    --cc=joel@jms.id.au \
    --cc=linux-integrity@vger.kernel.org \
    --cc=peter@pjd.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).