Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1753740pxb; Sat, 14 Nov 2020 00:48:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmhfzX7jgi1dX3Og9YXWA0eQyNV0jFcdZbd69KBGj8NEqDM+0ncO6zPvV4yeAJgn27MMbf X-Received: by 2002:a17:906:8553:: with SMTP id h19mr5672197ejy.316.1605343701906; Sat, 14 Nov 2020 00:48:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605343701; cv=none; d=google.com; s=arc-20160816; b=vdsZeSD7U2GJ9JHyDJYDaXak35sxlf22OSjxkBBRgzba+NxZl58l0LYjD2iCHfIvrZ Cd0DM1wIekluKu0f6gIJtoKgEQUUaySwvI5P2ntNnqSoUXDLdYS/vITGrKEV2b66qnOy C3qx8+2BvwUoPia+YGDx2DoPPRT2V6IRCyRtd2RZ2/HgqfBO5AC0Ao2qZzrTZ88iWD/F QYPPlJmkQ0Z21D61+kF5TL61HaToFBxFev2CY1YQ9JfIzCU+aan8HailMlOYGjWyWoze szJY+lllhRKLUQkluttNh9GmcnbNCPUxtHU04ObaGc+rnZgEjneM5DB836ZotJk0kELr duEg== 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=q/odiUkDnhOhV4xQfBLaQspz4F1FM/nkN18y8vgULzY=; b=QeoyoXTpejwguJRP+Rgv8jBrkmk04pEaOnLt933g3VNZ06AbSrkSahuDNHReqp7q7Z F2VRGBc4G12KtNDm33YM5hGxmWqcZV/VAD71AmlSS6Nb2dvnTOtAiLUt8jxp6siwDcsF P+/EbPQyh27kyyDG2+IbI6NHfvP8asv9yFBUlvPBsumGcl7I/edVHdXQo3NEhscVPk0b x9n5DQtNW2kq2mWMS3s7pAdwQr6Vpxpo6NLWWd9aa2vos19C4WBP8TQvU0inIk0GYiCa mvV2jtLvWkRg4I549ktP6qi8V1eKWa9Yr9YobV7f//K4DJ7QyE0IR1+qIAlpGsYTeqPP D9zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KDGZmUVg; 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 m22si7396764ejo.281.2020.11.14.00.47.58; Sat, 14 Nov 2020 00:48:21 -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=KDGZmUVg; 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 S1726631AbgKNIqi (ORCPT + 99 others); Sat, 14 Nov 2020 03:46:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726583AbgKNIqi (ORCPT ); Sat, 14 Nov 2020 03:46:38 -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 EAD55C0613D2 for ; Sat, 14 Nov 2020 00:46:37 -0800 (PST) Received: by mail-lj1-x243.google.com with SMTP id y16so13867523ljh.0 for ; Sat, 14 Nov 2020 00:46:37 -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=q/odiUkDnhOhV4xQfBLaQspz4F1FM/nkN18y8vgULzY=; b=KDGZmUVgbdL/YA7L/+7H1n5zkFOp4DBJzHmWky7TcGvuGfkWWtrcEM4u9zNcvYIdJk Yc/LcmM8D3eHuJhmsoM7/X9q7ScXj7KnuIq2yAfTfXw8RtI3JbJafYL0sW4JoOgqrPmu SoyYnE7isp6Cz63BbXLBkdGeLRygmAnw/1jl6HurcI8vnKTb/Ub243TvXAvh4Yv78lPk 3gsJHbRAVLC8rE5QxRwC/v5s+jJsuoBduArDjo6FD6aBlDEZZKhP1jTv+CI4VOvi1M0i zXA0/sr0nahI+EFUqPTAka6vI7sltCvf7R8AUU/RBLp9xxl+UNjd2R/wwtb68fSmqoWC zJjA== 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=q/odiUkDnhOhV4xQfBLaQspz4F1FM/nkN18y8vgULzY=; b=l2PeW24j+/jgeoCrL/Z5zUVTvqvXOqUcsNbHhQuawAz2drYgGVVfOgtyqqXadIQbed RZxn1d4zFU/p6LCOPdJyhXuc43dekJg8YiylmhURxU2kIvouzNl/f+jzWkW/HFAIfQm0 zu46HEPr1e7TNIoMlNm8+vi1KycTNEIq8Xo0FcecZR/iXXO7rcNBHWUxMtqpvpG0fWkr ryqnoRWtFyaG/zywTZnU8+dGka8ZaEaD6Ry69KqmQwmWq3b7USFd/6X3iYN1byzrqXK5 UriHPSUqBVgfWGq59wnVbfNa3QLvEU+Csrot53QL0AuWAdV/I6mY9cGaLC11KoH7dLcE dM1Q== X-Gm-Message-State: AOAM531A6PBPQYPvxvnbUyOaqWQhJofP4fJjrEnIy/Me7uQGlBXo4eCL onN0UM5x6vc7QTKcVovzQYAjdw== X-Received: by 2002:a2e:8504:: with SMTP id j4mr2414944lji.169.1605343596316; Sat, 14 Nov 2020 00:46:36 -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 f62sm1870081lfd.144.2020.11.14.00.46.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Nov 2020 00:46:35 -0800 (PST) From: Grzegorz Jaszczyk To: ohad@wizery.com, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, s-anna@ti.com Cc: grzegorz.jaszczyk@linaro.org, linux-remoteproc@vger.kernel.org, robh+dt@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 0/6] Add a PRU remoteproc driver Date: Sat, 14 Nov 2020 09:46:07 +0100 Message-Id: <20201114084613.13503-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 amd 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 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 | 880 ++++++++++++++++++ drivers/remoteproc/pru_rproc.h | 46 + 5 files changed, 1153 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