From patchwork Tue Sep 8 17:45:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 11763781 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 55879618 for ; Tue, 8 Sep 2020 17:46:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0E3872064B for ; Tue, 8 Sep 2020 17:46:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wfkH/OkT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="cCKtvMaw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0E3872064B Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=K9odspqK99ZZ1gevV58RgOt8Yvu5iy5zMbA0KQNobSY=; b=wfkH/OkT/7tdSL+ym/2TfYdEaL LQQbts8QGgwqP1WD+g4PTo8oGorActHeaFzmV4G4BxgzJUx5GvrZi+VfR0x6gU+Drzl2qKpuXIH+T rZhr5N9Ocw4rhxghNie9KwQ878qSwH8+wx7+kgzL81/LKK95rDsU72zN3CjlWrZY6Gag4WNEVXWCf kc9I8IEHJpJRK65FsIHNniQD61gsHx3JkzuUwZWzdHd8SAx9lKvlvejGUCjKMtq7qzFywxSbZOsUv H96VT0jcb8VmCLNq6Vl+4Ln4Xru4J71PQvajY1U13RAbFGgXejZrcAUGO1chn3y1dasF6nDekaFAR DixntssQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFhh9-0007dj-Pg; Tue, 08 Sep 2020 17:46:15 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFhh6-0007dD-PB for linux-arm-kernel@lists.infradead.org; Tue, 08 Sep 2020 17:46:13 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 088Hk88t100266; Tue, 8 Sep 2020 12:46:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1599587168; bh=KE3LbvtjmHv/vDgNGPxvvQuZCln41PZaxww0wu2kX50=; h=From:To:CC:Subject:Date; b=cCKtvMawLshc8BLA6VAdfMZ0h2ASpYArAHqDGzX4fDE48Y8LJ5ECo+RiyNnuwDrOb wqtm8VDL9coKFsocgV/reyIjVYv+DSIusFLvtKLUAZnLnEMTT5v7ZJHc0LazUFS0a5 l2ibPAklthcYfces9jFEdf/3IAW/Gaq6q5DPolvk= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 088Hk8m6099103 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 Sep 2020 12:46:08 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 8 Sep 2020 12:46:08 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 8 Sep 2020 12:46:08 -0500 Received: from fllv0103.dal.design.ti.com (fllv0103.dal.design.ti.com [10.247.120.73]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 088Hk8Ta065276; Tue, 8 Sep 2020 12:46:08 -0500 Received: from localhost ([10.250.34.59]) by fllv0103.dal.design.ti.com (8.14.7/8.14.7) with ESMTP id 088Hk89l097392; Tue, 8 Sep 2020 12:46:08 -0500 From: Suman Anna To: Bjorn Andersson , Rob Herring , Mathieu Poirier Subject: [PATCH v4 0/4] TI K3 R5F remoteproc support Date: Tue, 8 Sep 2020 12:45:52 -0500 Message-ID: <20200908174556.21277-1-s-anna@ti.com> X-Mailer: git-send-email 2.28.0 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-20200908_134612_917578_98D0A070 X-CRM114-Status: GOOD ( 16.14 ) X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [198.47.19.142 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [198.47.19.142 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Lokesh Vutla , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi All, The following is v4 of the TI K3 R5F remoteproc driver series supporting all the R5F processor clusters/subsystems on TI AM65x and J721E SoCs. Please see the v1 cover-letter [1] for the features supported on these R5F processors. This series is a rebased version on top of the latest v5.9-rc baseline and includes very minor fixes w.r.t v3. The previous K3 DSP dependencies are now available in mainline kernel. Please see the individual patches for the delta differences (Only patches 1 and 2 updated). Bjorn, This series is only waiting on bindings ack and the conclusion on the bindings discussion from v2 [4] on which I haven't seen any forward progress on this despite all the clarifications. I do not expect any changes even w.r.t System DT, and we can't really have a common binding between TI and Xilinx R5Fs. How can we take this series forward? It is blocking us to get the various usecases that leverage the remoteprocs upstream. regards Suman [1] R5F v1: https://patchwork.kernel.org/cover/11456367/ [2] R5F v2: https://patchwork.kernel.org/cover/11632993/ [3] R5F v3: https://patchwork.kernel.org/cover/11679327/ [4] https://patchwork.kernel.org/patch/11632997/ Suman Anna (4): dt-bindings: remoteproc: Add bindings for R5F subsystem on TI K3 SoCs remoteproc: k3-r5: Add a remoteproc driver for R5F subsystem remoteproc: k3-r5: Initialize TCM memories for ECC remoteproc: k3-r5: Add loading support for on-chip SRAM regions .../bindings/remoteproc/ti,k3-r5f-rproc.yaml | 281 ++++ drivers/remoteproc/Kconfig | 13 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/ti_k3_r5_remoteproc.c | 1395 +++++++++++++++++ 4 files changed, 1690 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml create mode 100644 drivers/remoteproc/ti_k3_r5_remoteproc.c