From patchwork Wed Jul 22 23:55:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 11679337 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 58AE9913 for ; Wed, 22 Jul 2020 23:57:35 +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 3114D20727 for ; Wed, 22 Jul 2020 23:57:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pv+53cIr"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="To56uubN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3114D20727 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=T+Hw9cbi/aY1wg+x/br4u2sEfyIK4+8JAWfzFrgRkjY=; b=pv+53cIrCkXJcYSZg+FsyUlzbQ dutq81r4AAtDP4QZMm2vHNAtKAzvdy1LoqudG+IhiYAlg70Q88GZfv3QaDt1j9Uq8wuKtY7U3yH7W /ftF4QMkO9h1pf/53PEWB2EjcIOcO1fddjTBOoJGkFwkrB8WaBLixub85bsR3NLgd0T3/XVLwuC1K PxXCVM/nlN5iRRBluzcLS+Ns/H50bIYmK0q9PXAyNeyAFH8Z3QSg+cBbRs5CS0k+7Y4fTX+9D+PEm 6ROm83m+I3zBOGitP8kiAuaKV/OPp+QBoMDIJ5INB9FJ6UXWEEFfGY7FIHpudAbU0bTNg0ffH6QqD Td9z483g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyOap-0007m4-1g; Wed, 22 Jul 2020 23:56:11 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyOag-0007jZ-Nf for linux-arm-kernel@lists.infradead.org; Wed, 22 Jul 2020 23:56:03 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06MNtwsG014770; Wed, 22 Jul 2020 18:55:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1595462158; bh=v0VRddPclOlei0BW7bJOnJe3NxEuTUvl0Xe3+dkijHY=; h=From:To:CC:Subject:Date; b=To56uubNhecdnY7N7N0RiBNcLyPPbzGnvQxQGGtM3w8dKRaktjFcajeuh86kI7+P1 Dy0Ay3si+iZk1VFgRCZXPJGWskrVj0vOFEiY7bFYqTSgKZ1K6y8Z4SnlhDEswDhnwG jw8FzZzEt9LcTfgxZpQ3XGrkZuKixMK60gJxJZd4= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 06MNtwDc094112 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Jul 2020 18:55:58 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) 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.1979.3; Wed, 22 Jul 2020 18:55:58 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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.1979.3 via Frontend Transport; Wed, 22 Jul 2020 18:55:58 -0500 Received: from lelv0597.itg.ti.com (lelv0597.itg.ti.com [10.181.64.32]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06MNtwMo109422; Wed, 22 Jul 2020 18:55:58 -0500 Received: from localhost ([10.250.34.248]) by lelv0597.itg.ti.com (8.14.7/8.14.7) with ESMTP id 06MNtwML072336; Wed, 22 Jul 2020 18:55:58 -0500 From: Suman Anna To: Bjorn Andersson , Mathieu Poirier , Rob Herring Subject: [PATCH v3 0/4] TI K3 R5F remoteproc support Date: Wed, 22 Jul 2020 18:55:50 -0500 Message-ID: <20200722235554.7511-1-s-anna@ti.com> X-Mailer: git-send-email 2.26.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-20200722_195602_884200_1961F372 X-CRM114-Status: GOOD ( 14.05 ) 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.23.248 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [198.47.23.248 listed in wl.mailspike.net] -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_SIGNED Message has a DKIM or DK signature, not necessarily valid -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 v3 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 almost ready and awaiting the conclusion on the bindings discussion from v2. The patches are rebased and slightly revised versions of v2 to sit on top of the v5 K3 DSP C66x [2] and v3 C71x remoteproc driver series [3]. Following are the main differences from v2: - The bindings patch (patch #1) is revised to move away from using the ti-sci-proc yaml bindings file to the generic refactored ti,k3-sci-common.yaml bindings patch introduced in the latest K3 DSP C66x series. - Minor updates to the R5F remoteproc driver (patch #2) fixing all the pending review comments from Mathieu Please see the individual patches for detailed delta differences. regards Suman [1] R5F v1: https://patchwork.kernel.org/cover/11456367/ [2] R5F v2: https://patchwork.kernel.org/cover/11632993/ [3] C66x v5: https://patchwork.kernel.org/cover/11676819/ [4] C71x v3: https://patchwork.kernel.org/cover/11602345/ 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