Received: by 2002:a05:6a10:5594:0:0:0:0 with SMTP id ee20csp246756pxb; Mon, 25 Apr 2022 09:15:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlB4LW3AAU/o/ia5N2kByZs7atpjUBncqAPscjFhDtejV17oMfnVmMDoVjG9KaHnlwufWh X-Received: by 2002:a05:6a00:21c7:b0:4fd:f89f:ec17 with SMTP id t7-20020a056a0021c700b004fdf89fec17mr19764586pfj.72.1650903355802; Mon, 25 Apr 2022 09:15:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650903355; cv=none; d=google.com; s=arc-20160816; b=Hf/49k/WAJ1U5YwBiV/TMvSjSdf6DjPbEBIlsXVzNZRIsvAxIYmDV6t+14lNseKSEx g4M2TEKjwvLcxbWx2TGGXjWq74snuEiOofZfmoi3o2uE61xfug9JXXytpcc6gd+vNf+s EdnEAyZMAVUx8Jk1e2CPEeca1D/ZXfU7m8fifa+qpoXjjhwGcUfd1USDayl8gaTJr8MW YAE7Yz3pAa43FZkL1wrpALLohExUzooe2hkB28I4AEV3wH0EyRpzYps+rkThkDPcI6KH SUGfOy6Q3y04roOPgnOOK8o3sH2Xf6ZTj7CC2tsrjkNMUv9PKoxtVpb+7NGatLZB6H53 HoxQ== 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=gXw9wbk3lFJ9g4L4B5F3yY9pXLjcZ/owkMTe5ZZCa0o=; b=kgT3lQ1PYZ25/pPttVO++Mas7GN0MuNjZUpr8TsMrABeoU/j4wl3LWQC563TaESRoz HTBxPmN0c4+1BgH1fH1hWn2JnNgD7E6M+39Ixu+h1EK8RlwJO/fNMMIqb618QV/O2xYb EV1/kKV7Y4x6scQkgLY3lZKwzUdzq/WfLgPclxnvzkO2BVDDWufaJWZ77B8vGBJiDmw/ r6ww8nVNFx7ut7Bns1AAW8rY4oRd6ZDD8d9tdHGm9nfQlN/tgefiPu8Je2H8DM424Oh6 ywj+COjoe7cmvBsr7EtdYv24t9StQCL8AfsWESvn8PQwu28OH8osdNE9peheiErAWFjj AlqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=dgMcUi0G; 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 cd13-20020a056a00420d00b0050cec4de7eesi9887345pfb.223.2022.04.25.09.15.27; Mon, 25 Apr 2022 09:15:55 -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=@denx.de header.s=phobos-20191101 header.b=dgMcUi0G; 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 S235593AbiDYK3H (ORCPT + 99 others); Mon, 25 Apr 2022 06:29:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234243AbiDYK3F (ORCPT ); Mon, 25 Apr 2022 06:29:05 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3C8A5DA24; Mon, 25 Apr 2022 03:26:00 -0700 (PDT) Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 6C5E1810FC; Mon, 25 Apr 2022 12:25:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1650882357; bh=gXw9wbk3lFJ9g4L4B5F3yY9pXLjcZ/owkMTe5ZZCa0o=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=dgMcUi0GQt8nE0WH0AGCxbOzQ2uuSYSHeELx4TvjT+IWv+1SU9KXo9B/pdVY0lH/J 1+oi3EOMyMQhPRjB35uJRr2ir3prdwPQY3RKpr4lhNNlnQ7OZdpCUvucwWAFJSGvKy aDz1l0nTTYM873Qck3SFEruHonUDYnwHioshjwVVL5cAgw+3G7vFXItRGK+fT8zx4F 5qklaoVmnu0qg5WcSJ2a1vqCxZofuxxcHkXRoCic37VlLg5/HIbdFKe+dxikxfmiLa kQUBY70C8jE7IcQxuPe3Jfv+D+AQUWGxLq7pZjWlwJrVoc2xwCMt4ZxVKBpCOnwxJP bawPT+pWtWsUw== Message-ID: <71c0dd94-8cd3-9ca0-f06d-ee13ad063618@denx.de> Date: Mon, 25 Apr 2022 12:25:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH 6/8] ARM: dts: stm32: enable optee firmware and SCMI support on STM32MP15 Content-Language: en-US To: Etienne CARRIERE , Alexandre TORGUE - foss , "arnd@arndb.de" , "robh+dt@kernel.org" , Krzysztof Kozlowski , "soc@kernel.org" , Stephen Boyd , Philipp Zabel Cc: "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-kernel@vger.kernel.org" , Ahmad Fatoum References: <20220422150952.20587-1-alexandre.torgue@foss.st.com> <20220422150952.20587-7-alexandre.torgue@foss.st.com> <174bea56-3e99-e01c-4133-f1350d34448d@denx.de> From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 4/25/22 12:19, Etienne CARRIERE wrote: > Hello Marek, Hi, >> From: Marek Vasut >> >>> On 4/22/22 17:09, Alexandre Torgue wrote: >>> Enable optee and SCMI clocks/reset protocols support. >>> >>> Signed-off-by: Alexandre Torgue >>> >>> diff --git a/arch/arm/boot/dts/stm32mp151.dtsi >>> b/arch/arm/boot/dts/stm32mp151.dtsi >>> index 7fdc324b3cf9..1b2fd3426a81 100644 >>> --- a/arch/arm/boot/dts/stm32mp151.dtsi >>> +++ b/arch/arm/boot/dts/stm32mp151.dtsi >>> @@ -115,6 +115,33 @@ >>>                 status = "disabled"; >>>         }; >>> >>> +     firmware { >>> +             optee: optee { >>> +                     compatible = "linaro,optee-tz"; >>> +                     method = "smc"; >>> +                     status = "disabled"; >>> +             }; >> >> Doesn't this TEE node get automatically generated and patched into DT by >> the TEE ? I think OpTee-OS does that. > > OP-TEE OS does that if it gets passed the DT from early boot stage which is not always the case. Shouldn't that be something to fix ? I think R-Car3 does that already.