diff mbox series

dt-bindings: tpm: Add compatible string atmel,attpm20p

Message ID ea312fdaab76efd1cbcc4ed9fd0e15e5afd1ef88.1704296746.git.lukas@wunner.de (mailing list archive)
State New, archived
Headers show
Series dt-bindings: tpm: Add compatible string atmel,attpm20p | expand

Commit Message

Lukas Wunner Jan. 3, 2023, 3:51 p.m. UTC
Commit 4f2a348aa365 ("arm64: dts: imx8mm-venice-gw73xx: add TPM device")
added a devicetree node for the Trusted Platform Module on certain
Gateworks boards.

The commit only used the generic "tcg,tpm_tis-spi" compatible string,
but public documentation shows that the chip is an ATTPM20P from Atmel
(nowadays Microchip):
https://trac.gateworks.com/wiki/tpm

Add the chip to the supported compatible strings of the TPM TIS SPI
schema.

For reference, a datasheet is available at:
https://ww1.microchip.com/downloads/en/DeviceDoc/ATTPM20P-Trusted-Platform-Module-TPM-2.0-SPI-Interface-Summary-Data-Sheet-DS40002082A.pdf

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: Tim Harvey <tharvey@gateworks.com>
---
This patch depends on the following series to consolidate TCG TIS bindings:
https://lore.kernel.org/all/cover.1702806810.git.lukas@wunner.de/

 Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Jarkko Sakkinen Jan. 4, 2024, 4:50 p.m. UTC | #1
On Tue Jan 3, 2023 at 5:51 PM EET, Lukas Wunner wrote:
> Commit 4f2a348aa365 ("arm64: dts: imx8mm-venice-gw73xx: add TPM device")
> added a devicetree node for the Trusted Platform Module on certain
> Gateworks boards.
>
> The commit only used the generic "tcg,tpm_tis-spi" compatible string,
> but public documentation shows that the chip is an ATTPM20P from Atmel
> (nowadays Microchip):
> https://trac.gateworks.com/wiki/tpm
>
> Add the chip to the supported compatible strings of the TPM TIS SPI
> schema.
>
> For reference, a datasheet is available at:
> https://ww1.microchip.com/downloads/en/DeviceDoc/ATTPM20P-Trusted-Platform-Module-TPM-2.0-SPI-Interface-Summary-Data-Sheet-DS40002082A.pdf
>
> Signed-off-by: Lukas Wunner <lukas@wunner.de>
> Cc: Tim Harvey <tharvey@gateworks.com>
> ---
> This patch depends on the following series to consolidate TCG TIS bindings:
> https://lore.kernel.org/all/cover.1702806810.git.lukas@wunner.de/
>
>  Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml b/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
> index c3413b4..6cb2de7 100644
> --- a/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
> +++ b/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
> @@ -20,6 +20,7 @@ properties:
>    compatible:
>      items:
>        - enum:
> +          - atmel,attpm20p
>            - infineon,slb9670
>            - st,st33htpm-spi
>            - st,st33zp24-spi

Acked-by: Jarkko Sakkinen <jarkko@kernel.org>

