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 3678DC4167B for ; Wed, 13 Dec 2023 18:21:04 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:To:From:Subject: Cc:Message-Id:Date:Mime-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SShK0R6KgBBLsdLCTSqFGgxnIt8cItLN2k6uOUK/MRM=; b=FkuVbvqAb4bKhe JMZzbZ6HECjXeaMREJjDQXoBNT8bKbnNVG/CbPX24L133u+taPVT8lF202bkM5Cx8MUnxa0QNNdz+ r/pWqxFYb8GRBy+KPMqzouI1Od+ux9GuJD/g6M0Ar9t17t+SLUBmsV3V2KQEYZPMZW/M7B8p+LO0n 8Zz9YK07nJhdnceOomv4i2mrQlKkngBtQFurO0DF9qcns62NiysuMVUpXdICWvbvwlmt5EiagNoxw C+epmiB1Shp/9YFkcRL4EvGQ9nF2K8EOMzB4I+W7sFkk8LXhxhvQ0xdBLmedjjwjN+9r+TxCUmC4H Jci0MoqWhaePszv3qh3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDTqV-00FhvJ-18; Wed, 13 Dec 2023 18:20:35 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDTqR-00FhuI-0w for linux-arm-kernel@lists.infradead.org; Wed, 13 Dec 2023 18:20:33 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id C099FCE0B04; Wed, 13 Dec 2023 18:20:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72ACDC433C8; Wed, 13 Dec 2023 18:20:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702491628; bh=E7gw62n1LDAJ7vitrWM+l8KMqj5eHgf90P0t36MY0qI=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=mw0teAqiVeqH6qo2z0IwO3wiu/K7o8qi0urNuTjzFFVZpBUO/kmOqFYQ5LazNq7OY tNSrinvTT5bosg6isbrg/KqhCPdehaSUPlGrmuDDiFlFrwNgp4o9PMkKR5Cnh+NmAX 6bzV4YnQjvoL0Wb3+vF6e/wSy9c4bVWozF0Aw2l5UerkpvDjg+Od8WviNBFMz7ClzL OfrTpBihUhQ+rLvoSqRgh4TU4DQ/JgyEFrUrGiAvreQtB2i2//MeCI5Tqerh+nXMiC K2h4JPEOgOUfDoGTOX7f+zrTtMHpWNiPBH13Zpty7mK+D1XKYiN3MQGEq6xQd2Lt3f ZF6DZz3j3/EFw== Mime-Version: 1.0 Date: Wed, 13 Dec 2023 20:20:20 +0200 Message-Id: Cc: , , , , , , , , , , , , , , Subject: Re: [PATCH v1 2/8] dt-bindings: tpm: Add schema for TIS I2C devices From: "Jarkko Sakkinen" To: "Ninad Palsule" , , , , , , , , , , , , , X-Mailer: aerc 0.15.2 References: <20231212164004.1683589-1-ninad@linux.ibm.com> <20231212164004.1683589-3-ninad@linux.ibm.com> In-Reply-To: <20231212164004.1683589-3-ninad@linux.ibm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231213_102031_779608_B3700C78 X-CRM114-Status: GOOD ( 13.86 ) 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue Dec 12, 2023 at 6:39 PM EET, Ninad Palsule wrote: > From: Johannes Holland > > Add a dt schema to support device tree bindings for the generic I2C > physical layer. Refer to the TCG PC Client Platform TPM Profile (PTP) > Specification for TPM 2.0 v1.04 Revision 14. > > This includes descriptions for the Nuvoton and Infineon devices. > > OpenBMC-Staging-Count: 3 Please don't invent your own tags. > Signed-off-by: Johannes Holland > Signed-off-by: Joel Stanley > Signed-off-by: Ninad Palsule > --- > .../bindings/security/tpm/tpm-tis-i2c.yaml | 50 +++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm-tis-i2c.yaml > > diff --git a/Documentation/devicetree/bindings/security/tpm/tpm-tis-i2c.yaml b/Documentation/devicetree/bindings/security/tpm/tpm-tis-i2c.yaml > new file mode 100644 > index 000000000000..de1e34065748 > --- /dev/null > +++ b/Documentation/devicetree/bindings/security/tpm/tpm-tis-i2c.yaml > @@ -0,0 +1,50 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/security/tpm/tpm-tis-i2c.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: I2C PTP based TPM Devices > + > +maintainers: > + - Johannes Holland > + > +description: > + Device Tree Bindings for I2C based Trusted Platform Module (TPM). > + > +properties: > + $nodename: > + pattern: "^tpm(@[0-9a-f]+)?$" > + > + compatible: > + oneOf: > + - description: Infineon's Trusted Platform Module (TPM) (SLB9673). > + items: > + - const: infineon,slb9673 > + - const: tcg,tpm-tis-i2c > + - description: Nuvoton's Trusted Platform Module (TPM) (NPCT75x). > + items: > + - const: nuvoton,npct75x > + - const: tcg,tpm-tis-i2c > + - const: tcg,tpm-tis-i2c > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + tpm@2e { > + compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c"; > + reg = <0x2e>; > + }; > + }; > +... BR, Jarkko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel