]> git.karo-electronics.de Git - linux-beck.git/commit
soc/tegra: Add efuse driver for Tegra
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Thu, 12 Jun 2014 15:36:37 +0000 (18:36 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Jul 2014 12:36:01 +0000 (14:36 +0200)
commit783c8f4c84451bc444e314a71b447239c6ef6fd9
treeccf8ed545ac850e06d3e781a99769bd0ea43c597
parent35874f3617b38e0c1f72163407c41d554a8f5939
soc/tegra: Add efuse driver for Tegra

Implement fuse driver for Tegra20, Tegra30, Tegra114 and Tegra124. This
replaces functionality previously provided in arch/arm/mach-tegra, which
is removed in this patch.

While at it, move the only user of the global tegra_revision variable
over to tegra_sku_info.revision and export tegra_fuse_readl() to allow
drivers to read calibration fuses.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 files changed:
Documentation/ABI/testing/sysfs-driver-tegra-fuse [new file with mode: 0644]
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/fuse.c [deleted file]
arch/arm/mach-tegra/fuse.h [deleted file]
arch/arm/mach-tegra/reset.c
arch/arm/mach-tegra/tegra.c
drivers/misc/fuse/Makefile [new file with mode: 0644]
drivers/soc/Makefile
drivers/soc/tegra/Makefile [new file with mode: 0644]
drivers/soc/tegra/fuse/Makefile [new file with mode: 0644]
drivers/soc/tegra/fuse/fuse-tegra.c [new file with mode: 0644]
drivers/soc/tegra/fuse/fuse-tegra20.c [new file with mode: 0644]
drivers/soc/tegra/fuse/fuse-tegra30.c [new file with mode: 0644]
drivers/soc/tegra/fuse/fuse.h [new file with mode: 0644]
drivers/soc/tegra/fuse/speedo-tegra114.c [moved from arch/arm/mach-tegra/tegra114_speedo.c with 56% similarity]
drivers/soc/tegra/fuse/speedo-tegra124.c [new file with mode: 0644]
drivers/soc/tegra/fuse/speedo-tegra20.c [moved from arch/arm/mach-tegra/tegra20_speedo.c with 68% similarity]
drivers/soc/tegra/fuse/speedo-tegra30.c [moved from arch/arm/mach-tegra/tegra30_speedo.c with 53% similarity]
drivers/soc/tegra/fuse/tegra-apbmisc.c [new file with mode: 0644]
include/soc/tegra/fuse.h