Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6035531rdb; Thu, 14 Dec 2023 06:50:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGgKunyMNHo5AkK+cmWHO7EmjwWj52QZqHYMlfp5iUtSWU0oTdTbhLCtZRfOrVMFaER/Zvs X-Received: by 2002:a05:6e02:1aa5:b0:35f:804c:e59 with SMTP id l5-20020a056e021aa500b0035f804c0e59mr1500781ilv.92.1702565408564; Thu, 14 Dec 2023 06:50:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702565408; cv=none; d=google.com; s=arc-20160816; b=Rtbsjy5D3RYFPTF1iE3GGpNafokCsJDJUEJT4mze7raieNiVCXhpwZkOf4ZSD3e+AZ MaP19qnddaXfQJ77Wic4+QXUEYeGLvwOZ7KWCqjXK0aVi9ctxY/7rSyESjPQuSYabeGD nUTLVI+hIMhTi1Mk32DXpJDyBRBPylDuVR4+XUvPn09U1a6E1ea6HmsMBdW7LKEZhEU8 LjFsrCVV+hyqLc0TkKP2NAt6y4VZCdcfHPdGcygqe7TTG+hfLz3XWKQww8buNyvphNVq zIbANq0DsMEZUXRn6TRZSW6MCZLpXBbHyIa/Q/Z2zT2yH+mzXMIBR/JCBvj/RdZS+BQa riGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jbJEYnJ0Zg+2AC4OCmM5ThHPrzgc1KXKJnFKYACU7ts=; fh=ctsvINLda7ClUTnhFEHh6TqC3x/wMHHaEur0HkHLlpw=; b=KszndfltXgKhBvzpMjvBzFQCL4wQsLCbZUjbxmyBseC7+ULhK/J2ejo0Jn0kDk+DjY pCKkL54jDSHQv98XSoqxgjikImGYegaMRpxaX/Ed71QlzVkzD1/08te9+aHfEz0lL4pq t6gKLGZ3TYiiz2plawhc4a33HGAnSqG0tLJt1+AEcXXOqINhAJvR3rYrsRHeQ5IS9awu gf/Dpl4XFtje1Vc81xIng7zUFIIv2Jx2ChY6NE1lOU29Tas2PlBypwn3JVwzw8yG6wBq C9YnTAkGALx30N1EbLMmBfMG/6OgvYjl319CiI7Yfb1hJjgs5CkcI5xQmqu3nuxQpWlb HI6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Xe9pvBZf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id cm14-20020a056a020a0e00b005c6818b5a3esi928157pgb.528.2023.12.14.06.50.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 06:50:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Xe9pvBZf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 13C80802402B; Thu, 14 Dec 2023 06:50:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573544AbjLNOt6 (ORCPT + 99 others); Thu, 14 Dec 2023 09:49:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573312AbjLNOt5 (ORCPT ); Thu, 14 Dec 2023 09:49:57 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BF86BD; Thu, 14 Dec 2023 06:50:03 -0800 (PST) Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BEE7F6G014417; Thu, 14 Dec 2023 14:49:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : mime-version; s=pp1; bh=jbJEYnJ0Zg+2AC4OCmM5ThHPrzgc1KXKJnFKYACU7ts=; b=Xe9pvBZff/dpCUdX8+XUc+AhwsaRqYDaaSfYK4c3Jz29IppzScBFTdAm898+v+WFuayc CycjaoVeMaCnY6tHPYo5Kt1T24UrrgNWuSZR4E2KuJtn4UO5N7OJ6ru+Dw+N68k1S4lV PBi3+He4LTXhRiKUhAgGAJC2lFv8JsePRLDXJrXl3W609ScobnMcnQMrFXRRkWN/ktHH npS69ZdXTnVbmsY1yrwtO5AZVhA5rm6+i88UGhYgVsfQzDHxE2i98AMtshg/1vGVJYu/ hhGMcPBfhvAHK2e5xhl4E94Nz+zqA68jGziiJrpUaNoUVG9xO54gvtDVlkko8RKCW8Nu Ng== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3v036f1jah-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 14:49:59 +0000 Received: from m0360083.ppops.net (m0360083.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BEEPX4W021123; Thu, 14 Dec 2023 14:49:58 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3v036f1j90-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 14:49:58 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3BEEkAuW008491; Thu, 14 Dec 2023 14:49:57 GMT Received: from smtprelay02.dal12v.mail.ibm.com ([172.16.1.4]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3uw2jtscfq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 14:49:57 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay02.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3BEEnv6533424026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Dec 2023 14:49:57 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6ABA05805C; Thu, 14 Dec 2023 14:49:57 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 203105805A; Thu, 14 Dec 2023 14:49:57 +0000 (GMT) Received: from gfwa153.aus.stglabs.ibm.com (unknown [9.3.84.127]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 14 Dec 2023 14:49:57 +0000 (GMT) From: Ninad Palsule To: peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca Cc: Joel Stanley , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, Ninad Palsule Subject: [PATCH v1 1/1] tpm: tis-i2c: Add more compatible strings Date: Thu, 14 Dec 2023 08:49:53 -0600 Message-Id: <20231214144954.3833998-2-ninad@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231214144954.3833998-1-ninad@linux.ibm.com> References: <20231214144954.3833998-1-ninad@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: lXUf8h3EUZXDhLwBOV-gcp3RYdvVihdX X-Proofpoint-GUID: mX-nYjHeYN4ee4836NkBQahwom8-hOOC Content-Transfer-Encoding: 8bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-14_09,2023-12-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 clxscore=1015 suspectscore=0 phishscore=0 spamscore=0 mlxlogscore=999 priorityscore=1501 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312140103 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Dec 2023 06:50:07 -0800 (PST) From: Joel Stanley The NPCT75x TPM is TIS compatible. It has an I2C and SPI interface. https://www.nuvoton.com/products/cloud-computing/security/trusted-platform-module-tpm/ Add a compatible string for it, and the generic compatible. Signed-off-by: Joel Stanley Acked-by: Jarkko Sakkinen Link: https://lore.kernel.org/r/20220928043957.2636877-4-joel@jms.id.au Signed-off-by: Ninad Palsule --- 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 a897402cc36a..9511c0d50185 100644 --- a/drivers/char/tpm/tpm_tis_i2c.c +++ b/drivers/char/tpm/tpm_tis_i2c.c @@ -383,6 +383,8 @@ 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 = "nuvoton,npct75x", }, + { .compatible = "tcg,tpm-tis-i2c", }, {} }; MODULE_DEVICE_TABLE(of, of_tis_i2c_match); -- 2.39.2