]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: tegra: bpmp: Add tegra_bpmp_get_with_id() function
authorThierry Reding <treding@nvidia.com>
Thu, 26 Mar 2026 13:58:49 +0000 (14:58 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 27 Mar 2026 15:24:36 +0000 (16:24 +0100)
commit77344118720e31dcbac47d13c35da3b1de663529
treea30049369ce2ba64dfd566733555ecd1039593b7
parent83c18a324570193140cafc12c88eb1e370564078
firmware: tegra: bpmp: Add tegra_bpmp_get_with_id() function

Some device tree bindings need to specify a parameter along with a BPMP
phandle reference to designate the ID associated with a given controller
that needs to interoperate with BPMP. Typically this is specified as an
extra cell in the nvidia,bpmp property, so add a helper to parse this ID
while resolving the phandle reference.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/firmware/tegra/bpmp.c
include/soc/tegra/bpmp.h