From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 67DACE9370C for ; Thu, 5 Oct 2023 12:32:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nqjs+kFaa9eeKl1BilMbuv1ss4ITfv7goXC2EdWjAUs=; b=qqbB+RGRyYe7TG 7/pXj8dHqx1rdLwI19PZBJABVii8DQUdEWUwIzCpiDQeybHzcpI2GM0MeeCzXSDRtlyj/So/zTgvc JH/jWcf4PKPCXBjEDYrkveyTSllfGNdOQkFjAFhevgyb2T9MYvGQWpNRZ9HQAw9zIsCHtdRCGhOjq sLFnj+BiGrD2dy7ikirgZMb3b506jK1iLPLcqhMS+i608Z8QP+6sBvSQm8iR7xK5HrZzoIVigJQl0 XeSXMVd3U9FE5tztVFo5AUOKsM2NtUotUO29IW6oVLzb+WR+y5EkhK4YwVWOfW4i/nRQCXDVpxZPT fgzXf14xY9bEnm/x+gdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qoNWS-002qDZ-1y; Thu, 05 Oct 2023 12:32:08 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qoNWP-002q8n-1x for linux-arm-kernel@lists.infradead.org; Thu, 05 Oct 2023 12:32:07 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 395CVtOJ003542; Thu, 5 Oct 2023 07:31:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696509115; bh=Md93/u62cMUvzWDYlTUnTZn/X6A+6NLcZw9TJhnVGOs=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=hHIuIw8bWH39P26FOkFD89hLy4ujueP2bVppa4tBfMzCTVJX5ebPCUuLG61I4Wqtz jrFJiTtTEI0B731UrmztSJXaZBkTvhHfWo6kMcMeA8dI5EV6y8zZLy8Bym7BHzuCls aNqbYP7IEvWCeVjl76aEn0tqUTV9IOH/c8RLuZwA= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 395CVt9s018007 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Oct 2023 07:31:55 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 5 Oct 2023 07:31:55 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE103.ent.ti.com (157.170.170.33) 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; Thu, 5 Oct 2023 07:31:55 -0500 Received: from [10.249.131.134] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 395CVoZJ026440; Thu, 5 Oct 2023 07:31:51 -0500 Message-ID: Date: Thu, 5 Oct 2023 18:01:50 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 2/7] arm64: dts: ti: k3-j784s4: Add ESM instances Content-Language: en-US To: Nishanth Menon CC: Vignesh Raghavendra , , , , , , , , References: <20230927023357.9883-1-j-keerthy@ti.com> <20230927023357.9883-3-j-keerthy@ti.com> <4eb50f24-b6c8-790e-91b0-5646ebbb2d10@ti.com> <20231005111554.ol4vu4oxlensmx6m@booth> From: "J, KEERTHY" In-Reply-To: <20231005111554.ol4vu4oxlensmx6m@booth> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231005_053205_834289_476FEF5A X-CRM114-Status: GOOD ( 10.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10/5/2023 4:45 PM, Nishanth Menon wrote: > On 06:45-20231005, J, KEERTHY wrote: >> >> >> On 10/3/2023 12:20 PM, Vignesh Raghavendra wrote: >>> >>> >>> On 27/09/23 08:03, Keerthy wrote: >>>> Patch adds the ESM instances for j784s4. It has 3 instances. >>>> One in the main domain and two in the mcu-wakeup domian. >>>> >>>> Signed-off-by: Keerthy >>>> --- >>>> arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 8 ++++++++ >>>> arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 14 ++++++++++++++ >>>> 2 files changed, 22 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >>>> index efed2d683f63..26dc3776f911 100644 >>>> --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >>>> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >>>> @@ -1568,4 +1568,12 @@ >>>> firmware-name = "j784s4-c71_3-fw"; >>>> status = "disabled"; >>>> }; >>>> + >>>> + main_esm: esm@700000 { >>>> + compatible = "ti,j721e-esm"; >>>> + reg = <0x00 0x700000 0x00 0x1000>; >>>> + ti,esm-pins = <688>, <689>, <690>, <691>, <692>, <693>, <694>, >>>> + <695>; >>>> + bootph-pre-ram; >>> >>> Similar to other nodes in this file, here and elsewhere use >>> bootph-all >> >> Okay. I will switch to bootph-all > > Is'nt esm configuration just needed during pre-ram? This is needed only the R5 SPL phase. So bootph-pre-ram looks better suited. https://u-boot.readthedocs.io/en/latest/develop/driver-model/of-plat.html Vignesh, This ESM nodes should be bootph-pre-ram. I will keep that flag as is. Best Regards, Keerthy > >> >>> >>> >>>> + }; >>>> }; >>>> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi >>>> index 4ab4018d3695..a7b5c4cb7d3e 100644 >>>> --- a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi >>>> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi >>>> @@ -700,4 +700,18 @@ >>>> status = "disabled"; >>>> }; >>>> }; >>>> + >>>> + mcu_esm: esm@40800000 { >>>> + compatible = "ti,j721e-esm"; >>>> + reg = <0x00 0x40800000 0x00 0x1000>; >>>> + ti,esm-pins = <95>; >>>> + bootph-pre-ram; >>>> + }; >>>> + >>>> + wkup_esm: esm@42080000 { >>>> + compatible = "ti,j721e-esm"; >>>> + reg = <0x00 0x42080000 0x00 0x1000>; >>>> + ti,esm-pins = <63>; >>>> + bootph-pre-ram; >>>> + }; >>>> }; >>> > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel