From patchwork Wed Aug 30 07:26:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 13369980 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 B53E2C83F01 for ; Wed, 30 Aug 2023 07:27:54 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Oo0rNvoHxtIjrfeR3MYkTJ2+WdR8BvKNfe4l6fQYloo=; b=jqd3bvxD3jkJ5m FjgIVAV0HYMw3Ll5fT4jBhwvz9Js7lBoE5VdHrFR6Vzfr2BXxWvRafg5uf1OHhIwwBNxuxBKe/u2Y 5fL828D46NrIo8FxXMBJYH3OE0BAngOL/pSU0aGc/rFSECxiFWbb3xF+g9+Ic0B3YnE8+v1dGWiMg eQfDgZt6GmXeME35b8yUVhK5o/SmluSHNd61LRBtQEd+doCOGZ44QP4tIogkIAp+Dmf7+znRlIk7B 3AqH7SHCwponDJsw80KTkLmD182umVGmHIOuQN4AnFrF4KQvAUkt5GY9CII/h9QkOnhFswff4GqxB WzsaemYU5LMfQpFUL1qA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbFbj-00Cza5-1f; Wed, 30 Aug 2023 07:27:19 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbFbg-00CzYn-1a for linux-arm-kernel@lists.infradead.org; Wed, 30 Aug 2023 07:27:17 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 37U7R5gi101375; Wed, 30 Aug 2023 02:27:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1693380425; bh=yjj/DRJ+owa+QmrJdEDHY3LLteR+DaXWiK8Q0siZ6OE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=i1s6dQeMMHCsrsyFUVdy1Ugd/GmgVnOXZ4RURsCujL+Oea2Q6zejp0ktNP3PjlFpM +JDqpaZavRxUMZiEVbk61FkQNDnFeMbPeq2QcYsZnwHJLFoimugS1WdOT2evBhGzmC DL+gV7ZdTjGVCfS/3FT2y6qpmusraoJOyzOmkIEM= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37U7R5Cb101962 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 Aug 2023 02:27:05 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 30 Aug 2023 02:27:04 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE110.ent.ti.com (10.64.6.31) 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; Wed, 30 Aug 2023 02:27:04 -0500 Received: from localhost.localdomain (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 37U7QuLI125116; Wed, 30 Aug 2023 02:27:01 -0500 From: Keerthy To: , , , , , CC: , , , Subject: [PATCH 1/5] arm64: dts: ti: k3-j721s2: Add ESM instances Date: Wed, 30 Aug 2023 12:56:18 +0530 Message-ID: <20230830072622.19539-2-j-keerthy@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230830072622.19539-1-j-keerthy@ti.com> References: <20230830072622.19539-1-j-keerthy@ti.com> MIME-Version: 1.0 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-20230830_002716_720228_729FB7B2 X-CRM114-Status: GOOD ( 10.16 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Patch adds the ESM instances for j721s2. 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-j721s2-main.dtsi | 6 ++++++ arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index ed79ab3a3271..87841bcc509d 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -1507,4 +1507,10 @@ clocks = <&k3_clks 346 1>; status = "disabled"; }; + + main_esm: esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x700000 0x0 0x1000>; + ti,esm-pins = <344>, <345>; + }; }; diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi index e7dd947a1814..e8c6c27c2e2c 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi @@ -652,4 +652,16 @@ power-domains = <&k3_pds 154 TI_SCI_PD_SHARED>; #thermal-sensor-cells = <1>; }; + + mcu_esm: esm@40800000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x40800000 0x0 0x1000>; + ti,esm-pins = <95>; + }; + + wkup_esm: esm@42080000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x42080000 0x0 0x1000>; + ti,esm-pins = <63>; + }; };