From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0F7BAC4332F for ; Tue, 12 Dec 2023 17:16:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KzWiJqalR6LNJFyj4MmSk19mq9C7Cka/HFRPSE9e+Y4=; b=xgDhqmrEIdMgLooW6PsoNHxLtV PTRq1NTcNaLjnvBdjycRgyqiDthruwNTokMCUPLgSUw/nzKBmCsIN2tb5w6U+mFNTh27S/1Q9X4Hm p+dmlpf9C3AzG6GFnRfSQq7pMZlLbQIKKmCNVKhnhk2TTTIeKw+W4/LSzPxhaDEtziUqPk3D3bmSF /1RdcNHaBQUppuC79ygNfpQn2Ky6EQZeiI5vFKqLUx85v82cfxCnHVe3SfvFGE5pdFsQtQsBZCkNQ KP3u8TJAj4ZSAZz40DFN2DVMLu4XXujN9qsqjArwcF9Nm+VUhf4dUnpClOe+QQracDjRaIN+TQ4Ml oFGsvsOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rD6MX-00CLjj-1C; Tue, 12 Dec 2023 17:16:05 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rD6MT-00CLie-2f for linux-arm-kernel@lists.infradead.org; Tue, 12 Dec 2023 17:16:03 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 65334B815F2; Tue, 12 Dec 2023 17:16:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 403B3C433C9; Tue, 12 Dec 2023 17:15:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702401359; bh=VXQhagqDGb9vAh1nRc7GzOZY2WN4Caui/rFTeDa4cko=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TDVWYAz6eO+Y1M2LDd/np6T4h5hGeO0w73YW0SOmy8G4+7kKFRMH0f3fsGmxVRqFT LnNiOkMZJuEQjjQSjehHrvC5Rzm8REtMRExbqV91CA06WgeA/hTFgJfu5JduqRI0S0 Rj7GoizXSMggJMReaz3jh4pXeIDkHvZ85cwxB7Pbd09B/4zfd6BgOHK8ZfC1vdZIWn QnWa/lMRIzgQj+Ig7GiieaB3j5UePPw+WzwiEdZ7Kp2mPWDMY/66fTcJYXn+SQ89Ka S4T8pFHh61+PSqbaC9Vh8lE/Aupq69ZXKXh4RWuyDT2Z9+pbFg3jDFY1nnH+q9+hbe Wp31YanBsWVuQ== Date: Tue, 12 Dec 2023 17:15:51 +0000 From: Conor Dooley To: Ninad Palsule Cc: 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, johannes.holland@infineon.com, linux@roeck-us.net, broonie@kernel.org, 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: Re: [PATCH v1 7/8] tpm: tis-i2c: Add more compatible strings Message-ID: <20231212-avid-grill-dbead068fac8@spud> References: <20231212164004.1683589-1-ninad@linux.ibm.com> <20231212164004.1683589-8-ninad@linux.ibm.com> MIME-Version: 1.0 In-Reply-To: <20231212164004.1683589-8-ninad@linux.ibm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231212_091602_160023_4BC0E190 X-CRM114-Status: GOOD ( 16.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6952085426165428591==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6952085426165428591== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Truf82TN7Drb/wPF" Content-Disposition: inline --Truf82TN7Drb/wPF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 12, 2023 at 10:40:03AM -0600, Ninad Palsule wrote: > From: Joel Stanley >=20 > The NPCT75x TPM is TIS compatible. It has an I2C and SPI interface. >=20 > https://www.nuvoton.com/products/cloud-computing/security/trusted-platfor= m-module-tpm/ >=20 > Add a compatible string for it, and the generic compatible. >=20 > OpenBMC-Staging-Count: 3 Delete this from every patch that it appears from. > 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(+) >=20 > diff --git a/drivers/char/tpm/tpm_tis_i2c.c b/drivers/char/tpm/tpm_tis_i2= c.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[] =3D { > { .compatible =3D "infineon,slb9673", }, > + { .compatible =3D "nuvoton,npct75x", }, > + { .compatible =3D "tcg,tpm-tis-i2c", }, What's the point of the generic compatible if you are adding the device specific ones to the driver anyway? Thanks, Conor. > {} > }; > MODULE_DEVICE_TABLE(of, of_tis_i2c_match); > --=20 > 2.39.2 >=20 --Truf82TN7Drb/wPF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXiVRwAKCRB4tDGHoIJi 0moFAP9qCekg1FNgRigBOa03OCo2ImwKVNMJNUYY0hON1Ul2NQD/fRm6HnP66ToK uVCHCdKv0uV6qfN1BFts+lYjExWXRQs= =MJ72 -----END PGP SIGNATURE----- --Truf82TN7Drb/wPF-- --===============6952085426165428591== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6952085426165428591==--