devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roger Quadros <rogerq@kernel.org>
To: MD Danish Anwar <danishanwar@ti.com>,
	Mathieu Poirier <mathieu.poirier@linaro.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Rob Herring <robh+dt@kernel.org>
Cc: Suman Anna <s-anna@ti.com>, "Andrew F . Davis" <afd@ti.com>,
	nm@ti.com, vigneshr@ti.com, srk@ti.com,
	linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v12 3/6] remoteproc: pru: Add APIs to get and put the PRU cores
Date: Mon, 19 Dec 2022 22:19:46 +0200	[thread overview]
Message-ID: <da0a1ee5-0f95-f10f-9d87-afd298df2e40@kernel.org> (raw)
In-Reply-To: <20221216053313.2974826-4-danishanwar@ti.com>



On 16/12/2022 07:33, MD Danish Anwar wrote:
> Add two new APIs, pru_rproc_get() and pru_rproc_put(), to the PRU
> driver to allow client drivers to acquire and release the remoteproc
> device associated with a PRU core. The PRU cores are treated as
> resources with only one client owning it at a time.
> 
> The pru_rproc_get() function returns the rproc handle corresponding
> to a PRU core identified by the device tree "ti,prus" property under
> the client node. The pru_rproc_put() is the complementary function
> to pru_rproc_get().
> 
> Signed-off-by: Suman Anna <s-anna@ti.com>
> Signed-off-by: Tero Kristo <t-kristo@ti.com>
> Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>

Reviewed-by: Roger Quadros <rogerq@kernel.org>

  reply	other threads:[~2022-12-19 20:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-16  5:33 [PATCH v12 0/6] Introduce PRU remoteproc consumer API MD Danish Anwar
2022-12-16  5:33 ` [PATCH v12 1/6] dt-bindings: remoteproc: Add PRU consumer bindings MD Danish Anwar
2022-12-16  5:33 ` [PATCH v12 2/6] remoteproc: pru: Add enum for PRU Core Identifiers MD Danish Anwar
2023-01-05  0:22   ` Mathieu Poirier
2023-01-05  6:56     ` [EXTERNAL] " Md Danish Anwar
2022-12-16  5:33 ` [PATCH v12 3/6] remoteproc: pru: Add APIs to get and put the PRU cores MD Danish Anwar
2022-12-19 20:19   ` Roger Quadros [this message]
2022-12-16  5:33 ` [PATCH v12 4/6] remoteproc: pru: Make sysfs entries read-only for PRU client driven boots MD Danish Anwar
2022-12-16  5:33 ` [PATCH v12 5/6] remoteproc: pru: Add pru_rproc_set_ctable() function MD Danish Anwar
2022-12-23 10:58   ` Md Danish Anwar
2022-12-23 13:22     ` Roger Quadros
2022-12-16  5:33 ` [PATCH v12 6/6] remoteproc: pru: Configure firmware based on client setup MD Danish Anwar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=da0a1ee5-0f95-f10f-9d87-afd298df2e40@kernel.org \
    --to=rogerq@kernel.org \
    --cc=afd@ti.com \
    --cc=danishanwar@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=nm@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=s-anna@ti.com \
    --cc=srk@ti.com \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).