From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EA54C433DB for ; Wed, 6 Jan 2021 23:29:34 +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 B7D012313A for ; Wed, 6 Jan 2021 23:29:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7D012313A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.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:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zmiOQSa+VPCcY07TmfotG5+GU529+7MwpMHUCvHi/Q8=; b=YLtuWHLJSyzGJp/YxraJbFI7C 2x77btxs3c/Fzl9bc4sjIDtv9Vw7eIuSb5cUm10Cva2RWo1p+A77GgV1lphNaYh+uiOROv2avWQQ4 Ug4srADgM/lvyx0L+B4bV0KVPzK9WQLQMwgNZul15pm0zSiufbsnPGce9PgIucoX8NlQw1XQrA+Cq IFLoDiq940b62vj7ieatD4QIuG5r+HTYD/xEjl3v7X/xkcUJUHBVDyFxbYvoQQPC4nutAO8k6joTU OwX3+IUQpOmWeZl6jPvj30F4l0mRekClzx62SrG39xZI5GN8bjVE1BtAdcGlLB5KLuwu5R7vN5dRO zILQuDC0g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxICu-0005mT-HL; Wed, 06 Jan 2021 23:27:12 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxICr-0005m5-9d for linux-arm-kernel@lists.infradead.org; Wed, 06 Jan 2021 23:27:10 +0000 Received: by mail-pj1-x102a.google.com with SMTP id iq13so273043pjb.3 for ; Wed, 06 Jan 2021 15:27:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=RX6WvXc9AdwHUQos8gbpGpnxsoO0I2OI1Qb4Cxsnhfs=; b=C1JjlS48c7PMuu0up5KPTWHWKkwWM3CxSUzlsARcAX2zwRrUOl3NXWPug0XayiG3TN HkTywr/VNukyH/ept/yAe8PdTcCgbHjF1pQhWvwufWFGi9oIiTVb6MgbKMqwDI0pQwzJ F0qO/yFgvPeFiksqYo9VtqY43WoIFaotDxLvpSMDF666JAHsoZJbWXen2kK81xya1RQe 7mLTw9rW4afFqCXYIPsB1gk8hmOyZ+eJQCeI6qxzHh2LDhSALeZbh8a8jI2pPKXvGNdY 3XHMoOmN4x43gNucpmR0cBDt0fAZnNuZhSPplsZUvSzbi+AzBJPfydCybTkSbZKzJaQR 3Wlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RX6WvXc9AdwHUQos8gbpGpnxsoO0I2OI1Qb4Cxsnhfs=; b=cHFTN14rt6RhraBLdqV+V1jI1Ea6STirUYy7ET4fVpmJcQie9hBA1VUf8r4kxoag3V CDzNtKJv5RvLwLxaxbthZK/pPDeurXrR7VwLgM/FBHw+nr8umu3D2ONwEyAZ1qlIwYAT LzrPCNI6el4mhHnGbDgToKY0DY6Fv65yg/H2D9fa5wfKEQc8+MBRlftOrSGZPlAJ7sKo k62tjkzPTUMGbUO4creEvzJTeReZjNYekKGrncG8T/5vbUFtSwy4YK+aMLBLhBi+ygej BZkolHJ/Tqk+UVfXYBNxPV1+YqPtHNeKdMamdONbBFi7dAhbGKZEyWXeQzC1oErSjJP9 I9+g== X-Gm-Message-State: AOAM530MC5qi/euR5P48yCCHL8LQyC2FhXb6hTPfaNEx3pafNS64FI6z C6Zt6CEs4HIix+qmd4zvwgKKQA== X-Google-Smtp-Source: ABdhPJw1ywKCDyITNA3oNlsUFCtMTlY9Q9nKPwJYsOoi8XO0B46laGMkGJXfHAd11wYXgIiGTpVq9Q== X-Received: by 2002:a17:90a:ec0e:: with SMTP id l14mr6563400pjy.123.1609975627034; Wed, 06 Jan 2021 15:27:07 -0800 (PST) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id i67sm3790692pfc.153.2021.01.06.15.27.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 15:27:06 -0800 (PST) Date: Wed, 6 Jan 2021 16:27:04 -0700 From: Mathieu Poirier To: Grzegorz Jaszczyk Subject: Re: [PATCH v2 0/5] Introduce PRU remoteproc consumer API Message-ID: <20210106232704.GE9149@xps15> References: <20201216165239.2744-1-grzegorz.jaszczyk@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201216165239.2744-1-grzegorz.jaszczyk@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210106_182709_424501_0475C5F2 X-CRM114-Status: GOOD ( 21.15 ) 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: ohad@wizery.com, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, praneeth@ti.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, t-kristo@ti.com, robh+dt@kernel.org, ssantosh@kernel.org, lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org, rogerq@ti.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Dec 16, 2020 at 05:52:34PM +0100, Grzegorz Jaszczyk wrote: > 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. > > There are 3 foundation components for PRUSS subsystem: the PRUSS platform > driver, the PRUSS INTC driver and the PRUSS remoteproc driver. All 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 > 3) drivers/remoteproc/pru_rproc.c > Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml > > The programmable nature of the PRUs provide flexibility to implement custom > peripheral interfaces, fast real-time responses, or specialized data handling. > Example of a PRU consumer drivers will be: > - Software UART over PRUSS > - PRU-ICSS Ethernet EMAC > > In order to make usage of common PRU resources and allow the consumer drivers to > configure the PRU hardware for specific usage the PRU API is introduced. > > Patch #3 of this series depends on one not merged remteproc related patch [1]. > > Please see the individual patches for exact changes in each patch, following is > the only change from v1: > - Change the 'prus' property name to 'ti,prus' as suggested by Rob Herring, > which influences patch #1 and patch #2 > > [1] https://patchwork.kernel.org/project/linux-remoteproc/patch/20201121030156.22857-3-s-anna@ti.com/ > > Best regards, > Grzegorz > > Roger Quadros (1): > remoteproc: pru: Add pru_rproc_set_ctable() function > > Suman Anna (2): > dt-bindings: remoteproc: Add PRU consumer bindings > remoteproc: pru: Deny rproc sysfs ops for PRU client driven boots > > Tero Kristo (2): > remoteproc: pru: Add APIs to get and put the PRU cores > remoteproc: pru: Configure firmware based on client setup > > .../bindings/remoteproc/ti,pru-consumer.yaml | 64 +++++ > drivers/remoteproc/pru_rproc.c | 221 +++++++++++++++++- > include/linux/pruss.h | 78 +++++++ This patchset is giving checkpatch.pl errors and as such will not go further with this revision. > 3 files changed, 360 insertions(+), 3 deletions(-) > create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,pru-consumer.yaml > create mode 100644 include/linux/pruss.h > > -- > 2.29.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel