public inbox for linux-integrity@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jarkko Sakkinen" <jarkko@kernel.org>
To: "Lukas Wunner" <lukas@wunner.de>
Cc: <devicetree@vger.kernel.org>, <linux-integrity@vger.kernel.org>,
	"Peter Huewe" <peterhuewe@gmx.de>,
	"Jason Gunthorpe" <jgg@ziepe.ca>
Subject: Re: [PATCH v2 4/4] tpm: tis_i2c: Add compatible string nuvoton,npct75x
Date: Sat, 13 Jan 2024 23:55:32 +0200	[thread overview]
Message-ID: <CYDWWGW2QW9K.FLB67MSI9YQR@kernel.org> (raw)
In-Reply-To: <6ec711056f5d87d8504f033a404ed14a2e449331.1705140898.git.lukas@wunner.de>

On Sat Jan 13, 2024 at 7:10 PM EET, Lukas Wunner wrote:
> Add "nuvoton,npct75x" as well as the fallback compatible string
> "tcg,tpm-tis-i2c" to the TPM TIS I²C driver.  They're used by:
>
>   arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts
>   arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts
>
> And by all accounts, NPCT75x is supported by the driver:
>
>   https://lore.kernel.org/all/60e23fd0f0ff4d1f8954034237ae8865@NTILML02.nuvoton.com/
>   https://lore.kernel.org/all/20220808220839.1006341-8-peter@pjd.dev/
>
> Signed-off-by: Lukas Wunner <lukas@wunner.de>
> ---
>  drivers/char/tpm/tpm_tis_i2c.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/char/tpm/tpm_tis_i2c.c b/drivers/char/tpm/tpm_tis_i2c.c
> index a897402..9511c0d 100644
> --- a/drivers/char/tpm/tpm_tis_i2c.c
> +++ b/drivers/char/tpm/tpm_tis_i2c.c
> @@ -383,6 +383,8 @@ static void tpm_tis_i2c_remove(struct i2c_client *client)
>  #ifdef CONFIG_OF
>  static const struct of_device_id of_tis_i2c_match[] = {
>  	{ .compatible = "infineon,slb9673", },
> +	{ .compatible = "nuvoton,npct75x", },
> +	{ .compatible = "tcg,tpm-tis-i2c", },
>  	{}
>  };
>  MODULE_DEVICE_TABLE(of, of_tis_i2c_match);

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

BR, Jarkko

  reply	other threads:[~2024-01-13 21:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-13 17:10 [PATCH v2 0/4] Add missing TPM compatible strings Lukas Wunner
2024-01-13 17:10 ` [PATCH v2 1/4] dt-bindings: tpm: Add compatible string atmel,attpm20p Lukas Wunner
2024-01-13 21:17   ` Jarkko Sakkinen
2024-01-16 18:37     ` Rob Herring
2024-01-16 18:37   ` Rob Herring
2024-01-13 17:10 ` [PATCH v2 2/4] tpm_tis_spi: " Lukas Wunner
2024-01-13 17:10 ` [PATCH v2 3/4] tpm_tis: Add compatible string atmel,at97sc3204 Lukas Wunner
2024-01-13 21:54   ` Jarkko Sakkinen
2024-01-13 17:10 ` [PATCH v2 4/4] tpm: tis_i2c: Add compatible string nuvoton,npct75x Lukas Wunner
2024-01-13 21:55   ` Jarkko Sakkinen [this message]
2024-02-20 10:55 ` [PATCH v2 0/4] Add missing TPM compatible strings Lukas Wunner
2024-02-20 18:06   ` Jarkko Sakkinen
2024-02-20 18:09     ` Jarkko Sakkinen
2024-02-20 18:12       ` Jarkko Sakkinen

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=CYDWWGW2QW9K.FLB67MSI9YQR@kernel.org \
    --to=jarkko@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jgg@ziepe.ca \
    --cc=linux-integrity@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=peterhuewe@gmx.de \
    /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