diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-05-24 10:47:26 -0600 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-03 13:11:43 +0100 |
commit | 141eba2e006dd8145bed2e49fae3de5af65ab9b0 (patch) | |
tree | d8891499689971466ac978719c45c33d408fd5c5 /fs | |
parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f (diff) |
regmap: allow busses to request formatting with specific endianness
Add a field to struct regmap_bus that allows bus drivers to request that
register addresses and values be formatted with a specific endianness.
The default endianness is unchanged from current operation: Big.
Implement native endian formatting/parsing for 16- and 32-bit values.
This will be enough to support regmap-mmio.c.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions