Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3408867ybb; Tue, 31 Mar 2020 04:48:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvpIQeUiW2+TpCf2Atb4e0PP1hvyTYS5qI7cA4YFq6WKXOQ77+f6nkgky9mfCQVxPmeJOMK X-Received: by 2002:a05:6830:1ad0:: with SMTP id r16mr12889160otc.183.1585655305594; Tue, 31 Mar 2020 04:48:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585655305; cv=none; d=google.com; s=arc-20160816; b=zyVlik5CINn4qTY7rCDj8D2eOhbl41MQpR7y5ygNiI5OU+wKtyklOtB/zp4knEWdaQ WW+TTdAWV6enztS+nDWY709ZkItnQj6YxzDqUXDb1Bc+NS52yyJpfq/zDWHpBQr41Rh3 5mSxXlWUHO5U/gxR9yMZ0w87z7NpGswO1Gvyv+hejskbN2hRPQgzyPBAJRPOpYOIUvc/ zaeekIFL5Irk7+nI7wpj7vk6HSjxtxyvqmDGgnWOIbzKIYTUXsI4kA8pDnDt3v3ZvS4t If2Dae+GEGKjMmTcEPSW65oa2LsTxqR/7H7GZTUnfk/KnsWhhiDWPCLGlMoO4op5d491 AtqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=W7CbBRxMq4HnzCdhxZTCeHSQX+ojS7YWdCEOCOrakDg=; b=apV0Zt4nqNMs353cWZfPPFEpP13PKL8Zc+2+0UKab2Xs4P+wONOYUnl5y/ffXX5EqF GZPZEh/ITibRWkFmuFStaia84GAYMkH3uWJ+Zss+/PLJGBzT8qfeIwZwuCV1Vw3Noz+g NQqFMma+TRTUIOMMKW7C2ObL1aN+URtikGLRKVpmL+iu4nqC2tG9UUZpIrOqEWUAcIwa XXTuc90FRSgAo18BDcWssNgRMBYA7OjajZNAdO7+aC4oezMoaYPqidZqEHJ+Aa3lw+G4 Ek43ZdcHPEofXvniQlWL/cFJUStaxpzzwSwwO02kTivLUjLd3F1PEvsdRoskmHgbmeeX omaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x64si6868309oig.34.2020.03.31.04.48.13; Tue, 31 Mar 2020 04:48:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730598AbgCaLqX convert rfc822-to-8bit (ORCPT + 99 others); Tue, 31 Mar 2020 07:46:23 -0400 Received: from maillog.nuvoton.com ([202.39.227.15]:40856 "EHLO maillog.nuvoton.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729483AbgCaLqW (ORCPT ); Tue, 31 Mar 2020 07:46:22 -0400 X-Greylist: delayed 796 seconds by postgrey-1.27 at vger.kernel.org; Tue, 31 Mar 2020 07:46:22 EDT Received: from NTHCCAS01.nuvoton.com (nthccas01.nuvoton.com [10.1.8.28]) by maillog.nuvoton.com (Postfix) with ESMTP id D61D21C80EFA; Tue, 31 Mar 2020 19:35:03 +0800 (CST) Received: from NTILML02.nuvoton.com (10.190.1.46) by NTHCCAS01.nuvoton.com (10.1.8.28) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Tue, 31 Mar 2020 19:35:03 +0800 Received: from NTILML02.nuvoton.com (10.190.1.47) by NTILML02.nuvoton.com (10.190.1.47) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Tue, 31 Mar 2020 14:35:00 +0300 Received: from taln70.nuvoton.co.il (10.191.1.70) by NTILML02.nuvoton.com (10.190.1.47) with Microsoft SMTP Server id 15.0.1130.7 via Frontend Transport; Tue, 31 Mar 2020 14:35:00 +0300 Received: from taln60.nuvoton.co.il (taln60 [10.191.1.180]) by taln70.nuvoton.co.il (Postfix) with ESMTP id 01D6B250; Tue, 31 Mar 2020 14:35:01 +0300 (IDT) Received: by taln60.nuvoton.co.il (Postfix, from userid 10140) id E7525639B3; Tue, 31 Mar 2020 14:34:30 +0300 (IDT) From: To: , , , , , , , , , CC: , , , , , , , , , , , Amir Mizinski Subject: [PATCH v4 6/7] dt-bindings: tpm: Add YAML schema for TPM TIS I2C options Date: Tue, 31 Mar 2020 14:32:06 +0300 Message-ID: <20200331113207.107080-7-amirmizi6@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20200331113207.107080-1-amirmizi6@gmail.com> References: <20200331113207.107080-1-amirmizi6@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Amir Mizinski Added a YAML schema to support tpm tis i2c realted dt-bindings for the I2c PTP based physical layer. This patch adds the documentation for corresponding device tree bindings of I2C based Physical TPM. Refer to the 'I2C Interface Definition' section in 'TCG PC Client PlatformTPMProfile(PTP) Specification' publication for specification. Signed-off-by: Amir Mizinski --- .../bindings/security/tpm/tpm-tis-i2c.yaml | 46 ++++++++++++++++++++++ 1 file changed, 46 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 0000000..516743e --- /dev/null +++ b/Documentation/devicetree/bindings/security/tpm/tpm-tis-i2c.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: GPL-2.0 +%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 Device Tree Bindings + +maintainers: + - Amir Mizinski + +description: + Device Tree Bindings for I2C based Trusted Platform Module(TPM). + +properties: + compatible: + contains: + const: tcg,tpm-tis-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + crc-checksum: + $ref: /schemas/types.yaml#/definitions/flag + description: + CRC checksum enable. + +required: + - compatible + - reg + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + tpm-tis: tpm-tis-i2c@2e { + compatible = "tcg,tpm-tis-i2c"; + reg = <0x2e>; + crc-checksum; + }; + }; -- 2.7.4 =========================================================================================== The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.