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 B7623EB64DD for ; Wed, 12 Jul 2023 18:35:34 +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:From:References:Cc:To: Subject:MIME-Version: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=3kK9yxDz/JnrUM7zmHonATW7h6wGfZcTAQ8sNOco0eQ=; b=D4zDKnjXxxfP3P YXJVIB5REX+gtYANMFu43MYKIfMej+Hy8cFY6x1BuwNIbOzB1LTz+r+MqMe9TnBsH60ZLFpaOkxEN Ds/9z1JC6sjAsJVyFHt2mQj+Cr0qpUV/vgT3HFzJ4qFPvM8qDerG4w8CalNxarvJpqVISrfLjJLY8 pQEWyS4pvcaM+4llFm0ioZVMTMQynM71lhV9+fwBFuXjvFSld+9Ccp2UnIIlEmKTXZO8Psgh3eO7B 49zYsv8XF5Vuw4yTBBFBtjfWZg3XP/pkVU0V2xweGDFarxi0gTysMOB8IUXapQocA+MYrat+ZdHAC kmPB5manPArwYB7ZlSdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJeg3-000uBa-0n; Wed, 12 Jul 2023 18:35:03 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJeg0-000uA9-15 for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 18:35:01 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2b701dee4bfso121494791fa.0 for ; Wed, 12 Jul 2023 11:34:57 -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=aWbWEmSTaGJFwE0zQDkzu0rKegrPiLpn3fsETnaB4dDeVWNdGrtMYsClBbrIVDnN0u CSkMxmPcxbtbEB4qme3JYksE8AA8xjppw4ADX6M3vnSPQmK9Yp+4h6r+V7HBURwBgiyg U3YizoQXH8HwiMfUdThX1HdX40G0BCmQpgZBD6vanBOQLnhG+r3p9XyNdtFSByXnYJOe C0IyEphjUqMenq9dNn+u8hM3azMTYT2q338j4NFbNYELZk8Nxe7mK9YkOOoXNoUg+UBX Tbcuxt3MoSL+p0qC+mNgUMg4UYl9iKwqQ4CqUZ938o/UGweSlyJIhyDv37RV+JS7Ge1d 0EXA== X-Gm-Message-State: ABy/qLZKohrdHPIUc/anrIZB6x7gFaI2PJDN4NckoLuOuCctBtwfiY6v rLpOuan8eSXAga+BwAO92e5fjpClAeKx/JSasq3WwQ== X-Google-Smtp-Source: APBJJlEJeg/IiAx2/1j3q/3LKk2HeS8zGD4t9IyLZ7QzqeUG1dSeOLnvKQHJsyi6PYys7SXlbvMMeg== 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230712_113500_383544_74502488 X-CRM114-Status: GOOD ( 21.18 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel