Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1197174pxu; Wed, 6 Jan 2021 15:29:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxN1m7SoXyNIM6L0TY0jaOvqhxBTrazR+HxNhaTuS/9AGzo9jL1eewnuqkXzYGC/dwB/Zxf X-Received: by 2002:a50:f1c7:: with SMTP id y7mr5606962edl.184.1609975788455; Wed, 06 Jan 2021 15:29:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609975788; cv=none; d=google.com; s=arc-20160816; b=o5yN2J81VbdEyuFumnKBaIw8KuCMhAMri8lkUgpLPeVyO1byKaZkvqkCeg9HLDIbqd 0PCNdTw/xrxIoCqE6frh9FIzc8iN5rimgL20u1x2xJOiwABzxYouB0AhAyN1A+GgwzQp ufEvDTffla2wIq5nYRoR2DEVFZyjt6BlYY2dURKM8GZUR1ScFhwZedR7ngF7h4ykmgzq hu14DV6Ax9SYGkIG01hA303ZJ9FPxDGjmAJ79MWKYpI+VALaJTWffL6v+N6eDDBS24W8 /8h0MvnxkALNLGi74kOuF7dK3vcQnUV3Q1m3FpUk6VDJnvt8itLlZWxjwnLoUev/qWSh kuqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RX6WvXc9AdwHUQos8gbpGpnxsoO0I2OI1Qb4Cxsnhfs=; b=ZRr1DIvhgi86Vntvxa4Wwk4klivNVWGdjkEfE2aDsuK7WZbMuTHWcW8C9ntMEaiXDS tX0kfVNOd1vJY82ZPC8BJ+Wi7Qissx8fzhVKXtoPj/0wTR0s9Eh9LZYWegCbu5cyUJjf mpE0brGnlh07sqGrIRmqVrEnwSjkR5TX2W3b1U7JbXNYk6xfUTlgLmER1oith2dnqYul TBQGNGd1YJF55fpB6U/bXqh0bsMOWtk6FJiqFUdghSNSPA4IsKeyl9demzWZ3gjV0AfC Dfj+MzDdsBhEm7K7WDn42Kw7TM8FIKMHcSlXDrU9TXMe6aNZ4IbytymlCthebLYlWgV/ 9KhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C1JjlS48; 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 oh19si1498683ejb.553.2021.01.06.15.29.25; Wed, 06 Jan 2021 15:29:48 -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=C1JjlS48; 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 S1727692AbhAFX1s (ORCPT + 99 others); Wed, 6 Jan 2021 18:27:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727670AbhAFX1r (ORCPT ); Wed, 6 Jan 2021 18:27:47 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93D24C061757 for ; Wed, 6 Jan 2021 15:27:07 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id g3so2354461plp.2 for ; Wed, 06 Jan 2021 15:27:07 -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=qnVCnmDToUA/chr9SC1kUSaed/Xer7Xnro+5yijjvyelWn34roHUqI8sdoFpbFtUqY jzET5w7Jh0e9c5c0T2MX9J1YrvOvcS3RFiZwHbnCcJ+eW5MJOyDh5Ju5bkiNL6PHTz23 R/tIRVRxu7QTFTjqjISETnDKIweNOyHU59QCmL1RLYd/knWEW+44BEiyh+liQsnnNwpu RrMTQKqIKiyqtKwk6XI6GsZLfXuBTLENoAqNMHY2j1JXNg9RwE9TVUQkvjsBKvNvgzSs A8x8Zgf6bzEMapGyhQBo7CD1oCR078bo6RnAJ8MZtafcoVTiWco0hJ20fg6Y44SrKDFA CpBw== X-Gm-Message-State: AOAM5327V0fuYZJvkwiAhXVV3QFN163JNliPAI6rabki9jgJKq9queNl 5BSoVX91fbW8wcRPSVwy6YGU2g== 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 Cc: ohad@wizery.com, bjorn.andersson@linaro.org, robh+dt@kernel.org, s-anna@ti.com, ssantosh@kernel.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, t-kristo@ti.com 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201216165239.2744-1-grzegorz.jaszczyk@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 >