Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3107467pxp; Tue, 8 Mar 2022 07:51:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwU4eChZH/NSSwcAih9v4T1MjBVZ+v8BEYWPyiZ7E6z77etmQST0IxgHaA6/Ms9scFu2c0q X-Received: by 2002:a17:902:d643:b0:151:6f2c:cfb4 with SMTP id y3-20020a170902d64300b001516f2ccfb4mr18274274plh.120.1646754712291; Tue, 08 Mar 2022 07:51:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646754712; cv=none; d=google.com; s=arc-20160816; b=gfP0BlJS1zmTLEw9ZmYqfWYUaedLGWJrdb7iLqMSvcZYHIMlGpCasS2156wNg8bsVZ pDkwmKCcKlouxmIlA1/axQNmaV34HV6vKWQUsVfWAgmWGEMcXdAWvBhbjh497JYxCT1B QjATSyn0ilI5z2i+ZmKbdAOA6eRqTXyD1Vq1lOmh4BU8F4m5BwFRjEMh86UgnUUcc8oG pdleEmmsa0Jcrh83mddChFueaxI4T5QoXOZa9USz81GAW17gPu5FvHJrr1mNFbwLr6V0 pCZpCed94Y7ZuOL6+Rt/PcN/FC/wzrCzpFuw1VZMX9jhcLwugyBxfGJHDvgbfvEnnx27 TffQ== 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; bh=sjG5R3bR8iWizT1PmObhHrz76C2Pbm/9vi9HPnbpyj8=; b=00EcJinkxCNaOqIEVo1yFikXgpBdHMiZysnRMnNdAKXfeLyA6iT0uNEsiwNPus1jM2 OidrW84Fz6muIPzAyDWJ8u2Ay0YNhRlbO8QaSq+fXqh+EhD9tEGdX0IV7MhPwA4T5WR0 n1iUWpicRCluVfKNKLxMew5INQstjbOYj2rPDHmhGfeMAMYJOHq3tLcLWYTArzzwFQeT Mc5gL4OYngNrNATkuVC+/eSPQjPGnI+5uxdQI9eFgtQjnNu0tFDpAR8hoTSSonQAVpua 8SL+F1b5J+r1rpb27eNHThfFpjVA1TwNmSGeE+yT+9QOSBuiopVzWYZUeRgNRa/r0YIL mIyw== 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 z9-20020a633309000000b003767f42ab1bsi15931151pgz.338.2022.03.08.07.51.35; Tue, 08 Mar 2022 07:51:52 -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 S1345548AbiCHJ7c (ORCPT + 99 others); Tue, 8 Mar 2022 04:59:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345517AbiCHJ72 (ORCPT ); Tue, 8 Mar 2022 04:59:28 -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 4882137012 for ; Tue, 8 Mar 2022 01:58:32 -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 1nRWbo-00070Z-K6; Tue, 08 Mar 2022 10:58:24 +0100 Message-ID: <2ed036b4-5a0a-f017-17e3-7922fcc2e8cc@pengutronix.de> Date: Tue, 8 Mar 2022 10:58:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [Linux-stm32] [PATCH v2 12/13] ARM: dts: stm32: enable optee firmware and SCMI support on STM32MP13 Content-Language: en-US To: Gabriel FERNANDEZ , 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 , Etienne Carriere References: <20220225133137.813919-1-gabriel.fernandez@foss.st.com> <20220225133137.813919-13-gabriel.fernandez@foss.st.com> <1d90078d-e27f-539d-d010-78a3c4da565a@pengutronix.de> <65581f3a-3ae6-2dd3-7571-1e64982b5f50@foss.st.com> From: Ahmad Fatoum In-Reply-To: <65581f3a-3ae6-2dd3-7571-1e64982b5f50@foss.st.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Helo Gabriel, On 03.03.22 14:09, Gabriel FERNANDEZ wrote: > > On 2/25/22 16:13, Ahmad Fatoum wrote: >> Hello Gabriel, >> >> On 25.02.22 14:31, gabriel.fernandez@foss.st.com wrote: >>> From: Gabriel Fernandez >>> +    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 > > Hi > > Ahmad, > > it's on going. > > https://lore.kernel.org/linux-arm-kernel/20211029102118.GG6526@e120937-lin/T/#mf46c83f0aadce3061ee93fa22159405f38d881a0 I've found that thread in the meantime and got some clarification on why a new transport for OP-TEE was added. One question I still have though is why make this transport the default for STM32MP13x instead of using SCMI over SMC like you do for STM32MP15x. OP-TEE could still be made to service SCMI over SMC and it would allow people employing TF-A as SCMI provider an easier migration to the newer SoC. 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 |