public inbox for linux-integrity@vger.kernel.org
 help / color / mirror / Atom feed
From: Ninad Palsule <ninad@linux.ibm.com>
To: peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca,
	linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Joel Stanley <joel@jms.id.au>, ninad@linux.ibm.com
Subject: [PATCH v2 1/1] tpm: tis-i2c: Add more compatible strings
Date: Tue, 16 Jan 2024 12:17:54 -0600	[thread overview]
Message-ID: <20240116181754.3905754-2-ninad@linux.ibm.com> (raw)
In-Reply-To: <20240116181754.3905754-1-ninad@linux.ibm.com>

From: Joel Stanley <joel@jms.id.au>

Add a generic compatibility string for I2C based TPM 2.0 device.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
This patch is based out of following patchset:
https://lore.kernel.org/r/20220928043957.2636877-4-joel@jms.id.au
This patchset has 3 patches. The binding document related patches are
already merged using following patchset:
https://lore.kernel.org/all/3f56f0a2bb90697a23e83583a21684b75dc7eea2.1701093036.git.lukas@wunner.de/

v2:
  - Removed NPCT75x compatibility string based on review comment by
    Conor.
---
 drivers/char/tpm/tpm_tis_i2c.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/char/tpm/tpm_tis_i2c.c b/drivers/char/tpm/tpm_tis_i2c.c
index a897402cc36a..d63ef81fb1f1 100644
--- a/drivers/char/tpm/tpm_tis_i2c.c
+++ b/drivers/char/tpm/tpm_tis_i2c.c
@@ -383,6 +383,7 @@ MODULE_DEVICE_TABLE(i2c, tpm_tis_i2c_id);
 #ifdef CONFIG_OF
 static const struct of_device_id of_tis_i2c_match[] = {
 	{ .compatible = "infineon,slb9673", },
+	{ .compatible = "tcg,tpm-tis-i2c", },
 	{}
 };
 MODULE_DEVICE_TABLE(of, of_tis_i2c_match);
-- 
2.39.2


  reply	other threads:[~2024-01-16 18:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-16 18:17 [PATCH v2 0/1] Add more compatibility strings to tpm-tis-i2c Ninad Palsule
2024-01-16 18:17 ` Ninad Palsule [this message]
2024-02-02 15:15   ` [PATCH v2 1/1] tpm: tis-i2c: Add more compatible strings Guenter Roeck

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=20240116181754.3905754-2-ninad@linux.ibm.com \
    --to=ninad@linux.ibm.com \
    --cc=jarkko@kernel.org \
    --cc=jgg@ziepe.ca \
    --cc=joel@jms.id.au \
    --cc=linux-integrity@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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