[PATCH 0/3] Add "no-bus" configuration for regmap API

From: Andrey Smirnov
Date: Fri Dec 21 2012 - 04:47:26 EST

This patch proposes extension to the API that was suggested by Mark in
the following thread:

The idea behind extensions is to allow the devices that expose some
register-like interface but whose protocol for reading or writing
those registers could not be simplified to serialized bytestream
writes to be used within 'regmap' framework

Original RFC thread can be found here:

First two patches are refactoring patches that add all the necessary
plumbing to the regmap internals and move old functionality to use
that infrastracture.

Third patch introduces code that implements 'no-bus' configuration

Andrey Smirnov (3):
Add provisions to have user-defined read operation
Add provisions to have user-defined write operation
Add "no-bus" option for regmap API

drivers/base/regmap/internal.h | 5 ++
drivers/base/regmap/regmap.c | 156 +++++++++++++++++++++++++++++-----------
include/linux/regmap.h | 7 ++
3 files changed, 126 insertions(+), 42 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/