BR, Jarkko
Jarkko Sakkinen Jan. 4, 2024, 6:46 p.m. UTC | #2
On Thu Jan 4, 2024 at 6:50 PM EET, Jarkko Sakkinen wrote:
> On Tue Jan 3, 2023 at 5:51 PM EET, Lukas Wunner wrote:
> > Commit 4f2a348aa365 ("arm64: dts: imx8mm-venice-gw73xx: add TPM device")
> > added a devicetree node for the Trusted Platform Module on certain
> > Gateworks boards.
> >
> > The commit only used the generic "tcg,tpm_tis-spi" compatible string,
> > but public documentation shows that the chip is an ATTPM20P from Atmel
> > (nowadays Microchip):
> > https://trac.gateworks.com/wiki/tpm
> >
> > Add the chip to the supported compatible strings of the TPM TIS SPI
> > schema.
> >
> > For reference, a datasheet is available at:
> > https://ww1.microchip.com/downloads/en/DeviceDoc/ATTPM20P-Trusted-Platform-Module-TPM-2.0-SPI-Interface-Summary-Data-Sheet-DS40002082A.pdf
> >
> > Signed-off-by: Lukas Wunner <lukas@wunner.de>
> > Cc: Tim Harvey <tharvey@gateworks.com>
> > ---
> > This patch depends on the following series to consolidate TCG TIS bindings:
> > https://lore.kernel.org/all/cover.1702806810.git.lukas@wunner.de/
> >
> >  Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml b/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
> > index c3413b4..6cb2de7 100644
> > --- a/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
> > +++ b/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
> > @@ -20,6 +20,7 @@ properties:
> >    compatible:
> >      items:
> >        - enum:
> > +          - atmel,attpm20p
> >            - infineon,slb9670
> >            - st,st33htpm-spi
> >            - st,st33zp24-spi
>
> Acked-by: Jarkko Sakkinen <jarkko@kernel.org>

meant:

Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>

I can pick this if no objections.

BR, Jarkko
Jarkko Sakkinen Jan. 4, 2024, 7:11 p.m. UTC | #3
On Thu Jan 4, 2024 at 8:46 PM EET, Jarkko Sakkinen wrote:
> On Thu Jan 4, 2024 at 6:50 PM EET, Jarkko Sakkinen wrote:
> > On Tue Jan 3, 2023 at 5:51 PM EET, Lukas Wunner wrote:
> > > Commit 4f2a348aa365 ("arm64: dts: imx8mm-venice-gw73xx: add TPM device")
> > > added a devicetree node for the Trusted Platform Module on certain
> > > Gateworks boards.
> > >
> > > The commit only used the generic "tcg,tpm_tis-spi" compatible string,
> > > but public documentation shows that the chip is an ATTPM20P from Atmel
> > > (nowadays Microchip):
> > > https://trac.gateworks.com/wiki/tpm
> > >
> > > Add the chip to the supported compatible strings of the TPM TIS SPI
> > > schema.
> > >
> > > For reference, a datasheet is available at:
> > > https://ww1.microchip.com/downloads/en/DeviceDoc/ATTPM20P-Trusted-Platform-Module-TPM-2.0-SPI-Interface-Summary-Data-Sheet-DS40002082A.pdf
> > >
> > > Signed-off-by: Lukas Wunner <lukas@wunner.de>
> > > Cc: Tim Harvey <tharvey@gateworks.com>
> > > ---
> > > This patch depends on the following series to consolidate TCG TIS bindings:
> > > https://lore.kernel.org/all/cover.1702806810.git.lukas@wunner.de/
> > >
> > >  Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml | 1 +
> > >  1 file changed, 1 insertion(+)
> > >
> > > diff --git a/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml b/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
> > > index c3413b4..6cb2de7 100644
> > > --- a/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
> > > +++ b/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
> > > @@ -20,6 +20,7 @@ properties:
> > >    compatible:
> > >      items:
> > >        - enum:
> > > +          - atmel,attpm20p
> > >            - infineon,slb9670
> > >            - st,st33htpm-spi
> > >            - st,st33zp24-spi
> >
> > Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
>
> meant:
>
> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
>
> I can pick this if no objections.

I have issues with ancestor commits. The most convenient for me would
be probably, if you could send a v2 patch set with both patches and my
tags, and then I can take that to my tree and include it to the next PR.

BR, Jarkko
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml b/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
index c3413b4..6cb2de7 100644
--- a/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
+++ b/Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml
@@ -20,6 +20,7 @@  properties:
   compatible:
     items:
       - enum:
+          - atmel,attpm20p
           - infineon,slb9670
           - st,st33htpm-spi
           - st,st33zp24-spi