diff options
author | 2022-03-13 15:45:23 -0700 | |
---|---|---|
committer | 2022-03-18 16:53:18 +0000 | |
commit | 86fc59ef818beb0e1945d17f8e734898baba7e4e (patch) | |
tree | a26c0a85d4df82f4a68c9bfbc3f2529472078311 /scripts/gdb/linux/utils.py | |
parent | regmap: irq: cleanup comments (diff) | |
download | wireguard-linux-86fc59ef818beb0e1945d17f8e734898baba7e4e.tar.xz wireguard-linux-86fc59ef818beb0e1945d17f8e734898baba7e4e.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions