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 9BC34C4332F for ; Wed, 13 Dec 2023 18:39:51 +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: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:From:References:Cc:To: Subject:Date:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Sbx11fMdRuMmhPfmPJnTvouI/eEb76hbj+EE7x//aLo=; b=qB8Qnjx59UBPeEITIZmDqSuq/a /q0gj2uq0hFnnHGCvvCKRtlH322JyaOOYGujYqPfO626M0J0xT+dzTn/J/6KiFbiHLpNSrIoTQtJe GXEn4Hn1lo6oR2A5cHJRquEOWHWB6ZLA11vTXmumIAGtyAp/qKATUc5PsiRsh7FY6QITkZKGxpzpx I9YLXyUBX41FMIb9OfSwgw+wjeN2AaNIxo9Y6V2/59EdzQjqo3deoc/TE4A1d4a8VawgZ42pq7VRv IhUQ48hW3iiEHk/jcYkdu1CsmY7hALgIzj0K2H2OAroQiov5iJtz32IRjDkvkSu1kcByJclhS8V9m g8PmCNYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDU8o-00Fk8G-1q; Wed, 13 Dec 2023 18:39:30 +0000 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDU8i-00Fk70-0Q for linux-arm-kernel@lists.infradead.org; Wed, 13 Dec 2023 18:39:25 +0000 Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BDI7u2S015354; Wed, 13 Dec 2023 18:38:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=fEx/rim947811PkyR5Ib8bCcfmjQUMsWMBx0jmD8wro=; b=mcTMy7EbuN77YCarY71ife9P537tehZ9gPelI4hUPLtwBuKD3pmaNIXB6j2xH2EooC6m YTq2aUv4iVns6b18vuuo52Tr6LWQq85YkglTM6cr0tPEgYqw5NBnVYfLc3fDwo4MCugH oKDdlECb8Kk/V8/AKp87AXjFAfGAdG6ju/gy3uJ55WmgnaXKI4/rOAw8bW5jB956BuaB lAPkqxYDqbus/TeoFEwJ3Y2LvbLuK9M3qpf+hY9VjjCRG1g5RfS3GCOUXTKkmG8VXe8j GON7Tlq00hlb6Ycqc2ZcIehSpycgDWFaUOZVQvs+Gk9shdN+S3L9T8IZ8rOzq04LTf9t Ww== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uyhm8gu24-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Dec 2023 18:38:27 +0000 Received: from m0360083.ppops.net (m0360083.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BDI8ZAO018923; Wed, 13 Dec 2023 18:38:26 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uyhm8gu1n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Dec 2023 18:38:26 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3BDGZU24008450; Wed, 13 Dec 2023 18:38:25 GMT Received: from smtprelay05.dal12v.mail.ibm.com ([172.16.1.7]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3uw2jtk6q8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Dec 2023 18:38:25 +0000 Received: from smtpav06.wdc07v.mail.ibm.com (smtpav06.wdc07v.mail.ibm.com [10.39.53.233]) by smtprelay05.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3BDIcOvk21627514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Dec 2023 18:38:24 GMT Received: from smtpav06.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0C75E58054; Wed, 13 Dec 2023 18:38:24 +0000 (GMT) Received: from smtpav06.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B9AB55803F; Wed, 13 Dec 2023 18:38:22 +0000 (GMT) Received: from [9.24.12.86] (unknown [9.24.12.86]) by smtpav06.wdc07v.mail.ibm.com (Postfix) with ESMTP; Wed, 13 Dec 2023 18:38:22 +0000 (GMT) Message-ID: <719949a9-ddd5-451f-a765-d875cea85ba5@linux.ibm.com> Date: Wed, 13 Dec 2023 12:38:22 -0600 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 2/8] dt-bindings: tpm: Add schema for TIS I2C devices Content-Language: en-US To: Jarkko Sakkinen , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, peterhuewe@gmx.de, jgg@ziepe.ca, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.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 References: <20231212164004.1683589-1-ninad@linux.ibm.com> <20231212164004.1683589-3-ninad@linux.ibm.com> From: Ninad Palsule In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-GUID: TA5ugVitoI4LBCCP5dmzUD_ldTLYTHkW X-Proofpoint-ORIG-GUID: Qxhptd4olsjIjL_1qbdboQzdGrQTp--Y 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-13_12,2023-12-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312130133 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231213_103924_186699_FFB0EC52 X-CRM114-Status: GOOD ( 19.30 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Jarkko, On 12/13/23 12:20, Jarkko Sakkinen wrote: > 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. Yes, Sorry. I have cherry-picked this commit from openbmc. Now I have removed this line. Thanks for the review. Thanks & Regards, Ninad > >> 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