summaryrefslogtreecommitdiffstats
path: root/drivers/base/cacheinfo.c
diff options
context:
space:
mode:
authorColin Foster <colin.foster@in-advantage.com>2022-03-13 15:45:24 -0700
committerMark Brown <broonie@kernel.org>2022-03-18 16:53:19 +0000
commit0074f3f2b1e43d3cedd97e47fb6980db6d2ba79e (patch)
treebc31c30f65706f89a436cb67d8549a46b77db497 /drivers/base/cacheinfo.c
parent86fc59ef818beb0e1945d17f8e734898baba7e4e (diff)
downloadlinux-0074f3f2b1e43d3cedd97e47fb6980db6d2ba79e.tar.bz2
regmap: allow a defined reg_base to be added to every address
There's an inconsistency that arises when a register set can be accessed internally via MMIO, or externally via SPI. The VSC7514 chip allows both modes of operation. When internally accessed, the system utilizes __iomem, devm_ioremap_resource, and devm_regmap_init_mmio. For SPI it isn't possible to utilize memory-mapped IO. To properly operate, the resource base must be added to the register before every operation. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Link: https://lore.kernel.org/r/20220313224524.399947-3-colin.foster@in-advantage.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base/cacheinfo.c')
0 files changed, 0 insertions, 0 deletions