Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3201567pxu; Tue, 8 Dec 2020 06:13:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbtNV+R5i/yoOeJLQmyPWchTjjLtAzr6KRLubNyVRqHtMuKoMZlFbhAckYfLRBgF1/rtYd X-Received: by 2002:a17:906:2e82:: with SMTP id o2mr23892311eji.106.1607436824193; Tue, 08 Dec 2020 06:13:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607436824; cv=none; d=google.com; s=arc-20160816; b=v24hT/FqXHaaAWPxzJM/5AoJR5duIO8UmI5rgCz9KdD1Br/N1pEe7zbfzb1zZuDZF4 EsTFNiq1PtnV+uDiVKz33IJDmgurw0huz32m8ah5Vbv0QcMD9/c46glkVcB4UYSoYGJe e910x3EOCaT4v+nhA104wd72usmS5p8NVIH6+cGV/CYIzTn3n8didF2F1q9lVh2KgV+4 XQ77owN2JTkGwThpu2IKyzR6WR0KpHLR2+IPWm7YxiECwpJqTrVbLr2dK5b/NrwJJomM YpR9euSkyhXHdTc81sfPoQBcHu/SHdrOggN8nrF+saSWN3SLudEp5gJzLBIt9Kg8KhDc 8l8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=WG9wP54MrSEA3r8eccjMo3MMPcrQmj+RNEk7HB0q6IQ=; b=oo8M4VxyihB/2ZarYIjs3sG0ZcKUsUBejwDlvGRni0ZtjRarEv71pqRaqIW3lRqOV5 n8PlxsxzroCdG2xEG9zaeaaN6ugbZr3A860A9/qQDO8pQVhAUKj7X2GeviWxM/Tgcf93 x1KIlwPRFxIQaoBlgWxjJC3YiGLYQMt5MlbMFdleGch2t/ol7I+ELzEPVjnxZcsZZdOo kRTcvyA88twGPICqg15E/Y6iMb73yHEBjIsf4a47mp35/xLYIv8zJy1YfxqV2SePKrOO IYBaW52n7bxyOL7a9z/gX8KkgZPc4u4mgbEvxVHG8RbVOLsBPe/2+pcGBeEusjxGH/Ts sDhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tLSv5kqE; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si10297920edn.233.2020.12.08.06.13.05; Tue, 08 Dec 2020 06:13:44 -0800 (PST) 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=@linaro.org header.s=google header.b=tLSv5kqE; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729461AbgLHOLV (ORCPT + 99 others); Tue, 8 Dec 2020 09:11:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729252AbgLHOLU (ORCPT ); Tue, 8 Dec 2020 09:11:20 -0500 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05679C0613D6 for ; Tue, 8 Dec 2020 06:10:40 -0800 (PST) Received: by mail-lj1-x243.google.com with SMTP id f11so7701365ljn.2 for ; Tue, 08 Dec 2020 06:10:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WG9wP54MrSEA3r8eccjMo3MMPcrQmj+RNEk7HB0q6IQ=; b=tLSv5kqER7QrODTRcifV8nGuQ11SV83y9ngu95JJG1ccgBn7uOzsiNH/gRKrLoWrRv TEBWSfZ4QKCf48OwWD0BefaBs6ImB3yLobss+Rw3PXHLQLK825uCoWEvmMw2cDb7rbpt DqlDCVLGCXG2lBs/IPs4Ma8WtYast15jvLRFh0i5iETgZOKnvym0MGi+4xzCBY6V3gQ2 iyBmye15tC2+vlGmSymOs7hrGdpoFtcJi4JnyYU0n9Q5+/E6/tLYvsmcqQUwAFyIAYTt /5GKTV9EWdpadvOXoDEB7baIqGWdt4GVCxjnYv9G8euvEbUCWArSYSf5y+OaFVVFFSRG nbfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WG9wP54MrSEA3r8eccjMo3MMPcrQmj+RNEk7HB0q6IQ=; b=JuDZYW1DGH3Ii8bzMeALwinQprh48COOjWRrAg3DOiBUZsoakTJgovjXXhH2M+AEkq zZi9g4aWwq1zuo5kDIbnrLQYCVxR+Cl20468T0MQaV+6XtnsI3cA5HdxcCMoKm0JN6iY hfcjJ3oA+zJb4hq5Ss51raI1mwGjm2zawqK9CIqPGiN/1KT0NQn5GYb+mvHQekOYZ3fR mltAUHW8R4B6HNiyvEorkhziSWGUFFkRll3i11nYK/2UFd46V6JAk4e8TexqKVqfwWde oRBqCMs4MRbrkOk4zSQJuvOOKg28cb3kHUx5WDmKYUwYRCW9ZpRRut8Hz8vkddM+XEwR A5iQ== X-Gm-Message-State: AOAM530oTtwu1fEvFqk+arc8IcsXUY8jDzmvvMLT6525jp1y6Dupmroy H8xgiYKMoKRD48gJ1HMa2doRdw== X-Received: by 2002:a2e:9bd5:: with SMTP id w21mr416170ljj.432.1607436638447; Tue, 08 Dec 2020 06:10:38 -0800 (PST) Received: from gilgamesh.semihalf.com (193-106-246-138.noc.fibertech.net.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id h23sm417017ljh.115.2020.12.08.06.10.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Dec 2020 06:10:37 -0800 (PST) From: Grzegorz Jaszczyk To: ohad@wizery.com, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, s-anna@ti.com Cc: grzegorz.jaszczyk@linaro.org, linux-remoteproc@vger.kernel.org, lee.jones@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, praneeth@ti.com, rogerq@ti.com Subject: [PATCH v4 0/6] Add a PRU remoteproc driver Date: Tue, 8 Dec 2020 15:09:56 +0100 Message-Id: <20201208141002.17777-1-grzegorz.jaszczyk@linaro.org> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, The Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS or simply PRUSS) on various TI SoCs consists of dual 32-bit RISC cores (Programmable Real-Time Units, or PRUs) for program execution. The K3 AM65x and J721E SoCs have the next generation of the PRU-ICSS IP, commonly called ICSSG. The ICSSG IP on AM65x SoCs has two PRU cores, two auxiliary custom PRU cores called Real Time Units (RTUs). The K3 AM65x SR2.0 and J721E SoCs have a revised version of the ICSSG IP, and include two additional custom auxiliary PRU cores called Transmit PRUs (Tx_PRUs). This series contains the PRUSS remoteproc driver together with relevant dt-binding. This is the 3rd foundation component for PRUSS subsystem, the previous two were already merged and can be found under: 1) drivers/soc/ti/pruss.c Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml 2) drivers/irqchip/irq-pruss-intc.c Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml The following is a v4 version of the series. There is only one change from v3 [1]: - Use sizeof(unsigned int) instead of sizeof(int) for kcalloc in pru_handle_intrmap() in patch #3. [1] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20201204201807.14716-1-grzegorz.jaszczyk@linaro.org/ Best regards, Grzegorz Grzegorz Jaszczyk (1): remoteproc: pru: Add support for PRU specific interrupt configuration Suman Anna (5): dt-bindings: remoteproc: Add binding doc for PRU cores in the PRU-ICSS remoteproc: pru: Add a PRU remoteproc driver remoteproc: pru: Add pru-specific debugfs support remoteproc: pru: Add support for various PRU cores on K3 AM65x SoCs remoteproc: pru: Add support for various PRU cores on K3 J721E SoCs .../bindings/remoteproc/ti,pru-rproc.yaml | 214 +++++ drivers/remoteproc/Kconfig | 12 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/pru_rproc.c | 875 ++++++++++++++++++ drivers/remoteproc/pru_rproc.h | 46 + 5 files changed, 1148 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml create mode 100644 drivers/remoteproc/pru_rproc.c create mode 100644 drivers/remoteproc/pru_rproc.h -- 2.29.0