Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1589754ybl; Mon, 2 Dec 2019 05:39:14 -0800 (PST) X-Google-Smtp-Source: APXvYqz50XcqEEPYGorJjWcg6y04Zf1MaVccDxvT3u9ZKYmW4IZkpURIRSj5vD0f7GKdVqNicE3w X-Received: by 2002:a7b:cc81:: with SMTP id p1mr8197455wma.62.1575293954020; Mon, 02 Dec 2019 05:39:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575293954; cv=none; d=google.com; s=arc-20160816; b=OJFSWQTk0W9fPR8zLru3JBSQnrphYlv9C4WgPjT0km4jn2rfh4/c20utHw4oW/yzf1 st3yJckpp1E+lxjHMhckDnnwMMicTdcTnTmrhBiFMeuQtn3UP8ggaGBfTJE0t9OZmq6a T0bSVbtZxgMh1ia81NgoUiiUa06jZfqiabhwSRCoa9c7n4FX4bP8wn+y0mKAkTcC4xbl ooQ/IPuQmDEWwRgKs0vSWGiR1CQ75VB3unQgxQI6P8mRhghHwVHZ1RdQkQVTs0xwy2YU 5WlydETwDk9qu39pL9keirfI8cbXmOIVchrMX8eVXd0VJ3TtCWjuuW86g9ZGrPcy3fOz 4mZQ== 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=e/5/Qs74k0TKK5UhxkNbEnLLTiG7R9Cb/HIZ1e2J8OE=; b=abPf5VCXfsPcXq5Wn1K/rll3tUi9Po++ixlgc5fu3uLl7dtxc6X5Oo8dkch/hm6SKB Aknzd/ZvBKyJyVWw9gwOVRowaw/j9VDKcxdcM/dneBPUCiA9kif4v31DL/wyHtfV94vp cLjthSNQjwbNq68EQSFsQeeq9WTy26h/vGLGW5Sim9Yc7u0ptwpcVagO9DE7OJOL+BFP Zmjns8MROz9YkJogbaRqVyypVFDdhdOdeMkLA9z3OTvhKOXnywgFHqwtnhqGTY9KFiVf zqEZuCJ096Iv0ceMH62/FsF3yEKlOzkCb5p0hu+Vu3Q8jkcByKir3xAxyeIQRZ50fnzK UEjA== 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 dk10si3953679edb.219.2019.12.02.05.38.50; Mon, 02 Dec 2019 05:39:14 -0800 (PST) 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 S1727553AbfLBNer (ORCPT + 99 others); Mon, 2 Dec 2019 08:34:47 -0500 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:45898 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727391AbfLBNeq (ORCPT ); Mon, 2 Dec 2019 08:34:46 -0500 Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id xB2DYIRD015797; Mon, 2 Dec 2019 15:34:18 +0200 Received: by taln60.nuvoton.co.il (Postfix, from userid 10140) id C66DA6032F; Mon, 2 Dec 2019 15:34:18 +0200 (IST) From: amirmizi6@gmail.com To: Eyal.Cohen@nuvoton.com, jarkko.sakkinen@linux.intel.com, oshrialkoby85@gmail.com, alexander.steffen@infineon.com, robh+dt@kernel.org, mark.rutland@arm.com, peterhuewe@gmx.de, jgg@ziepe.ca, arnd@arndb.de, gregkh@linuxfoundation.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, oshri.alkoby@nuvoton.com, tmaimon77@gmail.com, gcwilson@us.ibm.com, kgoldman@us.ibm.com, ayna@linux.vnet.ibm.com, Dan.Morav@nuvoton.com, oren.tanami@nuvoton.com, shmulik.hager@nuvoton.com, amir.mizinski@nuvoton.com, Amir Mizinski Subject: [PATCH v2 4/5] dt-bindings: tpm: Add YAML schema for TPM TIS I2C options Date: Mon, 2 Dec 2019 15:33:31 +0200 Message-Id: <20191202133332.178110-5-amirmizi6@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191202133332.178110-1-amirmizi6@gmail.com> References: <20191202133332.178110-1-amirmizi6@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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. Signed-off-by: Amir Mizinski --- .../bindings/security/tpm/tpm-tis-i2c.yaml | 38 ++++++++++++++++++= ++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm-tis-= i2c.yaml diff --git a/Documentation/devicetree/bindings/security/tpm/tpm-tis-i2c.yam= l b/Documentation/devicetree/bindings/security/tpm/tpm-tis-i2c.yaml new file mode 100644 index 0000000..bb18917 --- /dev/null +++ b/Documentation/devicetree/bindings/security/tpm/tpm-tis-i2c.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0=0D +%YAML 1.2=0D +---=0D +$id: http://devicetree.org/schemas/security/tpm/tpm-tis-i2c.yaml#=0D +$schema: http://devicetree.org/meta-schemas/core.yaml#=0D +=0D +title: I2C PTP based TPM Device Tree Bindings=0D +=0D +maintainers:=0D + - Amir Mizinski =0D +=0D +description:=0D + The TCG defines hardware protocol, registers and interface (based=0D + on the TPM Interface Specification) for accessing TPM devices=0D + implemented with an I2C interface.=0D + Refer to the 'I2C Interface Definition' section in 'TCG PC Client=0D + PlatformTPMProfile(PTP) Specification' publication for specification.=0D + Designed for Raspberry Pie 3 Board with Nuvoton's NPCT75X (2.0)=0D + =0D +properties:=0D + compatible:=0D + contains:=0D + const: tcg,tpm-tis-i2c=0D + =0D + reg:=0D + maxItems: 1=0D + =0D +required:=0D + - compatible=0D + - reg =0D + =0D + =0D +examples:=0D + - |=0D + tpm-tis-i2c: tpm-tis-i2c@2e {=0D + compatible =3D "tcg,tpm-tis-i2c";=0D + reg =3D <0x2e>;=0D + };=0D --=20 2.7.4