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 79285CD37B4 for ; Wed, 4 Sep 2024 14:10:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E961288B40; Wed, 4 Sep 2024 16:09:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="WXDPenJQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A21A888C7E; Wed, 4 Sep 2024 06:25:42 +0200 (CEST) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 77DDE88B49 for ; Wed, 4 Sep 2024 06:25:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-kumar1@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 4844Pcc7051550; Tue, 3 Sep 2024 23:25:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1725423938; bh=L0sL8g9rF2FGU/83LzpNfgHMgNN+tPqoXqh8243Q4+s=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=WXDPenJQuw06Rq8cfua/OGGCgsH5fyXhU1aTh+kUDzz949m8A5BkOvqGQAnhAvcFn UMTPeF3cd9SaFliWjGnSRLIu8iSaWe8wGQ7/aH3B8LlfmogTKvD07o/qGtsAwm+ZR/ fskcmmvZwPqiM/uKtX9sU4TsBQqJgxLhInKdZ7+k= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4844PcqN016962 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 3 Sep 2024 23:25:38 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 3 Sep 2024 23:25:37 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 3 Sep 2024 23:25:37 -0500 Received: from [172.24.23.68] (lt5cd2489kgj.dhcp.ti.com [172.24.23.68]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4844PXpw077786; Tue, 3 Sep 2024 23:25:34 -0500 Message-ID: Date: Wed, 4 Sep 2024 09:55:33 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 3/6] arm: dts: k3-j784s4-main: Add clock and power domains for MAIN_R5_2_x To: Neha Malcom Francis , CC: , , , , , , , , , , References: <20240903114402.2155740-1-n-francis@ti.com> <20240903114402.2155740-4-n-francis@ti.com> Content-Language: en-US From: "Kumar, Udit" In-Reply-To: <20240903114402.2155740-4-n-francis@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Approved-At: Wed, 04 Sep 2024 16:09:57 +0200 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 9/3/2024 5:13 PM, Neha Malcom Francis wrote: > Add bootph-pre-ram as well as the clocks and power-domains for > MAIN_R5_2_x. This ensures that LPSC sets the appropriate power and clock > and allows for BIST to turn the cores on and off for running the > self-test at R5 SPL stage. > > Signed-off-by: Neha Malcom Francis > --- > dts/upstream/src/arm64/ti/k3-j784s4-main.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/dts/upstream/src/arm64/ti/k3-j784s4-main.dtsi b/dts/upstream/src/arm64/ti/k3-j784s4-main.dtsi > index 5d9b0b6b59d..42dbf3083e1 100644 > --- a/dts/upstream/src/arm64/ti/k3-j784s4-main.dtsi > +++ b/dts/upstream/src/arm64/ti/k3-j784s4-main.dtsi > @@ -1897,6 +1897,7 @@ > ranges = <0x5900000 0x00 0x5900000 0x20000>, > <0x5a00000 0x00 0x5a00000 0x20000>; > power-domains = <&k3_pds 338 TI_SCI_PD_EXCLUSIVE>; > + bootph-pre-ram; > > main_r5fss2_core0: r5f@5900000 { > compatible = "ti,j721s2-r5f"; > @@ -1911,6 +1912,10 @@ > ti,atcm-enable = <1>; > ti,btcm-enable = <1>; > ti,loczrama = <1>; > + clocks = <&k3_clks 343 0>; > + power-domains = <&k3_pds 343 TI_SCI_PD_EXCLUSIVE>; > + assigned-clocks = <&k3_clks 343 0>; > + bootph-pre-ram; > }; > > main_r5fss2_core1: r5f@5a00000 { > @@ -1926,6 +1931,10 @@ > ti,atcm-enable = <1>; > ti,btcm-enable = <1>; > ti,loczrama = <1>; > + clocks = <&k3_clks 344 0>; > + power-domains = <&k3_pds 344 TI_SCI_PD_EXCLUSIVE>; > + assigned-clocks = <&k3_clks 344 0>; > + bootph-pre-ram; Only leaf nodes should be ok with bootph-pre-ram > }; > }; >