Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4764138rdb; Tue, 12 Dec 2023 08:41:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFm4A6Z+nJbXCbepACR8CkInQQrA62VwQKc8n61I6SoAVZQal6zp0rV5DHJAi9v89Uw9e88 X-Received: by 2002:a17:903:444:b0:1d3:4341:1e70 with SMTP id iw4-20020a170903044400b001d343411e70mr459545plb.91.1702399287519; Tue, 12 Dec 2023 08:41:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702399287; cv=none; d=google.com; s=arc-20160816; b=OfcT/a9nso5rI8R1laqNs0HIyZgdymzgntESOZowG8LqJK/leJxjDFJLNw09tE1ndv FfxJFdPJGxmxce1dtmh0ykuRDYW33C0hLZkolQuP+wIYrR/4SR3YrucY0qyE3E59SeoN srhrQOjJs5pyIb7WZTCtx/LN3hIUxOV8WgrSDp9DFFTk7itwJrPz7xtoxg0mGviRsUYT wjYL/k4gyaloVfBPOiQtQjfcEVIx7XxnjH8o1/zkKuq6/FI0kb69DBKAMd6Uwg7CCpd5 BRNDZXEyg0i1F1gglRYQ9mfE7FI8ZhNbfvCtxN42U5y2JKERJX7mj5F2YeM5QQx+KTAf 9oqg== 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=R2ZvyGmXnPPNYRQg2UvIIy4NXqkVhsr36/b1Jlex5oo=; fh=KQ+q0ssy7slR/yeGxgKga5zHAkCbWVH7sCC1px2j9m8=; b=Uv4bdtR5R4s9XyBD6LMetJTsh4BFYdtZ5bn95rHBIdR8mFRGDcS/vaRVKHxhX0xVR4 PLbOQZ6eutuYbpA+1WGgcI8p1x7FtBd4wjLTejw6Zti2/Xagfg2KCAanq1Siz+E16Hav IPFLydUp8P4xOWaK6+KcdxqLDz8tx7hdTc+4s7q7eTcN2VI+62H23REeslFq5DdDXhJ4 rnI+HVNhOmzmICaGx2/cTjcvjTOqdnt+duVr1SQ/vtCCCzyvSDjsmVr+l8043janArOA suxyEjlH4mS1sBipiB7sIr7gW2fpG+rlcIcD0zsoW3knK0C8r7JfXZEhn8gm1RgLbCts +84g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=DaoTitMh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id jn3-20020a170903050300b001d04dd7cd12si7870779plb.194.2023.12.12.08.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:41:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=DaoTitMh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 88229802CF88; Tue, 12 Dec 2023 08:41:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230055AbjLLQlB (ORCPT + 99 others); Tue, 12 Dec 2023 11:41:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjLLQkk (ORCPT ); Tue, 12 Dec 2023 11:40:40 -0500 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42051A8; Tue, 12 Dec 2023 08:40:46 -0800 (PST) Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BCFqrOE010678; Tue, 12 Dec 2023 16:40:29 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=R2ZvyGmXnPPNYRQg2UvIIy4NXqkVhsr36/b1Jlex5oo=; b=DaoTitMhVYTtHkdvv62+RyGbqjVjtegKtGvqRywcRDF0sw590wG8Ro+D+NTNDx49H0Hm mTx4nkVDjIosrecOR49tGaV+LAzqlfrLtsV4ypNzgKo1BDK7tuEE858/R2Lv43LWr0tI twrosXBff2rQcKlshLiWJlL/1018+yOszoqmAdWtggBftEmH3Y0VP0Llodkj+tYHz1gv SK2WZE91OSB4sWQX0fMmoWAjttSF7uYFYjwnxzbhmBMbuJJDJiNjx46VYvkYqrYj+jzD EBIQT/DnTfuR9ipeTw652AFFFERitNeoPtHOJanOFDwrxgksN8UBlN3mo1PWhySOQGVu hg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uxtj11kgn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 16:40:29 +0000 Received: from m0353724.ppops.net (m0353724.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BCGFhSt015432; Tue, 12 Dec 2023 16:40:28 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uxtj11kg1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 16:40:28 +0000 Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3BCGN4gF013869; Tue, 12 Dec 2023 16:40:27 GMT Received: from smtprelay04.wdc07v.mail.ibm.com ([172.16.1.71]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3uw5921t5g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 16:40:27 +0000 Received: from smtpav05.wdc07v.mail.ibm.com (smtpav05.wdc07v.mail.ibm.com [10.39.53.232]) by smtprelay04.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3BCGeRgp42860960 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Dec 2023 16:40:27 GMT Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E3FE658059; Tue, 12 Dec 2023 16:40:26 +0000 (GMT) Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3D10858053; Tue, 12 Dec 2023 16:40:25 +0000 (GMT) Received: from gfwa153.aus.stglabs.ibm.com (unknown [9.3.84.127]) by smtpav05.wdc07v.mail.ibm.com (Postfix) with ESMTP; Tue, 12 Dec 2023 16:40:25 +0000 (GMT) From: Ninad Palsule To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, ninad@linux.ibm.com, johannes.holland@infineon.com, linux@roeck-us.net, broonie@kernel.org Cc: patrick.rudolph@9elements.com, vincent@vtremblay.dev, peteryin.openbmc@gmail.com, lakshmiy@us.ibm.com, bhelgaas@google.com, naresh.solanki@9elements.com, alexander.stein@ew.tq-group.com, festevam@denx.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-hardening@vger.kernel.org, geissonator@yahoo.com Subject: [PATCH v1 7/8] tpm: tis-i2c: Add more compatible strings Date: Tue, 12 Dec 2023 10:40:03 -0600 Message-Id: <20231212164004.1683589-8-ninad@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231212164004.1683589-1-ninad@linux.ibm.com> References: <20231212164004.1683589-1-ninad@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: q_0o2gxhRbmM75pPMGzEmo-uLp8nnzdS X-Proofpoint-ORIG-GUID: 1TicZk_omyb0OwjuP4oIfXPW82ih_7Mf 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-12_10,2023-12-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 adultscore=0 suspectscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 phishscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312120128 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Tue, 12 Dec 2023 08:41:20 -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. OpenBMC-Staging-Count: 3 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