From patchwork Fri Jul 17 23:47:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 11671461 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 EC6F0138C for ; Fri, 17 Jul 2020 23:50:02 +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 C44EC20717 for ; Fri, 17 Jul 2020 23:50:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rtbEeWhm"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="utfNXl4Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C44EC20717 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=bitqdl+J6BWwKNu3SG8mgis/XwYbQSdiO+5lWdjSQE0=; b=rtbEeWhmGuO6AlQSvX3Ev31wlX DGrZuozEHKPN3rM8qRILHgRB2ga0k0EunRSVw2Kk1UvHNPxL0G76kQSaTlg9CiqLcszDjr/ihGwgz YzuLWTU+LsVQi3U7ghXO6i+XAkYbv1mR7xSbbGFab5YmzqQFPz42vDWWEdDiRY6RBO3KNKS3Y6dAj F6nu6cxYLwtcFrpVWnj+Kq/WfLn/M88kQ7S5m5i/B5rGWLaV7s8kXLRcIUQ57yE6Q+r6qizplMco1 0QDM2Mu1xrMxcp8rHRAhQhUBpNsntZutr39iCk7hW5+IyMx6rPU+XR5bfNvSYgEERdmleOutGt/40 7muuZUqQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwa5N-0007LX-Cc; Fri, 17 Jul 2020 23:48:13 +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 1jwa5K-0007Jn-SB for linux-arm-kernel@lists.infradead.org; Fri, 17 Jul 2020 23:48:11 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06HNm6S5083779; Fri, 17 Jul 2020 18:48:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1595029686; bh=4TAey2VvFLXj0C9s/GRiaccjT5Iz0zlLeCg6jzFZ23I=; h=From:To:CC:Subject:Date; b=utfNXl4ZAeOe7W2TiejJ5kgkHRaEb8GtNBmmu1WXMYURChauNBTFuehb+ms4bA/hw Pv7qMMVl2bjuAvUjC0XL+XxebjCWTZossamAE56cS6Zm9XEzuDu8O41Ih3iUw4AWWb MHQI2ZalVEGYXLxBmIJEFWOGf07yK0FsJHvKi8ks= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 06HNm6iU062173 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 17 Jul 2020 18:48:06 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 17 Jul 2020 18:48:06 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE113.ent.ti.com (10.64.6.34) 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; Fri, 17 Jul 2020 18:48:06 -0500 Received: from lelv0597.itg.ti.com (lelv0597.itg.ti.com [10.181.64.32]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06HNm5Q4037386; Fri, 17 Jul 2020 18:48:05 -0500 Received: from localhost ([10.250.34.57]) by lelv0597.itg.ti.com (8.14.7/8.14.7) with ESMTP id 06HNm5jl108241; Fri, 17 Jul 2020 18:48:05 -0500 From: Suman Anna To: Bjorn Andersson , Rob Herring , Mathieu Poirier Subject: [PATCH v4 0/6] TI K3 DSP remoteproc driver for C66x DSPs Date: Fri, 17 Jul 2020 18:47:54 -0500 Message-ID: <20200717234800.9423-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-20200717_194811_048847_4EDA4247 X-CRM114-Status: GOOD ( 13.80 ) 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 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [198.47.23.248 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -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 K3 DSP remoteproc driver supporting the C66x DSPs on the TI K3 J721E SoCs. The patches apply cleanly both on v5.8-rc1 as well as laster commit on the master branch. This series is largely unchanged, addressing various minor comments from Mathieu and Rob. The ti,k3-sci-proc bindings patch (patch #3) is the only patch without an Ack from v3. Following are the changes in v4: - Fixed Rob's review comments on ti,k3-sci-proc.yaml - Moved the ti_sci_protocol.h header file from ti_k3_dsp_remoteproc.c to ti_sci_proc.h - Replaced the TI http link with https following similar changes submitted recently - Removed an unnecesary addr check before iounmap Please see the individual patches for further delta differences. v3: https://patchwork.kernel.org/cover/11602331/ v2: https://patchwork.kernel.org/cover/11561787/ v1: https://patchwork.kernel.org/cover/11458573/ C71x v3: https://patchwork.kernel.org/cover/11602345/ Hi Bjorn, This series is ready to be picked up for 5.9 merge window. Please also pick the C71x v3 series on top of this, there are no pending comments on that one and is waiting for this series. regards Suman Suman Anna (6): remoteproc: Introduce rproc_of_parse_firmware() helper remoteproc: k3: Add TI-SCI processor control helper functions dt-bindings: remoteproc: Add common TI SCI rproc bindings 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 | 139 ++++ .../bindings/remoteproc/ti,k3-sci-proc.yaml | 48 ++ 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 | 771 ++++++++++++++++++ drivers/remoteproc/ti_sci_proc.h | 104 +++ 8 files changed, 1101 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-sci-proc.yaml create mode 100644 drivers/remoteproc/ti_k3_dsp_remoteproc.c create mode 100644 drivers/remoteproc/ti_sci_proc.h