Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp966736ybk; Wed, 20 May 2020 17:12:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxK6+NIxTnKD0R5LcVUJRJSpzbUYg6kB9K2gIFh60pQh/ZcylSeSkPPqwOTAGyeP9/2sbB8 X-Received: by 2002:a17:907:2649:: with SMTP id ar9mr1307617ejc.375.1590019970232; Wed, 20 May 2020 17:12:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590019970; cv=none; d=google.com; s=arc-20160816; b=XbLmPoiX49ThHvn8+wycf0ahGz+xXdamMQoEc9vbubj1Ww3lgKF/nb211C6pXTkiFR RwYtTr0kyG07GQCWhYvj+kHF+jtt62Y4ruktN73D88CLzPg07NIQJ39qkkYcyIoeDe82 1WMm+7ON6kSPW94M8kRDvCSGSQcfqDqhZ4FAgj9tu01++8UTe9g9BIAAPu5smZ4tTdNf k7v7lSwDcYMa2r0piBeIDn8VGTA+mhcsCTuZ3ljgtOF7Q3HEkwy1bA5eqstbs1zuOJin SNFEVJf7eBVyknq4MV679y3unIm84S8Cjlwqzmg5tj+0dfpnqioEB02+Ne6VIaapOu12 Lfkw== 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=bxxyF39bG20vkcm18FoVVnaFF3ZtcaFk7MRVd2l1kI0=; b=opzKXv5Oodok+Oqey+9v4cjLFJ+GZKSglvCIYr/Z0dbEHLhPKClPsmjmtcw+77Xc8y ywQjR60bZ23OjbM5H76vfrzO1QtCpc5FqhgJ1PtTPypcORBwk7R8yAMXDmCpy0t3zwTM v4bwkK6fzzh+qRoBOnkEHd4l1IRafE2Pw2AO6SN9HGhCPPB2NCH/QSLkHgtndzLiduNc J//lF7MQ45D7xeRSnE+76jD3s3yY2j1Eaeg4pWCZSeuCTgd0liIzqGolYDLu6vYFIhnS KikCqKWbeoUvMTkZtaG4KyfvZzaEHr54XEjbSwzyBcc5k9hR/pLT1bwY/TJbAU52yy7I SUHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="VSZRfu/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 q6si2393415edh.532.2020.05.20.17.12.13; Wed, 20 May 2020 17:12:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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="VSZRfu/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726851AbgEUAKZ (ORCPT + 99 others); Wed, 20 May 2020 20:10:25 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:54944 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726830AbgEUAKX (ORCPT ); Wed, 20 May 2020 20:10:23 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 04L0ABHw119697; Wed, 20 May 2020 19:10:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1590019811; bh=bxxyF39bG20vkcm18FoVVnaFF3ZtcaFk7MRVd2l1kI0=; h=From:To:CC:Subject:Date; b=VSZRfu/3WcDFrXomQ64o4chhGx9XGnBogVSR5I1sND692cEzFxyHbIQyKZYzZQ7y6 8It4fxYlyjUiJ6QPsJKU3D5zSBhmtjCRIWToU583rDfVrErApmzQq1D/ZoBo84H+xp 7Z2Z4CI+CWx1613nQlcCAVVbPS8lBOq4n6+DgHPo= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 04L0ABjx023423 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 May 2020 19:10:11 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 20 May 2020 19:10:11 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE111.ent.ti.com (157.170.170.22) 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, 20 May 2020 19:10:11 -0500 Received: from lelv0597.itg.ti.com (lelv0597.itg.ti.com [10.181.64.32]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 04L0ABum003652; Wed, 20 May 2020 19:10:11 -0500 Received: from localhost ([10.250.48.148]) by lelv0597.itg.ti.com (8.14.7/8.14.7) with ESMTP id 04L0ABdd084874; Wed, 20 May 2020 19:10:11 -0500 From: Suman Anna To: Bjorn Andersson , Rob Herring , Mathieu Poirier CC: Lokesh Vutla , , , , , Suman Anna Subject: [PATCH v2 0/4] TI K3 DSP remoteproc driver for C66x DSPs Date: Wed, 20 May 2020 19:10:02 -0500 Message-ID: <20200521001006.2725-1-s-anna@ti.com> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, The following is v2 of the K3 DSP remoteproc driver supporting the C66x DSPs on the TI K3 J721E SoCs. The patches are based on the latest commit on the rproc-next branch, 7dcef3988eed ("remoteproc: Fix an error code in devm_rproc_alloc()"). v2 includes a new remoteproc core patch (patch 1) that adds an OF helper for parsing the firmware-name property. This is refactored out to avoid replicating the code in various remoteproc drivers. Please see the individual patches for detailed changes. The main dependent patches from the previous series are now staged in rproc-next branch. The only dependency for this series is the common ti-sci-proc helper between R5 and DSP drivers [1]. Please see the initial cover-letter [2] for v1 details. regards Suman [1] https://patchwork.kernel.org/patch/11456379/ [2] https://patchwork.kernel.org/cover/11458573/ Suman Anna (4): remoteproc: Introduce rproc_of_parse_firmware() helper dt-bindings: remoteproc: Add bindings for C66x DSPs on TI K3 SoCs remoteproc/k3-dsp: Add a remoteproc driver of K3 C66x DSPs remoteproc/k3-dsp: Add support for L2RAM loading on C66x DSPs .../bindings/remoteproc/ti,k3-dsp-rproc.yaml | 190 +++++ drivers/remoteproc/Kconfig | 13 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/remoteproc_core.c | 23 + drivers/remoteproc/remoteproc_internal.h | 2 + drivers/remoteproc/ti_k3_dsp_remoteproc.c | 773 ++++++++++++++++++ 6 files changed, 1002 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml create mode 100644 drivers/remoteproc/ti_k3_dsp_remoteproc.c -- 2.26.0