From patchwork Tue Jun 30 02:49:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 192045 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp3424295ilg; Mon, 29 Jun 2020 19:49:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybSedfEKyCiCZDZSJ6kRBJjDHB4DdOvkt3Xdezhkmvcw8Kr/PuImXU4JPqNrkqJS5BenCH X-Received: by 2002:a05:6402:3048:: with SMTP id bu8mr21353355edb.367.1593485398503; Mon, 29 Jun 2020 19:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593485398; cv=none; d=google.com; s=arc-20160816; b=VasLTfN4qPkZvZnB6j8rPYqs5Hly8FV2B8Egpd2Mf1nWawaIdUB4FSKVYyQ+FYoRFw 1DNkw9TCi4sz4d12XLyymIQL1xbblmrUaVcCzEJ6axvWt5V002FzWCZzM+kHzPFUeQn/ cYMZMWWGQ2reMMNZgbqe9UxPhTJS5K64/Qao483FtiDU2a1Hoh/5Ts6M4qSvvAO4n/6Q Mr1qLbWInpiCrzyOQHK1XkIcSOW32WSzpAwAxAq4qHT6V964WScdYXyfppCIlMD6m7T0 9Z0RMMYGwBL2qSWby5A9TCTBVPAqxETadk+q0dsbzWaEN+AA90DpvPhV0t2z2tSZu+Nx ei9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=l3dJNMTnCJS2Tr9Fc2NBXAUcVx30a2Jtr1XirbH4bSQ=; b=syf2ytZdUgOQbkyJ/wNeeRhODXTX0pXu1S5kpUh3JDUrl0t7P6ycKNP6uEuz0teKJK CbpWHOJxHSscu3pkw5isYI4qTj1Rb/UuihYI12pU12x8s49K9TOAz4RUELB6FX6t/Oq8 mSUEG685o2K7a5lPMvE8zRB9quX4XaRifK9ZgwunOMM7MirekcjUF8iap8CGjntX3xU2 iIQvGLpqahlz2EfRclGUxSfvIFcQunkcfbtPPO69smoK0FZkLV1BnziWVl1nak8kvnJs Wk+aIUruV96IlFElR2K6YeBMul7FmP3y1YRgLiYoJh0WTTHM2+XdwzedxlEw2/bzZK7v Zpig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=uynyKw0k; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w12si918860eji.586.2020.06.29.19.49.58; Mon, 29 Jun 2020 19:49:58 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=uynyKw0k; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728701AbgF3Ctj (ORCPT + 6 others); Mon, 29 Jun 2020 22:49:39 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54410 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728665AbgF3Cti (ORCPT ); Mon, 29 Jun 2020 22:49:38 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05U2nPWg105154; Mon, 29 Jun 2020 21:49:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593485365; bh=l3dJNMTnCJS2Tr9Fc2NBXAUcVx30a2Jtr1XirbH4bSQ=; h=From:To:CC:Subject:Date; b=uynyKw0k0VUCxZ8VoF8w9a5ttM0x+3lkNoX3+8nbl9b8VCUX/xl2sx3fFFxrhO5Zl ooL9/3dSSZVmBSa790/YlF0ul2FU6N1qBrhgRJrAZNROK25XX0sYRSmoVkGMJaElE8 W3RaSDFOgI14SBY+2YuEZuohJnFxAyxZEXSYG9jE= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05U2nPS5048597 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 29 Jun 2020 21:49:25 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) 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; Mon, 29 Jun 2020 21:49:25 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE112.ent.ti.com (157.170.170.23) 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; Mon, 29 Jun 2020 21:49:25 -0500 Received: from fllv0103.dal.design.ti.com (fllv0103.dal.design.ti.com [10.247.120.73]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05U2nPFt075189; Mon, 29 Jun 2020 21:49:25 -0500 Received: from localhost ([10.250.48.148]) by fllv0103.dal.design.ti.com (8.14.7/8.14.7) with ESMTP id 05U2nPFT029139; Mon, 29 Jun 2020 21:49:25 -0500 From: Suman Anna To: Bjorn Andersson , Mathieu Poirier , Rob Herring CC: Lokesh Vutla , , , , , Suman Anna Subject: [PATCH v2 0/4] TI K3 R5F remoteproc support Date: Mon, 29 Jun 2020 21:49:18 -0500 Message-ID: <20200630024922.32491-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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi All, The following is v2 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. The patches are based off 5.8-rc1 and now sit on top of the v3 K3 DSP C66x and C71x remoteproc driver series [2][3] (v1 had R5F followed by DSPs). The v2 version now only has 4 patches instead of the 7 patches in v1. The first 2 patches from v1 are already part of 5.8-rc1 and the third patch is moved to the K3 DSP C66x series [4]. The following is the summary of the main changes in v2: - Reworked bindings patch (patch #1) to leverage a new common ti-sci-proc yaml bindings file introduced in the K3 DSP C66x series. - K3 R5F remoteproc driver revised to leverage more devm_ API and address all Mathieu's comments. Please see the individual patches for detailed delta differences. regards Suman [1] R5F v1: https://patchwork.kernel.org/cover/11456367/ [2] C66x v3: https://patchwork.kernel.org/cover/11602331/ [3] C71x v3: https://patchwork.kernel.org/cover/11602345/ [4] https://patchwork.kernel.org/patch/11602329/ 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 | 278 ++++ drivers/remoteproc/Kconfig | 13 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/ti_k3_r5_remoteproc.c | 1396 +++++++++++++++++ 4 files changed, 1688 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml create mode 100644 drivers/remoteproc/ti_k3_r5_remoteproc.c -- 2.26.0