linux-stable/drivers/base/regmap
Dimitris Papastamos 9fabe24e9b regmap: Introduce caching support
This patch introduces caching support for regmap.  The regcache API
has evolved essentially out of ASoC soc-cache so most of the actual
caching types (except LZO) have been tested in the past.

The purpose of regcache is to optimize in time and space the handling
of register caches.  Time optimization is achieved by not having to go
over a slow bus like I2C to read the value of a register, instead it is
cached locally in memory and can be retrieved faster.  Regarding space
optimization, some of the cache types are better at packing the caches,
for e.g. the rbtree and the LZO caches.  By doing this the sacrifice in
time still wins over doing I2C transactions.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tested-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-09-19 19:06:31 +01:00
..
internal.h regmap: Introduce caching support 2011-09-19 19:06:31 +01:00
Kconfig regmap: Add SPI bus support 2011-07-23 07:56:59 +01:00
Makefile regmap: Introduce caching support 2011-09-19 19:06:31 +01:00
regcache.c regmap: Introduce caching support 2011-09-19 19:06:31 +01:00
regmap-debugfs.c regmap: Include the last register in debugfs output 2011-09-05 10:58:31 -07:00
regmap-i2c.c regmap: Remove redundant owner field from the bus type struct 2011-09-05 10:57:04 -07:00
regmap-spi.c regmap: Remove redundant owner field from the bus type struct 2011-09-05 10:57:04 -07:00
regmap.c regmap: Add support for device specific write and read flag masks. 2011-09-05 14:55:57 -07:00