mfd: Add syscon driver based on regmap
authorDong Aisheng <dong.aisheng@linaro.org>
Wed, 5 Sep 2012 02:57:13 +0000 (10:57 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 17 Sep 2012 13:24:14 +0000 (15:24 +0200)
commit87d687301f380729ec320619f100f3ba39f3693d
tree3f6f274a01552da3b5f7af4dc1eaaad04a11c1b4
parenta435ae1d51e2f18414f2a87219fdbe068231e692
mfd: Add syscon driver based on regmap

Add regmap based syscon driver.
This is usually used for access misc bits in registers which does not belong
to a specific module, for example, IMX IOMUXC GPR and ANATOP.
With this driver, client can use generic regmap API to access registers
which are registered into syscon.

Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Documentation/devicetree/bindings/mfd/syscon.txt [new file with mode: 0644]
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/syscon.c [new file with mode: 0644]
include/linux/mfd/syscon.h [new file with mode: 0644]