diff options
author | Colin Foster <colin.foster@in-advantage.com> | 2022-03-13 15:45:23 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-18 16:53:18 +0000 |
commit | 86fc59ef818beb0e1945d17f8e734898baba7e4e (patch) | |
tree | a26c0a85d4df82f4a68c9bfbc3f2529472078311 /tools/perf/scripts/python/stackcollapse.py | |
parent | 2d2329787ba2e70eae330f1cecd61a9576fe65de (diff) |
regmap: add configurable downshift for addresses
Add an additional reg_downshift to be applied to register addresses before
any register accesses. An example of a device that uses this is a VSC7514
chip, which require each register address to be downshifted by two if the
access is performed over a SPI bus.
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Link: https://lore.kernel.org/r/20220313224524.399947-2-colin.foster@in-advantage.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions