From patchwork Fri Aug 30 16:17:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beleswar Prasad Padhi X-Patchwork-Id: 13785322 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 315DFCA1009 for ; Fri, 30 Aug 2024 16:21:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version: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:In-Reply-To:References:List-Owner; bh=bd6znF1DBuXuP06gRhAIUJqJAdeFMRW6+u3yW+JnL2o=; b=dTEwRWenYmMu8q0DHoDju1cyRq V/+5VbMkDxMKcLIx+v8E9Gi4ojFEi9ClWLVfSHvlJtJzWVOBi4lRPSuwzwWH4bq9XFke+WzxmxJKP 8z5JHhnOATSUKu1SaqrJDwLLYVmAMQeT3jrau8Z1GKRhKb5XNK1xt8GcsU+LjZp9SqW9SrjP6FdO1 jI+wkJABkEVb++byrko9y7/idk6gCb6YOSrC8ryalJhcVv5lw1WHUAH7lTQgOgR0ANezhL4OuOLUX hMXqk312WfBtFnFIclzskRQobyJQ9Ke83p4r+uihL+iSIyuByzMUIISMLI4GaAF9jwID94e6/OmY9 8r/ZZz1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sk4NO-00000006zpN-2dKg; Fri, 30 Aug 2024 16:21:30 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sk4Js-00000006z0u-3hia for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2024 16:17:54 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 47UGHljs011668; Fri, 30 Aug 2024 11:17:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1725034667; bh=bd6znF1DBuXuP06gRhAIUJqJAdeFMRW6+u3yW+JnL2o=; h=From:To:CC:Subject:Date; b=wHioC93j+bkMlBOe7g8V19sg0mbhV9tpgdmzoFOYqP4t46h8VGzzIqLkURXucB8x4 +QXH6/Tk4HRZjV2FbgzLgcrnEZiGXbZmOuO6ABQaJC0stU00U4Wq5PdXIvJijXh0uy 5rnK0o3lX3DGOKJcjDZR5Frn0hqP5vUy9ZK4s1xE= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47UGHlVR064110; Fri, 30 Aug 2024 11:17:47 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 30 Aug 2024 11:17:47 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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; Fri, 30 Aug 2024 11:17:46 -0500 Received: from uda0510294.dhcp.ti.com (uda0510294.dhcp.ti.com [172.24.227.151]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47UGHhRa103243; Fri, 30 Aug 2024 11:17:43 -0500 From: Beleswar Padhi To: , , , , , CC: , , , , , , Subject: [PATCH v5 0/2] Add Remoteproc Support for TI's J722S SoCs Date: Fri, 30 Aug 2024 21:47:40 +0530 Message-ID: <20240830161742.925145-1-b-padhi@ti.com> X-Mailer: git-send-email 2.34.1 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-20240830_091753_035591_63C79F7C X-CRM114-Status: GOOD ( 11.21 ) 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 Hello All, The K3 J722S SoCs have one single-core Arm Cortex-R5F processor in each of the WAKEUP, MCU and MAIN voltage domain, and two C71x DSP subsystems in MAIN voltage domain. Thus, this series adds the DT Nodes for the remote processors to add support for IPC. This series also enables IPC on the J722S-EVM platform based on the above SoC by adding the mailbox instances, shared memory carveouts and reserving the conflicting timer nodes (as they are used by remoteproc firmware). v5: Changelog: - Collected Reviewed-by tags from Udit and Andrew given in v4 version of patch ("arm64: dts: ti: k3-j722s-main: Add R5F and C7x remote processor nodes") * Udit 1) Updated commit message to correctly reflect the host core name (A53 not A72) in patch "arm64: dts: ti: k3-j722s-evm: Enable Inter-Processor Communication" 2) Updated mbox DT node label and name to "mbox_wkup_r5_0" from "mbox_r5_0" for clarity in patch "arm64: dts: ti: k3-j722s-evm: Enable Inter-Processor Communication" Link to v4: https://lore.kernel.org/all/20240829060932.3441295-1-b-padhi@ti.com/ v4: Changelog: * Nishanth: 1) Fixed DT node properties order to put standard properties before vendor specific properties in patch "arm64: dts: ti: k3-j722s-main: Add R5F and C7x remote processor nodes" 2) Put "status" property at the end in extended DT nodes and preceded child nodes with a single blank line wherever applicable in patch "arm64: dts: ti: k3-j722s-evm: Enable Inter-Processor Communication" following kernel DTS coding style. Link to v3: https://lore.kernel.org/all/20240828112713.2668526-1-b-padhi@ti.com/ v3: Changelog: 1) Reserved conflicting Timer Nodes in k3-j722s-evm.dts file to avoid remotecore boot failures. Link to v2: https://lore.kernel.org/all/20240612112259.1131653-1-b-padhi@ti.com/ v2: Changelog: 1) Addressed Andrew's comments to refactor remotecore nodes into k3-j722s-main.dtsi file. 2) Squashed Patch 2 and 3 from V1 into Patch 2 in V2 as they were doing the same logical thing. 3) The DTBs check warnings from V1 are automatically fixed after a dt-binding patch[0] was merged in linux-next. Link to v1: https://lore.kernel.org/all/20240607090433.488454-1-b-padhi@ti.com/ [0]: https://lore.kernel.org/all/20240604171450.2455-1-hnagalla@ti.com/ Apurva Nandan (2): arm64: dts: ti: k3-j722s-main: Add R5F and C7x remote processor nodes arm64: dts: ti: k3-j722s-evm: Enable Inter-Processor Communication arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 157 ++++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 61 +++++++++ 2 files changed, 218 insertions(+)