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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9EE8AC4332F for ; Mon, 19 Dec 2022 20:21:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XF6gbRSg+Tz4UnvnK8kLx6XiwuLuq1t1KfdODEIAMLI=; b=fv6ZBc5vFJf5WA 4t/QYrN+MYdpzTz+texnBvTia9BFLNIPBZbuAZsaCtevPB339BS1ngcpDvLo+s7uuPkKnWOE0qLlM cIjw1Qox3QvbusT7EbDXz8NuFwG4m0Z6Qylg6kfYvj9iC6ladRrfczBDcMRePEQ7mFY1wz3/6jV6a 3hpckdZzAQv0Ca6FSdDNd5MmZCrUzM2kYdB8N/TcnRxYKbYaDZlT7MkjZdsHis7IDY7rlPFCK5MVF YJs8lvlOzCSn7NjJGGS23LuVzk3hyaXyP7GNUO2ihNpAJofgWOlTTwFhPjsbea4D6nPvCH49Wpq/r /I87byNjxWCuo2b+A67A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p7McB-001nNp-Bn; Mon, 19 Dec 2022 20:19:59 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p7Mc7-001nLG-Qq for linux-arm-kernel@lists.infradead.org; Mon, 19 Dec 2022 20:19:57 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6F4FAB80ED7; Mon, 19 Dec 2022 20:19:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 668BDC433EF; Mon, 19 Dec 2022 20:19:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671481192; bh=tTePxdA+CAo0HaKkeJhMsyhOGYdEA4fxoVpt8swbBoc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=sV6eZbQ7OQO4BbD66TmrU+8AHX03VTOHKMRBS/nFZ0CG64//0g4lajH+VAVk8F47K LMRUuiRoZCIkjRREHqI6tDcm3gAjAKjax4c9NJYJKLeUgUc32NWwEH7k1aFvk4MRRP C+y9PQQlAFhrvxmMOfb2wIaKTi9BTC36xN2MxYh7TGAFUumqT00dG7jR2E5HYGHFsR f1e6I/wzYK09eYBdA2jKY+BsGLCOBSjRhWx7m9Ot5Owo5bA/6K+A/a8qSd0JHudAFu 08G3x0/vu9x4WEGUTkb83JWRQNWn3N6St5j5606e6hNKwOltW66A3QMrDbmP55n6tl 3AMJJ+6ISEXAw== Message-ID: Date: Mon, 19 Dec 2022 22:19:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v12 3/6] remoteproc: pru: Add APIs to get and put the PRU cores To: MD Danish Anwar , Mathieu Poirier , Krzysztof Kozlowski , Rob Herring References: <20221216053313.2974826-1-danishanwar@ti.com> <20221216053313.2974826-4-danishanwar@ti.com> Content-Language: en-US From: Roger Quadros In-Reply-To: <20221216053313.2974826-4-danishanwar@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221219_121956_061345_50D682F5 X-CRM114-Status: GOOD ( 12.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nm@ti.com, srk@ti.com, vigneshr@ti.com, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, "Andrew F . Davis" , linux-arm-kernel@lists.infradead.org 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 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 > Signed-off-by: Tero Kristo > Signed-off-by: Grzegorz Jaszczyk > Signed-off-by: MD Danish Anwar Reviewed-by: Roger Quadros _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel