Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp652487pxm; Fri, 25 Feb 2022 16:17:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQx3myFTTLMznU46YgaK/NMeAHN+RNIMikFSk8a2bXt/WEK8ZDTtyf3w4zHpjxUUFMEpjZ X-Received: by 2002:a05:6a00:1995:b0:4e1:a7dd:96d6 with SMTP id d21-20020a056a00199500b004e1a7dd96d6mr10213710pfl.16.1645834646513; Fri, 25 Feb 2022 16:17:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645834646; cv=none; d=google.com; s=arc-20160816; b=gTIHijhguhr4yk59wtLdKqch0zK+DGAY8+V1fW1xZfpmjgTn+a9CZSQdn0Y7uS9noG SZ5urpkrnsGGLrpDRsU3Hes0XzOC9WC74JXqpVQXMoSCGjjexZoWrd7S/+KcA6I8iMZp JSVhMXIz3C9cicufqwXC1dT77srXYXF4dAlsi6aAJNGqme7YID3NHuQ7WtQGLSxCIWyc LlmsLP0WfOBkDt5ig9tIb2zNKQVbPCkvr4WqnQZAqq4MU/svNCOGOCMUyqfjC5dKvM1M 6BVFD1lzOxQElL6pqCIozUdg5WCI3Y+il2htMzYkx7hf50Mun25zogvB4jWpCk7Ag0W1 qVMw== 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 :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id; bh=S0UUZzjb710aFvjWWg47nHIshQblWobVsf1T30uK8Gg=; b=vi9J2v8e1ZL/yTy0Xlyls0TB3ibF2di9qVH6/AQLfmk9qhl85OHv+xzsBrGkzEZai5 c9RBJXRui4eAV/eQ4KIj36l9If1RmqtAbXoXn8HhD897BW0IN3qjI47FJQsuF4TAIK3i +IkwVD/9YywNhNmbHgysJb9RQXrTK+O67DX6NaaqtiaVHzD+uZ2nrG4YJdBqBbXSiD4d MuBYwvoV3BjbwAVk30+2ApTkupRH0MF7QZ46ro2qesqLOMWPFvWzAfvmkLgzqCy+ij/0 nJ63dCkeZsCISo2oT2FEb3sq5SlDswjYNYlQ+XgQCzPOB+NqZlQ2p8JfGCekKDCbMkE5 Co2Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j15-20020a65558f000000b003759f4a6d77si3183386pgs.64.2022.02.25.16.17.10; Fri, 25 Feb 2022 16:17:26 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241832AbiBYPOQ (ORCPT + 99 others); Fri, 25 Feb 2022 10:14:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241806AbiBYPOL (ORCPT ); Fri, 25 Feb 2022 10:14:11 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1E6A19141F for ; Fri, 25 Feb 2022 07:13:38 -0800 (PST) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nNcHf-0006DM-IZ; Fri, 25 Feb 2022 16:13:27 +0100 Message-ID: <1d90078d-e27f-539d-d010-78a3c4da565a@pengutronix.de> Date: Fri, 25 Feb 2022 16:13:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 From: Ahmad Fatoum Subject: Re: [Linux-stm32] [PATCH v2 12/13] ARM: dts: stm32: enable optee firmware and SCMI support on STM32MP13 To: gabriel.fernandez@foss.st.com, Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue , Philipp Zabel Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Pengutronix Kernel Team References: <20220225133137.813919-1-gabriel.fernandez@foss.st.com> <20220225133137.813919-13-gabriel.fernandez@foss.st.com> Content-Language: en-US In-Reply-To: <20220225133137.813919-13-gabriel.fernandez@foss.st.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hello Gabriel, On 25.02.22 14:31, gabriel.fernandez@foss.st.com wrote: > From: Gabriel Fernandez > > Enable optee and SCMI clocks support. > > Signed-off-by: Gabriel Fernandez > --- > arch/arm/boot/dts/stm32mp131.dtsi | 37 +++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi > index 262de4eeb4ed..78eac53224d4 100644 > --- a/arch/arm/boot/dts/stm32mp131.dtsi > +++ b/arch/arm/boot/dts/stm32mp131.dtsi > @@ -27,6 +27,43 @@ arm-pmu { > interrupt-parent = <&intc>; > }; > > + scmi_sram: sram@2ffff000 { > + compatible = "mmio-sram"; > + reg = <0x2ffff000 0x1000>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 0x2ffff000 0x1000>; > + > + scmi_shm: scmi_shm@0 { > + compatible = "arm,scmi-shmem"; > + reg = <0 0x80>; > + }; > + }; > + > + firmware { > + optee { > + method = "smc"; > + compatible = "linaro,optee-tz"; > + }; > + > + scmi: scmi { > + compatible = "linaro,scmi-optee"; This compatible doesn't seem to be documented upstream. I am looking at v5.17-rc5. Do you have a reference detailing the difference between this conduit and plain arm,scmi-smc (as used with TF-A on the STM32MP151). Cheers, Ahmad > + #address-cells = <1>; > + #size-cells = <0>; > + linaro,optee-channel-id = <0>; > + shmem = <&scmi_shm>; > + > + scmi_clk: protocol@14 { > + reg = <0x14>; > + #clock-cells = <1>; > + }; > + > + scmi_reset: protocol@16 { > + reg = <0x16>; > + #reset-cells = <1>; > + }; > + }; > + }; > clocks { > clk_axi: clk-axi { > #clock-cells = <0>; -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |