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 /drivers/base/regmap/regmap-mmio.c | |
parent | Linux 3.5-rc1 (diff) | |
download | linux-dev-141eba2e006dd8145bed2e49fae3de5af65ab9b0.tar.xz linux-dev-141eba2e006dd8145bed2e49fae3de5af65ab9b0.zip |
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 'drivers/base/regmap/regmap-mmio.c')
0 files changed, 0 insertions, 0 deletions