]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc/tegra: pmc: Add PMC contextual functions
authorThierry Reding <treding@nvidia.com>
Mon, 3 Feb 2025 15:22:58 +0000 (16:22 +0100)
committerThierry Reding <treding@nvidia.com>
Sun, 18 Jan 2026 07:48:30 +0000 (08:48 +0100)
commit70f752ebb08c85a5ea19471a5aaf26263e53dcb0
tree1de77e791687a115b5cd237d5eaf43eb9d154051
parente1fd5ad68acd3c3a76651c811e1fdb4846237370
soc/tegra: pmc: Add PMC contextual functions

Add implementations that take as argument a struct tegra_pmc * for most
public APIs, as well as a function to obtain the PMC for any given
device. This will allow transitioning away users from relying on a
global variable storing the PMC context.

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