Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp237702rwp; Wed, 12 Jul 2023 12:27:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlGgn+Px4kiIZGfRqAMEFYlRDUrO2Fz5X7zGweY2bGnBTFgHf0Rwre9gWa/010g5I/vd5CZW X-Received: by 2002:a05:6a20:12cc:b0:12f:86f1:b16f with SMTP id v12-20020a056a2012cc00b0012f86f1b16fmr3801361pzg.1.1689190071255; Wed, 12 Jul 2023 12:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689190071; cv=none; d=google.com; s=arc-20160816; b=DeGSlNq3Ncd6yttZbTG4ioFaLOHphcYNdWzFdA0jtUrQdCwSpcue67qryCttQKjZ+O vw7Zn3DfrZ54zfxh/z2HpccWA9ujX8T/MrsekO5mbHV9wQ+xP0xl+TUeGJ03MUwdnySv gKSxhjzZ9yCwX/z/k7erY9FLllLmGLZT3xKfEFEyJXylCwNp0SASWgJuMN9HyQsxCtxp vNCujJpTaJXqJAgRwzkVPDQgVBa9mJSqor1/O6m6RNqu12b+Dhy7IeozapPFmIlzBJYK z20xhUZp/Y5vdpgRx3gIBhBP1PhCj/WwznCe6Jvufh8VB4HRXQYj3/b9HkOTNBh+9XPS T0og== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=0s9AVrwvJhGSx93BJTbDW7raDKnHpStgjFNTeCDWn8w=; fh=dvK5gCAXWOeFd63UGEjIGqtauU1a/Cgz/ysKNRljDd4=; b=Ffn8pJ8upCTuV/H++mIwKS2qbe0YqOSZ1zX5SiwfhjJoGC7LZnBmqo0H14eEhCvQIO Hnvdg9CEEzzOJJ05Dg46LUbx1N3UHaZqgv+0d43T+UmhQjV5JFfO8p+eVPFSdF/nCEcn SMEcRfuiouXHIKERX27eq1AWrhTbRHn7Z6HdvxoeZQQTbOuQSkTBwbTdQf79c8BDOavw BA6rGdYg2XykXQi+kEhHnC93cPHy3TKGbqPjn9g6G5eoW3+W0Obk+JHBhFtmLsnDgejI SQ8xVI+TJZEDn4aCHLmyzASZWNCh1ihrhrOBOF5pVzzIxip33LVSe7jxe3sg7ZnK7FEz eWmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rP2Klxzb; 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 i184-20020a6387c1000000b0054fe7a4c49esi3499105pge.824.2023.07.12.12.27.38; Wed, 12 Jul 2023 12:27:51 -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=rP2Klxzb; 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 S232269AbjGLShi (ORCPT + 99 others); Wed, 12 Jul 2023 14:37:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbjGLShg (ORCPT ); Wed, 12 Jul 2023 14:37:36 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABF231BF6 for ; Wed, 12 Jul 2023 11:37:34 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-51e99584adaso2892085a12.0 for ; Wed, 12 Jul 2023 11:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689187053; x=1691779053; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0s9AVrwvJhGSx93BJTbDW7raDKnHpStgjFNTeCDWn8w=; b=rP2Klxzbi/EuA5qsJgC8ytKYfAMla3iZ0eWBSb5EBM4L8T1Dul0j03DlG8xLvmPl5L bJLXyuYMMyR98c1BQdobFUjwh0G8E8x1UpKLrHNfwOYa2dznRV3I9blZgivmOg3LvU+2 ErWSvWmSs6hlGb5xzkqoHy+b/oC0/LltSIk8UZ02+Mo+XMRV4CEFYiBo2AgQBjj39sTm byYRw5wdnDhd12VBzXFIJ7UbDuV7x1v1N2GS69SR9ds17vfdOWhliQ+MFElXnQ4YehVV GsiAJdnNRXjofEVGUQUmWZa3vQ7FJ2+auYqGalES08/4AEMjEl1r1rgZW8QRm3MdcHqn 76Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689187053; x=1691779053; h=content-transfer-encoding:in-reply-to:from:references: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=0s9AVrwvJhGSx93BJTbDW7raDKnHpStgjFNTeCDWn8w=; b=ZLDWcopVY8BXP06SY16RGKo55g8r/0E4GCG5Tz6E7Hcq9uM88tLq8ur8+rzlUNeCr+ gUgBOpUCYNSrMqQP7HK4Efaqe0x1gJTLZDqS+PNdR3OlFEAjuWdnSOskglaU7UkQxrZY /b8KQwt71WEUSaOLUqCzZZWKz3NTU5coOWuu6RYm8+s9DxKT2lA25zQ7xvDX+BmMu/uR 4b0PZBlZ4nlps0WbF0G0DqlCEgwQcqRpoZm+oAxaqt58fXJPAGBg7utf3V3YPdMDCO+E 6jsvBBTJxNgqJvtOPJiqAGKrvl53nmGRTVAm1qF92DSEoUU/IQtlkt3yAko19AD2h68o 7xNw== X-Gm-Message-State: ABy/qLb+SkASoWrLPodnrpy0MYNNy2vGYDBNC+DTlmCe8KzbsxmjZqBD 1ZmczNVMGmOudCsBaNuErVCJhQ== X-Received: by 2002:aa7:d544:0:b0:51d:982d:cb77 with SMTP id u4-20020aa7d544000000b0051d982dcb77mr18371800edr.33.1689187053037; Wed, 12 Jul 2023 11:37:33 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id be25-20020a0564021a3900b00514a5f7a145sm3114169edb.37.2023.07.12.11.37.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jul 2023 11:37:32 -0700 (PDT) Message-ID: <1ac2fb68-02e0-ddfe-87aa-fcd093779009@linaro.org> Date: Wed, 12 Jul 2023 20:37:30 +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 2/7] arm64: dts: imx8ulp-evk: added nxp secure enclave firmware Content-Language: en-US To: Pankaj Gupta , 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-3-pankaj.gupta@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20230712121219.2654234-3-pankaj.gupta@nxp.com> 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=unavailable 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 14:12, Pankaj Gupta wrote: > Added support for NXP secure enclave called EdgeLock Enclave > firmware (se-fw) for imx8ulp-evk. > > Signed-off-by: Pankaj Gupta > --- > arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi > index 3ddc0f3125b3..10ed31974a6f 100644 > --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi > @@ -114,7 +114,7 @@ sosc: clock-sosc { > #clock-cells = <0>; > }; > > - sram@2201f000 { > + sram0: sram@2201f000 { > compatible = "mmio-sram"; > reg = <0x0 0x2201f000 0x0 0x1000>; > > @@ -161,6 +161,16 @@ s4muap: mailbox@27020000 { > #mbox-cells = <2>; > }; > > + ele_fw: se-fw { > + compatible = "fsl,imx-ele"; > + mboxes = <&s4muap 0 0 &s4muap 1 0>; > + mbox-names = "tx", "rx"; > + fsl,mu-did = <7>; > + fsl,mu-id = <2>; > + sram-pool = <&sram0>; It does not look like you tested the DTS against bindings. Please run `make dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst or https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/ for instructions). > + status = "okay"; It's by default. Best regards, Krzysztof