Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp925172pxb; Fri, 22 Apr 2022 14:28:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/I++0/O+S11uDTFnw5JcPp/2m6CKvDxCCTyAw76d51C3lC59elA2sZ3KnoFSRt2CnLUE7 X-Received: by 2002:a63:cd0d:0:b0:39c:d48c:67cc with SMTP id i13-20020a63cd0d000000b0039cd48c67ccmr5569672pgg.606.1650662925726; Fri, 22 Apr 2022 14:28:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650662925; cv=none; d=google.com; s=arc-20160816; b=ZD8jQXPCn0S6777+fz75iDsQotD7w1sFrQkrgyAIw7BAm4Asiyx9Lg5j/MOqH95u6g TvMGNq4x7mgh+3UWsyapcCeAPj3sHwsFfV1SZHA2YKGo405nJXDDidOvWUcuBqjJKTlE 13Hap3FDK3HRcQIymEXIJbVGKTNu1w8AjrVt21ILrViXaZ7mEIpfPLzzgJeKf6VMOnY9 Ryu0u2zUOkiwuVoPIPnw9Vegbo0dUlmUN0KDaPzYgDB7rRGnAdI97v3k/7HBPMJg1j2I 86Focqa1xNRsf05ljnOAvIGcXrMSokm5NMIe6Zoe81ymTHdfC5drP/zxGkoFWFrXYw5S Iw4w== 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=DplC3BzhyblI5Lxwm3NDiSXDYLPoE+n3uwb7Qwcogf0=; b=QNY3afi3fbhuHZeqk7sgHxIvfd3gBv7xN8/cOKfIHkl6AoOMg3amnSMHBoXO44d5l2 QBrgAZwI7S/1gOPDREAN9fmfVumsJvMZa/NcNSGXu/qia1jQBtieqeLHgB/BwlM6//H3 H3aH3o2BlOwBdpehNgJFhGNuLiQx/1uWQeTYtVM0UnGl8xBiW4eNgq5HAJ5CFbuOzWkb wPwq01MlfEG+7GgWeYgvW6ncavnR1li6y4tYxAJMmDdnv9UPLVEyiZT/CTfiI00borRp DoP4cvmXeqMsi4LAJYvTZgbjgLWolbzL6AZxdiErTch1QtkQFQlEZQJ3tXLwvAtblEMa 8huw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Pr9UPBN4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bi1-20020a170902bf0100b00158e89eb6f9si1512263plb.538.2022.04.22.14.28.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:28:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Pr9UPBN4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8927628282B; Fri, 22 Apr 2022 12:36:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1390030AbiDUP0n (ORCPT + 99 others); Thu, 21 Apr 2022 11:26:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232403AbiDUP0m (ORCPT ); Thu, 21 Apr 2022 11:26:42 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BE1141316; Thu, 21 Apr 2022 08:23:52 -0700 (PDT) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23LAfLVF028198; Thu, 21 Apr 2022 17:23:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=DplC3BzhyblI5Lxwm3NDiSXDYLPoE+n3uwb7Qwcogf0=; b=Pr9UPBN43blI3MNuBC4q4QuEx+wjppGjNYhPZqQYk/1eq6g/vma3OR/vcrxy2Te+1ZBS ABJ91MHl8SK5OqbLd2FHybIoXbms1DOCAFPJAfeB37ByfARyB4bSdFZCzL1Nzc0MLrjx gDbwizdZjpVr+YwnNItyW86rOMvuZBd7Oky6SurFkkswm9rGR1LWHfOTrX55uAvh7AS/ kXcSq+gdVqXdWX63VApZGvwk8PI11iPvC+QwuENM8ciYUFahPVyxb4XfZ3mEf9KDAAOj RraVpB3D/tdGVA7hslZl+bobogT/06SMO+FMEvQrK7YdLuf9fVlCLUOus4Kuo1vnPxUy 7A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3ffpqh3tk2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Apr 2022 17:23:29 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8F66E10002A; Thu, 21 Apr 2022 17:23:28 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7A5D322ECF6; Thu, 21 Apr 2022 17:23:28 +0200 (CEST) Received: from [10.48.0.142] (10.75.127.45) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.20; Thu, 21 Apr 2022 17:23:27 +0200 Message-ID: <31f5d4af-5a4f-e683-c50e-d59b63135a99@foss.st.com> Date: Thu, 21 Apr 2022 17:23:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH RESEND v3 12/13] ARM: dts: stm32: enable optee firmware and SCMI support on STM32MP13 Content-Language: en-US To: , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Philipp Zabel CC: , , , , References: <20220316131000.9874-1-gabriel.fernandez@foss.st.com> <20220316131000.9874-13-gabriel.fernandez@foss.st.com> From: Alexandre TORGUE In-Reply-To: <20220316131000.9874-13-gabriel.fernandez@foss.st.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-21_02,2022-04-21_01,2022-02-23_01 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE 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 Hi Gabriel On 3/16/22 14:09, 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 { rename to scmi-sram@0 to match with yaml description > + compatible = "arm,scmi-shmem"; > + reg = <0 0x80>; > + }; > + }; Can you move this sram node in Soc{ please? > + > + firmware { > + optee { > + method = "smc"; > + compatible = "linaro,optee-tz"; > + }; > + > + scmi: scmi { > + compatible = "linaro,scmi-optee"; > + #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>;