regmap: Add support for padding between register and address
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 18 Jan 2012 10:52:25 +0000 (10:52 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 Jan 2012 12:15:39 +0000 (12:15 +0000)
commit82159ba8e6ef8c38e3e0452d90b4ff8da9e4b2c1
tree2f488ebc125b24d6790afad633ec8be1e933be18
parentdcd6c92267155e70a94b3927bce681ce74b80d1f
regmap: Add support for padding between register and address

Some devices, especially those with high speed control interfaces, require
padding between the register and the data. Support this in the regmap API
by providing a pad_bits configuration parameter.

Only devices with integer byte counts are supported.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/internal.h
drivers/base/regmap/regmap.c
include/linux/regmap.h