Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp670139pxu; Fri, 11 Dec 2020 11:17:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqbGJHPHmWzMZyagO3m5LP50WA3GE088OVrif6oNoS2P80sNT74Vk4QFOc6QxRPrGlPM8o X-Received: by 2002:a05:6402:17:: with SMTP id d23mr3680802edu.341.1607714230666; Fri, 11 Dec 2020 11:17:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607714230; cv=none; d=google.com; s=arc-20160816; b=msF/tF8sPffGXpMT6SdOJkZizBeZDIAWsj7SMRuK7jYFPhQJeOhrgbvUt6jH7LdKgi t+fl+rioKwD6F+x+RNUo+oGyb+DyQ7DmKeyPLNzMu4WMGtA6aHxA0TbMiWZMeFzq4qDY 3m2Q1sbPQPVnknIkMLvVZYzv0TI/XSo3WqwewPXHWalLflUfPiTsUWI8xVA14iXBfPsj 5dlaODW6/UNDNst+gjMDsE2XZmcTNq9lNkR8/pxhRpQbvd7b29JttHnP7qoPGMMr/jui BGyrr/iEFihzxuJHVUh9VPIPMF8a4rpuAx80T/eVvhw+SOCfVYA6XweJhwKq1M/rln91 03tg== 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=wMhTDsg70Yk7T7X6CYibQwNaCnRI/oxGvYkjMkZKbJ8=; b=gtzVSE5OUhOqT7z/C1hb0S/XbWaBhUfTQ06iRnQwaOS85JMlCcfqczVhlWo+WzkcyL MJNMk9YCdA53ZHidqTQydTj01f3eTxtMaEmgbxHNY1F+By+l/HZsTR1YEJ4KgdVyVhsA CvpjeutFwOlyrsZCBP/j/1u3w40m27ex8IXi+Y9Ev1nY0PNjMlMriaMKf2EO4/ZGzbOZ y9wNw4nA/eye9JrHXsEzTFk2rGu5cP7RW/rK+W30jo5XzvGo4UjZc2Xam2hk44Z9OLo3 0NSW7nWu2dq0YhenaHs6MOHxM+jye2V7wADSYlcez6RM+cvIqm59yGNd3EFp3HiUzKJB PUFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DaV9D4/F"; 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 i2si5064699edd.383.2020.12.11.11.16.47; Fri, 11 Dec 2020 11:17:10 -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="DaV9D4/F"; 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 S2437060AbgLKSu1 (ORCPT + 99 others); Fri, 11 Dec 2020 13:50:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436729AbgLKStD (ORCPT ); Fri, 11 Dec 2020 13:49:03 -0500 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04E28C061794 for ; Fri, 11 Dec 2020 10:48:31 -0800 (PST) Received: by mail-lf1-x142.google.com with SMTP id m25so14673906lfc.11 for ; Fri, 11 Dec 2020 10:48:30 -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=wMhTDsg70Yk7T7X6CYibQwNaCnRI/oxGvYkjMkZKbJ8=; b=DaV9D4/FqG17M7EXWFR471nJTqUGOj/F0eo2+aMEbbmv7/mnjFvgixtxEqLl/b23d4 O2IlW6ZhoQONLWTJ8k1wOY4zK65HJtMseKh1kpVibf717YL8HbFlzKSBf0mlTxAp7RKK EzZ5hj46G8ji1+RXN1oxW2x4RBZ/X7Lbram9oczoFknjgoC6StoYT2WWzN6183uHYx4s LLpTW284FQweuL5ejqIV1ySICnkIQijrk69ZOO4afvjn5IU95dVXmTDYThprbkPjXM9u vJgYWx7t547yjdC8cczuR/+UUGudsCut2rvADOZqlO3HLsYLA0SBgFbIy6pVMGIrOPPF YT1w== 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=wMhTDsg70Yk7T7X6CYibQwNaCnRI/oxGvYkjMkZKbJ8=; b=U4R6AOxg2x0l+WXI3973jKPNdLs7lrOK1GOQJ0Kv6ChkphdPTnhj/vIhAJA9hahuhs SqgMNvu9xy3nAdXZCQlBJCwy0T0F77r4fklEwHZZHTynX7juOAHD5LSiEcp+8d61MDxf XF/tjq+dnhvtva1XKudaocWs2A4RY+4Ew1jZQ/1YTPtvYOMnKXudIZPzAfCmj1EtS8Be tfrCJtzUJ0UbenFqkYBud+Ytr3nnfEblQwCLwy+tXW4qo1/D7etx/zXwyqfYfh6lfbfn bTsrD2kioNSWhdCleIZeW6EtgnnehYVsvb7BNj926nvOlY8fAR+oKMxXn2p2QnnexRvJ icrw== X-Gm-Message-State: AOAM531tL4appkCpaklGQ1vs0nZVAsHbjficXKuSrhVP76WxDyk2vWwK TwJrc8OXkpJeyiz5tV94MlwBUg== X-Received: by 2002:ac2:4ecd:: with SMTP id p13mr5541265lfr.430.1607712509514; Fri, 11 Dec 2020 10:48:29 -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 b12sm903316lfb.139.2020.12.11.10.48.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Dec 2020 10:48:28 -0800 (PST) From: Grzegorz Jaszczyk To: ssantosh@kernel.org, s-anna@ti.com Cc: grzegorz.jaszczyk@linaro.org, santosh.shilimkar@oracle.com, lee.jones@linaro.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, praneeth@ti.com, tony@atomide.com, linux-remoteproc@vger.kernel.org, mathieu.poirier@linaro.org Subject: [PATCH 0/6] Introduce PRU platform consumer API Date: Fri, 11 Dec 2020 19:48:05 +0100 Message-Id: <20201211184811.6490-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. There are 3 foundation components for TI PRUSS subsystem: the PRUSS platform driver, the PRUSS INTC driver and the PRUSS remoteproc driver. Two first 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 third one [1] was accepted and applied to andersson/remoteproc.git (refs/heads/for-next): [2] but is not merged yet. 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. This patch set depends on "Introduce PRU remoteproc consumer API" set [3], which is complementary to this one but goes for different, remoteproc sub-system. [1] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20201208141002.17777-1-grzegorz.jaszczyk@linaro.org/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git/commit/?h=for-next&id=b44786c9bdc46eac8388843f0a6116369cb18bca [3] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20201211142933.25784-1-grzegorz.jaszczyk@linaro.org/ Best regards, Grzegorz Andrew F. Davis (1): soc: ti: pruss: Add pruss_{request,release}_mem_region() API Suman Anna (3): soc: ti: pruss: Add pruss_cfg_read()/update() API soc: ti: pruss: Add helper functions to set GPI mode, MII_RT_event and XFR soc: ti: pruss: Add helper function to enable OCP master ports Tero Kristo (2): soc: ti: pruss: Add pruss_get()/put() API soc: ti: pruss: Add helper functions to get/set PRUSS_CFG_GPMUX drivers/soc/ti/pruss.c | 257 ++++++++++++++++++++++++++++++++++- include/linux/pruss.h | 221 ++++++++++++++++++++++++++++++ include/linux/pruss_driver.h | 72 +++++++--- 3 files changed, 526 insertions(+), 24 deletions(-) -- 2.29.0