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, 6 Apr 2012 09:47:35 +0000 (10:47 +0100)
commit45f5ff8107a845854b1d1812ab1d9c5541f08b4d
treed0d532ba060e3f3db9c7e376d90d1fcb34035c04
parentbacdbe077342ecc9e7b3e374cc5a41995116706a
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