Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 91EEFC4725D for ; Fri, 19 Jan 2024 13:05:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BA0D2879F7; Fri, 19 Jan 2024 14:05:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.b="iU33KYJk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A8AD587BBC; Fri, 19 Jan 2024 14:05:42 +0100 (CET) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BC9368793C for ; Fri, 19 Jan 2024 14:05:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=17487c629f=patrice.chotard@foss.st.com Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40J9aDss019271; Fri, 19 Jan 2024 14:05:38 +0100 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=d+1LoRAkD9aNZbvDx/g1cvQshQOu5YUrWBTARuyePcU=; b=iU 33KYJk6+Ct/SsIkgU+SDEm9CC1P2bydZjaR9OeS2QfCOGsqLo4cpP04KQh12zKXL dLoKtPWiW0Wb2FTNndSaukuXqd2cepQCtHw/KynDtMcXo5tqkI04ePV1lIFKpZMc h7+VmAkGlwvj1XHjLziqMlpo20SdmCUBeDSFhU2grSxJ9D3IWRjjTSAocvh7Mkxq jhKbWMjv0x8XRcpWgyzCi2+oyOatiHOmW0AC8BKDBZFV+2eiY3uVkaLX5k74aCRo f1AA0ml5dskOUhoYkgDQkNOGH5dGaWMWXDF+yq4bN0votYu3HHioCjEkuKqr/m5N V6KirF1ZAgtx/qpPP0nA== 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 3vkmfyx9m0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Jan 2024 14:05:38 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B6355100081; Fri, 19 Jan 2024 14:05:37 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A8FCB23C6A3; Fri, 19 Jan 2024 14:05:37 +0100 (CET) Received: from [10.252.4.250] (10.252.4.250) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 19 Jan 2024 14:05:37 +0100 Message-ID: <97fd2848-1bd9-4345-82ab-c1da2cbd6694@foss.st.com> Date: Fri, 19 Jan 2024 14:05:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] ARM: dts: stm32: Fix reset for usart1 in scmi configuration Content-Language: en-US To: Patrick DELAUNAY , CC: U-Boot STM32 , Simon Glass , Tom Rini References: <20240104123750.232991-1-patrice.chotard@foss.st.com> <042cbd96-55f4-40c4-957a-58d5d1efdd6b@foss.st.com> From: Patrice CHOTARD In-Reply-To: <042cbd96-55f4-40c4-957a-58d5d1efdd6b@foss.st.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.252.4.250] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-19_07,2024-01-19_02,2023-05-22_02 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 1/4/24 18:33, Patrick DELAUNAY wrote: > Hi, > > On 1/4/24 13:37, Patrice Chotard wrote: >> In SCMI configuration, usart1 is secure, so all its resources are secured >> (clock and reset) and can't be set/unset by non-secure world but by OP-TEE. >> >> Fixes: 6cccc8d396bf ("ARM: dts: stm32: add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)") >> >> Signed-off-by: Patrice Chotard >> --- >> >>   arch/arm/dts/stm32mp15-scmi-u-boot.dtsi | 2 +- >>   1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/arch/arm/dts/stm32mp15-scmi-u-boot.dtsi b/arch/arm/dts/stm32mp15-scmi-u-boot.dtsi >> index 7c8fec6cbfb..79494ecad90 100644 >> --- a/arch/arm/dts/stm32mp15-scmi-u-boot.dtsi >> +++ b/arch/arm/dts/stm32mp15-scmi-u-boot.dtsi >> @@ -135,7 +135,7 @@ >>   }; >>     &usart1 { >> -    resets = <&rcc USART1_R>; >> +    resets = <&scmi_reset RST_SCMI_USART1>; >>   }; >>     &usart2 { > > > Reviewed-by: Patrick Delaunay > > Thanks > Patrick > > Applied to u-boot-stm32/master Thanks Patrice