[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c240eae7-8862-0589-d56d-f2e82e21569c@nvidia.com>
Date: Thu, 23 Mar 2023 18:29:44 +0530
From: Sumit Gupta <sumitg@...dia.com>
To: Thierry Reding <thierry.reding@...il.com>
CC: <treding@...dia.com>, <krzysztof.kozlowski@...aro.org>,
<dmitry.osipenko@...labora.com>, <viresh.kumar@...aro.org>,
<rafael@...nel.org>, <jonathanh@...dia.com>, <robh+dt@...nel.org>,
<lpieralisi@...nel.org>, <linux-kernel@...r.kernel.org>,
<linux-tegra@...r.kernel.org>, <linux-pm@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-pci@...r.kernel.org>,
<mmaddireddy@...dia.com>, <kw@...ux.com>, <bhelgaas@...gle.com>,
<vidyas@...dia.com>, <sanjayc@...dia.com>, <ksitaraman@...dia.com>,
<ishah@...dia.com>, <bbasu@...dia.com>,
Sumit Gupta <sumitg@...dia.com>
Subject: Re: [Patch v3 01/11] firmware: tegra: add function to get BPMP data
On 23/03/23 15:38, Thierry Reding wrote:
> On Mon, Mar 20, 2023 at 11:54:31PM +0530, Sumit Gupta wrote:
>> Add new function 'of_tegra_bpmp_get()' which can be
>> used by other drivers like MC to get BPMP data without
>> adding any property in respective drivers DT node.
>>
>> Signed-off-by: Sumit Gupta <sumitg@...dia.com>
>> ---
>> drivers/firmware/tegra/bpmp.c | 38 +++++++++++++++++++++++++++++++++++
>> include/soc/tegra/bpmp.h | 5 +++++
>> 2 files changed, 43 insertions(+)
>
> Sorry for not noticing this earlier, but can we not resolve the BPMP
> using the existing tegra_bpmp_get()? That requires the presence of the
> nvidia,bpmp property, but since we're adding new functionality here
> that's not a problem.
>
> Thierry
Ok, will add "nvidia,bpmp" property within mc node and cache the result
to use later instead of doing the lookup every time. Also, will drop
this patch in v4.
Thank you for suggesting.
Thank,
Sumit
Powered by blists - more mailing lists