regmap: add MMIO bus support
authorStephen Warren <swarren@nvidia.com>
Wed, 4 Apr 2012 21:48:31 +0000 (15:48 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 13 Apr 2012 10:29:16 +0000 (11:29 +0100)
commitecb44aec86f0a5e37142a971815f91e065645986
treead8ec060152a084a3ca03579451421af77196c4f
parenta42678c4c8b5f6d489829ffc3071fa1f08ee99d1
regmap: add MMIO bus support

This is a basic memory-mapped-IO bus for regmap. It has the following
features and limitations:

* Registers themselves may be 8, 16, 32, or 64-bit. 64-bit is only
  supported on 64-bit platforms.
* Register offsets are limited to precisely 32-bit.
* IO is performed using readl/writel, with no provision for using the
  __raw_readl or readl_relaxed variants.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/Kconfig
drivers/base/regmap/Makefile
drivers/base/regmap/regmap-mmio.c [new file with mode: 0644]
include/linux/regmap.h