diff options
author | Tony Lindgren <tony@atomide.com> | 2016-09-15 22:56:11 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-16 13:06:27 +0200 |
commit | 55562449032c43b84f839e2fbb84bf1d351d6603 (patch) | |
tree | 0abc946447244b9f316e5b440bc9f3e1e6da4b89 /arch/mips/mti-malta/malta-setup.c | |
parent | regmap: Allow longer flag masks for read and write (diff) | |
download | linux-55562449032c43b84f839e2fbb84bf1d351d6603.tar.xz linux-55562449032c43b84f839e2fbb84bf1d351d6603.zip |
regmap: Add missing little endian functions
This with the longer read and write masks allow supporting more
exotic devices. For example a little endian SPI device:
static const struct regmap_config foo_regmap_config = {
.reg_bits = 16,
.reg_stride = 4,
.val_bits = 16,
.write_flag_mask = 0x8000,
.reg_format_endian = REGMAP_ENDIAN_LITTLE,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
...
};
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/mips/mti-malta/malta-setup.c')
0 files changed, 0 insertions, 0 deletions