Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp666662pxu; Fri, 4 Dec 2020 12:22:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTZg8TsMGLshVhHHsruHc8zAolfkZ9mS7k/GC2z0gAvT7tRl0ecfVFVGkyBVBuSHkmgr0+ X-Received: by 2002:a17:906:34c3:: with SMTP id h3mr8818449ejb.132.1607113337089; Fri, 04 Dec 2020 12:22:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607113337; cv=none; d=google.com; s=arc-20160816; b=iN/kI8E3kYjQFllMxeLga4aEcYV8nOx/jGw5e6Uv7SFqajDrrdMXUKWHqiWLftoZG5 9a9XvQ2nxyyK6OhLwianb5MXkJVc1dGW+/jIc4L885ZgWi06zZY8Q5ib1OcxK3UxzP1c 1mjiG3/4wYK0ZQYeB3Mnc6J1PRTfaIJPCnkD3AdClfXHvTn6bwt6JEF/eUIif2NhYdAZ sQJXplp7N4EhofqFweo+cgY84/MhjI8rpkDESpROq2By9YL660pH+iAQRkWVHMxUd51u tbe+YI0fD6EUKD9xHqvyvGxbHKaSCu8ETWbZj9wcU0L1hls/NEDiJq92EvFr1+3BukvB qDWw== 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=ZiqvOYZnVaPoXdhwyb61UvgWLIkGyPr+IhLVSfqE1SY=; b=Xqlf5WPNgWMhBqzZzWDoZMoKTkQJfDi+/0YfPE1m6Rfoq0B8eFC6PGpO7CWSQtyTYG xR/RmKzFCyC73/qEw7t96PWSgJk91A1XrXQh14xbDdQv4ZoTOtygHm8MKZxFMeiae4HI top5TBmHyf/7xfDrA0msprA+4Lx7FE3kB4wkDTkzF2KQ4GjNqLRP2tekey2DeFeb77P+ 8tgq4/1AOZ8A4f158eS/vP4QuyCBtSy5wA71wjU/mTVrjerd3vzQFgDrRB0wmH+Aj6Th xWAyboZ/SoDowyImHZlx/cyUtn18AAycVci3DuQZhZj6w1N4lizkKpaSsCZVIxGU0P46 y3aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="fo/9yfBF"; 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 lw27si2150799ejb.35.2020.12.04.12.21.54; Fri, 04 Dec 2020 12:22:17 -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="fo/9yfBF"; 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 S1729150AbgLDUTE (ORCPT + 99 others); Fri, 4 Dec 2020 15:19:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728846AbgLDUTE (ORCPT ); Fri, 4 Dec 2020 15:19:04 -0500 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14D8FC061A53 for ; Fri, 4 Dec 2020 12:18:18 -0800 (PST) Received: by mail-lj1-x241.google.com with SMTP id o24so8000328ljj.6 for ; Fri, 04 Dec 2020 12:18:17 -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=ZiqvOYZnVaPoXdhwyb61UvgWLIkGyPr+IhLVSfqE1SY=; b=fo/9yfBFQD7b9kT8+PNDIWdGD/64qLIJ9v0ZQ9bmbwA6DGaQJAiQ6Q8GUxUeeQA+3N 5y1V9d9kuSs6v/uXZD3cOkOfgY7w7gVnm4IDNn0OjcDkllAu0jbtVgfpcCbO793Rwt68 JzazfZSEHQOAuMOSYQ6vqdKiI2NMTD8/tASwvLft45loUV7A2p4IfM+sU6F2D14SroDO 1Cqgt76RC8m7R3C4iX+gXmEpj0t8hIKsVSNe646jOZZkfZ4UYRg+v709ad8e23Naq0l7 rk12iGjQ1JnZf8yioUfmR/wZ1r7sH7gLp9vnTwZdUx5VbLR86qQryp/FVSYe6Qvl4Pf2 qdvw== 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=ZiqvOYZnVaPoXdhwyb61UvgWLIkGyPr+IhLVSfqE1SY=; b=f9BDvBCzyhj/IBgH3FAwqDR9jfZHNKL/DZ6ZwXddn1fb/tI/N/NRbrPsO2PII/zaSJ LYoui/LfccAzUU47yLk1en4w0+KDFqScG9AqSJI1WqCmIu8FbaBkP8wTJ4KcplS1WcEB pBZ58qjluIpShNE4KQPXsKfN6mlX6t6GVrl7VCMpEhnULQfwAekQXEfWUtWIfw6Z55cs 4yMOIQkcRhwW/+qQxQuCz0gSrK3Vppn20Eqpvd2qrSCplsHUzV5aig5abmcnDDOzQJNi IfYwxl6Jva2YQ4ouCMs0nCOaOA9xVE1F9rJU6uD9VTE03mUsxma/00CHxsLJI4yd8f+w TGrg== X-Gm-Message-State: AOAM5301xUB0zEkVRYpLHCUG/Jvsxb7szJZtrw8qtfCy62I6+4mDndY7 SNrR7EZqfUH4aYmBdwJqT3kLVQ== X-Received: by 2002:a2e:8e64:: with SMTP id t4mr1039685ljk.141.1607113096464; Fri, 04 Dec 2020 12:18:16 -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 w21sm2036918lff.280.2020.12.04.12.18.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Dec 2020 12:18:15 -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 v3 0/6] Add a PRU remoteproc driver Date: Fri, 4 Dec 2020 21:18:01 +0100 Message-Id: <20201204201807.14716-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 The following is a v3 version of the series. Please see the individual patches for exact changes in each patch, following are the main changes from v2[1]: - Add Reviewed-by: Mathieu Poirier for 4 patches after introducing minor fixes/improvements. - Adjust the patch title to latest remoteproc subsystem convention: s/remoteproc\/pru:/remoteproc:pru:/ as suggested by Suman. [1] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20201119140850.12268-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 | 874 ++++++++++++++++++ drivers/remoteproc/pru_rproc.h | 46 + 5 files changed, 1147 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