soc/tegra: Register SoC device
authorThierry Reding <treding@nvidia.com>
Thu, 17 Aug 2017 14:42:17 +0000 (16:42 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Aug 2017 14:43:13 +0000 (16:43 +0200)
commit27a0342ac162bf2ba30c288cfb7b72eabed38d8b
tree48f4e7d789054b3dd4235bd89ccb76aad84d398e
parent0c106e57dea709395b5b5eb004987b7ddad251ad
soc/tegra: Register SoC device

Move this code from arch/arm/mach-tegra and make it common among 32-bit
and 64-bit Tegra SoCs. This is slightly complicated by the fact that on
32-bit Tegra, the SoC device is used as the parent for all devices that
are instantiated from device tree.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mach-tegra/tegra.c
drivers/soc/tegra/Kconfig
drivers/soc/tegra/fuse/fuse-tegra.c
include/soc/tegra/fuse.h