kernel_optimize_test/drivers/base/regmap
Mark Brown 2e2ae66df3 regmap: Allow devices to specify which registers are accessible
This is currently unused but we need to know which registers exist and
their properties in order to implement diagnostics like register map
dumps and the cache features.

We use callbacks partly because properties can vary at runtime (eg, through
access locks on registers) and partly because big switch statements are a
good compromise between readable code and small data size for providing
information on big register maps.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-08-08 15:47:00 +09:00
..
Kconfig regmap: Add SPI bus support 2011-07-23 07:56:59 +01:00
Makefile regmap: Add SPI bus support 2011-07-23 07:56:59 +01:00
regmap-i2c.c regmap: Add I2C bus support 2011-07-23 07:56:39 +01:00
regmap-spi.c regmap: Add SPI bus support 2011-07-23 07:56:59 +01:00
regmap.c regmap: Allow devices to specify which registers are accessible 2011-08-08 15:47:00 +09:00