diff options
author | Thierry Reding <treding@nvidia.com> | 2019-08-20 16:57:16 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-10-16 15:33:14 +0300 |
commit | 96ee12b2a203167ffda7ac4a444418ca53df056d (patch) | |
tree | 554f29a8eb30d39f5c58fb7439fb0959ca764e24 /drivers/soc/tegra/fuse/fuse.h | |
parent | 9f1022b8bd14ce937ca56174a97a1ce475c07693 (diff) | |
download | linux-96ee12b2a203167ffda7ac4a444418ca53df056d.tar.xz |
soc/tegra: fuse: Implement nvmem device
The nvmem framework provides a generic infrastructure and API to access
the type of information stored in fuses such as the Tegra FUSE block.
Implement an nvmem device that can be used to access the information in
a more generic way to decouple consumers from the custom Tegra API and
to add a more formal way of creating the dependency between the FUSE
device and the consumers.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/soc/tegra/fuse/fuse.h')
-rw-r--r-- | drivers/soc/tegra/fuse/fuse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/soc/tegra/fuse/fuse.h b/drivers/soc/tegra/fuse/fuse.h index 7230cb330503..32bf6c070ae7 100644 --- a/drivers/soc/tegra/fuse/fuse.h +++ b/drivers/soc/tegra/fuse/fuse.h @@ -13,6 +13,7 @@ #include <linux/dmaengine.h> #include <linux/types.h> +struct nvmem_device; struct tegra_fuse; struct tegra_fuse_info { @@ -48,6 +49,8 @@ struct tegra_fuse { dma_addr_t phys; u32 *virt; } apbdma; + + struct nvmem_device *nvmem; }; void tegra_init_revision(void); |