]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc/tegra: Use ARM SMCCC to get chip ID, revision, and platform info
authorKartik Rajput <kkartik@nvidia.com>
Thu, 14 May 2026 05:30:41 +0000 (11:00 +0530)
committerThierry Reding <treding@nvidia.com>
Fri, 29 May 2026 12:42:09 +0000 (14:42 +0200)
commit8b8ee2e56f951ccf41d98eebe73195cea487cd48
treeb6d2aedd5dd4fb34d23048d1a5e451cb46039acb
parent8a3571618c2e3f339b5b6fee5841143face58a2b
soc/tegra: Use ARM SMCCC to get chip ID, revision, and platform info

Tegra410 and Tegra241 deprecate the HIDREV register. The recommended
method is to use ARM SMCCC to retrieve the chip ID, major and minor
revisions, and platform information.

Prefer ARM SMCCC when the platform supports it; fall back to HIDREV
otherwise. Behavior on older Tegra SoCs that do not support ARM SMCCC
remains unchanged.

Signed-off-by: Kartik Rajput <kkartik@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/tegra-apbmisc.c