Message ID | 20230926142810.602384-1-n-francis@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1969500vqu; Tue, 26 Sep 2023 07:45:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHrpKyHJijHqSyxS4mppm94gcCanf5JYkpmWsNYAgab/YDse+KgkixIGF596yXJyhvSmHai X-Received: by 2002:a05:6a20:42a4:b0:15e:108c:35b0 with SMTP id o36-20020a056a2042a400b0015e108c35b0mr8951499pzj.4.1695739528333; Tue, 26 Sep 2023 07:45:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695739528; cv=none; d=google.com; s=arc-20160816; b=yk5R1ftamrfA4JRGiXxOqJKK3AjIYnTHblbzttnN6SVP8sGYVO+Wg0R3bOV5n85DKz tVAAAwYj6mlpXO+MfYLKEWy5ZirGIopnaQ7IbuyczJfddF0WN3yV6Dfk8hZhgcdhIFzn VBwAHw9SGwYBiX6/RVZFGly2eNVOvj9QMrnV+KowiK+wSeM8Aex03SQt8uUS7MXIEx2Y n/6wu9kcxqLtqGk64nyj0erjZts7ZLDJI8CxGufC9v5y6vD+bsHq6LvX/kzKq8lt1qw2 cOpzRfH+EbsCRc2uf5OvkwK/tkgeTacaXGS8AON0TQC3TS4oWn6iOgBU231JNZtbSCoY o3Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Ty8xUcXtF1X5VYnnauZFR16IDDS0tlRdzyOXJ9wKHYE=; fh=3nOHBvYQhZzBlYsmVB89MJhz8WiUhmmJh013QSOV1Rs=; b=0v5O86+xIM/v/oOkMm5UAqUczwLIkHKBxyGFHC1SXPe5buOg1LbP8n3w8cvc0HwCro oP8twZATjRqfBIV4xVfmqhGfO9dHv7BN5dxjbmZh7Qm17IvHim0NjPm0xZLkfZhMFOyH R0oVR8w5kVVHIqA31ngEdKDTwlHtSXWYP/T+jFMy8ZN8hv8nAlsZOvCoWqs+zztlUUyZ xjNA5wIDUD6X/gtRirRrwQCCJO9KckHsSrpWsIV0oPaKcdFO2u439kkNjt++jjervudk noHV1PgfAR8WqcI3/LqRAzVXePp7Bu8sm5d/B6Y2lug/6GfN0v/DoZsvDTE2AoW3234C d1kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TKoVyrkI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id fa25-20020a056a002d1900b0068a676c5f2csi13451366pfb.32.2023.09.26.07.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 07:45:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TKoVyrkI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id A77F5801B39F; Tue, 26 Sep 2023 07:28:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233826AbjIZO23 (ORCPT <rfc822;pwkd43@gmail.com> + 28 others); Tue, 26 Sep 2023 10:28:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230330AbjIZO22 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 26 Sep 2023 10:28:28 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49CE5DE; Tue, 26 Sep 2023 07:28:22 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38QESFCu099221; Tue, 26 Sep 2023 09:28:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695738495; bh=Ty8xUcXtF1X5VYnnauZFR16IDDS0tlRdzyOXJ9wKHYE=; h=From:To:CC:Subject:Date; b=TKoVyrkI0sYMKWdlT8JU3dXyEf7EciN53b086/+05as6KBwMgYUPyP+GVXdWGoXv3 L6sdCPy+DxvybfE8nRuO0tX68TVn2feZoEMc9Awd3VqHXrER23jLdCgp3o9TXsCUzx fY5oWL4OAKMjipa/pCNzpUotQ5dluN3iadsg+GeI= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38QESF9f024221 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Sep 2023 09:28:15 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) 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, 26 Sep 2023 09:28:14 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE106.ent.ti.com (157.170.170.36) 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, 26 Sep 2023 09:28:15 -0500 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38QESBT0001257; Tue, 26 Sep 2023 09:28:12 -0500 From: Neha Malcom Francis <n-francis@ti.com> To: <robh+dt@kernel.org>, <conor+dt@kernel.org>, <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: <nm@ti.com>, <vigneshr@ti.com>, <kristo@kernel.org>, <n-francis@ti.com>, <u-kumar1@ti.com> Subject: [PATCH v2] arm64: dts: ti: k3-j721e-mcu-wakeup: Add MCU domain ESM instance Date: Tue, 26 Sep 2023 19:58:10 +0530 Message-ID: <20230926142810.602384-1-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 26 Sep 2023 07:28:32 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778111771897260728 X-GMAIL-MSGID: 1778111771897260728 |
Series |
[v2] arm64: dts: ti: k3-j721e-mcu-wakeup: Add MCU domain ESM instance
|
|
Commit Message
Neha Malcom Francis
Sept. 26, 2023, 2:28 p.m. UTC
Currently J721E defines only the main_esm in DTS. Add node for mcu_esm as well. According to J721E TRM (12.11.2.2 ESM Environment) [1], we see that the interrupt line from ESMi (main_esm) is routed to MCU_ESM (mcu_esm). This is MCU_ESM0_LVL_IN_95 with interrupt ID 95. Configure mcu_esm accordingly so that errors from main_esm are routed to mcu_esm and handled. [1] https://www.ti.com/lit/zip/spruil1 Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Reviewed-by: Udit Kumar <u-kumar1@ti.com> --- Changes since v1: - Udit: - expanded on commit message arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
Comments
Hi Neha Malcom Francis, On Tue, 26 Sep 2023 19:58:10 +0530, Neha Malcom Francis wrote: > Currently J721E defines only the main_esm in DTS. Add node for mcu_esm > as well. > > According to J721E TRM (12.11.2.2 ESM Environment) [1], we see that the > interrupt line from ESMi (main_esm) is routed to MCU_ESM (mcu_esm). This > is MCU_ESM0_LVL_IN_95 with interrupt ID 95. Configure mcu_esm > accordingly so that errors from main_esm are routed to mcu_esm and > handled. > > [...] I have applied the following to branch ti-k3-dts-next on [1]. Thank you! [1/1] arm64: dts: ti: k3-j721e-mcu-wakeup: Add MCU domain ESM instance commit: cd5b5c5a527b7fd25260be7e9013ee9c97efc2c0 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. [1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git -- Vignesh
diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi index 05d6ef127ba7..fa8af20c7818 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi @@ -671,4 +671,11 @@ wkup_vtm0: temperature-sensor@42040000 { power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>; #thermal-sensor-cells = <1>; }; + + mcu_esm: esm@40800000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x40800000 0x00 0x1000>; + ti,esm-pins = <95>; + bootph-pre-ram; + }; };