Re: [Patch v3 01/11] firmware: tegra: add function to get BPMP data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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@xxxxxxxxxx>
---
  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



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux