soc/tegra: fuse: Register cell lookups for compatibility
authorThierry Reding <treding@nvidia.com>
Tue, 20 Aug 2019 14:01:04 +0000 (16:01 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 16 Oct 2019 12:33:16 +0000 (14:33 +0200)
commit9f94fadd75d34acec19c164ffb1b60c66d72f898
tree4157b36b6e2be419ad677b732418403c0dd7787b
parentf4619c7f68ba02f8357a9d42340a6dc8a229268d
soc/tegra: fuse: Register cell lookups for compatibility

Typically nvmem cells would be stored in device tree. However, for
compatibility with device trees that don't contain nvmem cell
definitions, register lookups for cells currently used by consumers.
This allows the consumers to use the same API to query cells from the
device tree or using the legacy mechanism.

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