Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp394824rdb; Thu, 5 Oct 2023 08:56:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFttoaFS0Xnol8av844euNcMfJozA7jSFNwB63zrD4yEnJgEmoNXxGfOw6bMqMS8j/DtW5j X-Received: by 2002:a05:6808:bcc:b0:3ab:8295:f2f1 with SMTP id o12-20020a0568080bcc00b003ab8295f2f1mr6971191oik.45.1696521381374; Thu, 05 Oct 2023 08:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696521381; cv=none; d=google.com; s=arc-20160816; b=Z6lduE/tEty1N8fjR+0W42cOg7QKyr0fVFgUgiyRg5bGdcvBnKqKjB91CCtkR/fA1R lWNPES0BT388GP5ghp89p+FMIydGft9LlravQsiwZod6nwICpmoGVh8NYM2qGn4TkxUq D+gm6UrwPAkOGxPQdwDbBTlUZUrGf3Td/Whjb3ufw97y68E8lvuMfrYzEZeG/JNo3X4z 98SHu4pXNG6PlwI2c3oroqLaaEDgFeiIYvdaUQBdrBqsjZ9KfWATMd0YsP+Hy+cUZcfz ChzWwpPLMDytTglyQv2c6bwOFZ14+OGqxfObXviwetzOjEFZAyEfQSLKL9nPJEMhp3Tg hiyA== 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=Md93/u62cMUvzWDYlTUnTZn/X6A+6NLcZw9TJhnVGOs=; fh=+3JeckBKiT9TlC4jZRoNhm4ajSbJVCeGqiII8QZuAIg=; b=yLiFEkMAfvr9cWo1o3hsgEUp+b6mKejWsB7g69zo6vMgGnU6cXjkNaJidbbFKGI/ZT xSMSGAK6z+pxNffdus8qe03gR9VixWAxITXZHgrB8gUQPndzAI+j0yb45bzBjX6cO5Pp 1ElTZ7awZz3fRsjQgfL3f817BiaGTsuQ2SxNW/sGPXjxoMU4maSTPu97NJnPXA3CeyUN RkVTCa5ZjphypPqH+Mc2DYn5G3ko0Wxp0TvM7ac+unFsNvaztZnsk27Ejsuy+4cotNX0 KXuojknuk25Cm/RcCutKH/b7PKfLRkFB9jj9ELT/KehX7E7aGYGgMTOm3R2kyTKLVUNA DIow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hHIuIw8b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id y18-20020a63b512000000b005897813624fsi851323pge.476.2023.10.05.08.56.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hHIuIw8b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id BF46C8405326; Thu, 5 Oct 2023 08:55:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234663AbjJEPuT (ORCPT + 99 others); Thu, 5 Oct 2023 11:50:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234868AbjJEPtR (ORCPT ); Thu, 5 Oct 2023 11:49:17 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6C0810195; Thu, 5 Oct 2023 08:09:01 -0700 (PDT) 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> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 05 Oct 2023 08:55:06 -0700 (PDT) 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; >>>> + }; >>>> }; >>> >