Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp212938rwp; Wed, 12 Jul 2023 12:03:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlGyQtJHJws1UE50TmyUAyIGqvwJyl0hwzbvUhnmRgrO0UJJpGh0ouj8R9JXvtu7hNxYScgU X-Received: by 2002:a05:6a00:3994:b0:674:a3be:2766 with SMTP id fi20-20020a056a00399400b00674a3be2766mr17674183pfb.14.1689188622007; Wed, 12 Jul 2023 12:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689188621; cv=none; d=google.com; s=arc-20160816; b=lctSOYp5xRrnOzl/5gIVDZG+1IyfBTdiIlGhK5Sl3O6ZWeXNEvfsKMI6zm7S7mkD2t 55FdPwoBP8MW1u27XoPPRJtZSamoqq63rkabpBXlyIppQo3GDzRnDQCY9WTtXSosJWqn eeKHJI3gxEqa07Dh1TXtGNJnfiJqaoUHlVuNhPTTSYSbCKWtJ3WHj7TTYHWJghx1trMm 8i3t5KgZrn3Lt5RY+Bnd36eZsm/VZAwTQV6CBdzNaR9wodZk0upim/SttTiMLWBSHo3Z 6qHN0RbUTB7xk5kqmOiLl8JB5KWgAcFrTd6pNlbUGroLiUgJ4INREVrFJ657eZ7BWJ9z GTdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+GzutrRFtmSU6fzBKaUewkpDtpBuMaVFLdW34axBPA0=; fh=ELHcnuCXRkKtfciqKj3nFShDoYxDf0eKAaptqpR9yw8=; b=Wf8EZ/S/qtfQIfOr9y6jdKtShCgHh+q+C5aBpCSHOF6xC01cbtqONfNgXWISMz4KM+ ud3CXU0h6McyGNsH5QvEqOjDsJR1jU2o06B/cFX+AhwArS55eCPJzmfh0u8/W99IQ8l4 ZdmCDdp/Xjg4/mqmkDV7wrbPiWZ8d1ZoVmmZFbLvX4UZo5HE7U37SSQUuPuQ3dIvbO9t haLppj2VowE6dVU+0ZFI50W8Tn+hMMwLO+72IfbjYDB1XWeakgJmpPlix/yexgH2nEJD pdnlaOrE3mbbmfL4IvJsbyObYYMS0+oxRu8b27waofMqms0/Fyxs/ruKoPpb7A4ai3tL zBTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DClzVT7q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d13-20020a056a0024cd00b0067af445c0dfsi3820195pfv.290.2023.07.12.12.03.29; Wed, 12 Jul 2023 12:03:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DClzVT7q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231887AbjGLSfB (ORCPT + 99 others); Wed, 12 Jul 2023 14:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbjGLSe7 (ORCPT ); Wed, 12 Jul 2023 14:34:59 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BFFB1BD4 for ; Wed, 12 Jul 2023 11:34:58 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b708e49059so116685091fa.3 for ; Wed, 12 Jul 2023 11:34:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689186896; x=1691778896; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+GzutrRFtmSU6fzBKaUewkpDtpBuMaVFLdW34axBPA0=; b=DClzVT7qREqcVjVYmsoLrEnuZF9BMmvoXVMKYNgUzWPCRjGO2MbKpLxJqo1l8dwS7I CeuIb3EjFsSNKtwsi2Aq6g3wGzxsFZh1J1BPJEII9280JmS1dDe4fSonLCvAHgBTnIDm Qigwfzq9iOL7+zdi0JYELggx3+TTeRDDPbANB16In+cBUHtD/7KzziP3qsCPRwFE+FMH Oaly9pYnpkm835hu8KPEnpvURRNyX8EuP5NqnyxvaCDGn/Jlt4qOkzDjfDPibq+Afun4 SSqVhD4Fz6xMzKGt6i36nYaPHskHn6wNi2nl2lwWHVzy/eq3ufISMcymESBG0P2pXO6g wtAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689186896; x=1691778896; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+GzutrRFtmSU6fzBKaUewkpDtpBuMaVFLdW34axBPA0=; b=JZNmFjk4vP4SVbE07pxNsPCMDwERH4kpT4d6iDF0PSSQ4q0VDs5Hfc95ShLlWkAm3z j++0pxnp9Hn1BF92EwA0Vh69hKOTP7iaJicM3ypVyLG+LDJDupnaJ/t6A6qMtdDmDd4r 2l+eo3ptSd5NXpw4jTB44ddPiPMRVQ6SVvvb3H90u1rYTZLBzdWWu6Z+3Y1TOoh+VLSo Y/rK552XSECdMAodK6bws5xt3vB+D4oRYd6DgMOUmI1cLwntRTr2y90vvc1Fs5s/J0OK kqK/msrx4GxVfLIiEmtpl4F3B0sabrLQBkxSQAYrX+26szX5habK2n0wTloTJzuhZ560 RgeQ== X-Gm-Message-State: ABy/qLZAPzLWCtpvOB+DO987+F/C5P7HL7PcYiiAONIz2SQn6nEDXl2J uCzIit7hrNiR66N/GMVPaJ4g5g== X-Received: by 2002:a2e:7a16:0:b0:2b5:7a87:a85a with SMTP id v22-20020a2e7a16000000b002b57a87a85amr8825214ljc.13.1689186896477; Wed, 12 Jul 2023 11:34:56 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id p27-20020a170906141b00b00977eec7b7e8sm2885172ejc.68.2023.07.12.11.34.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jul 2023 11:34:56 -0700 (PDT) Message-ID: <6e13acf6-3e23-f9bf-5c3f-368e79802a8d@linaro.org> Date: Wed, 12 Jul 2023 20:34:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v4 1/7] dt-bindings: arm: fsl: add se-fw binding doc Content-Language: en-US To: Conor Dooley , Pankaj Gupta Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, clin@suse.com, conor+dt@kernel.org, pierre.gondois@arm.com, ping.bai@nxp.com, xiaoning.wang@nxp.com, wei.fang@nxp.com, peng.fan@nxp.com, haibo.chen@nxp.com, festevam@gmail.com, linux-imx@nxp.com, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gaurav.jain@nxp.com, alexander.stein@ew.tq-group.com, sahil.malhotra@nxp.com, aisheng.dong@nxp.com, V.Sethi@nxp.com References: <20230712121219.2654234-1-pankaj.gupta@nxp.com> <20230712121219.2654234-2-pankaj.gupta@nxp.com> <20230712-step-dimple-31746cd3a640@spud> From: Krzysztof Kozlowski In-Reply-To: <20230712-step-dimple-31746cd3a640@spud> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/07/2023 20:26, Conor Dooley wrote: > Hey, > > On Wed, Jul 12, 2023 at 05:42:13PM +0530, Pankaj Gupta wrote: >> The NXP's i.MX EdgeLock Enclave, a HW IP creating an embedded >> secure enclave within the SoC boundary to enable features like >> - HSM >> - SHE >> - V2X >> >> Communicates via message unit with linux kernel. This driver >> is enables communication ensuring well defined message sequence >> protocol between Application Core and enclave's firmware. >> >> Driver configures multiple misc-device on the MU, for multiple >> user-space applications can communicate on single MU. >> >> It exists on some i.MX processors. e.g. i.MX8ULP, i.MX93 etc. >> >> Signed-off-by: Pankaj Gupta >> --- >> .../bindings/arm/freescale/fsl,se-fw.yaml | 121 ++++++++++++++++++ >> 1 file changed, 121 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,se-fw.yaml >> >> diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,se-fw.yaml b/Documentation/devicetree/bindings/arm/freescale/fsl,se-fw.yaml >> new file mode 100644 >> index 000000000000..7567da0b4c21 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,se-fw.yaml >> @@ -0,0 +1,121 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/arm/freescale/fsl,se-fw.yaml# > > I think on v3 you were asked to use a filename that matches the > compatibles? > >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: NXP i.MX EdgeLock Enclave Firmware (ELEFW) >> + >> +maintainers: >> + - Pankaj Gupta > >> + value, i.e., supported SoC(s) are imx8ulp, imx93. > >> + >> +properties: >> + compatible: >> + enum: >> + - fsl,imx-ele > > This looks like a generic compatible, not a specific one, but you use it > on the imx8ulp. I would have expected that you would have something like > "fsl,imx8ulp-ele" for that. Yeah, this one looks generic, so not what we expect. > >> + - fsl,imx93-ele > > >> + >> + mboxes: >> + description: >> + A list of phandles of TX MU channels followed by a list of phandles of >> + RX MU channels. The number of expected tx and rx channels is 1 TX, and >> + 1 RX channels. Don't repeat constraints in free form text. This is obvious from the items below. Best regards, Krzysztof