lkml.org 
[lkml]   [2023]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [Patch v3 01/11] firmware: tegra: add function to get BPMP data
From


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@nvidia.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

\
 
 \ /
  Last update: 2023-03-27 01:15    [W:0.041 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site