Messages in this thread | | | From | Andrey Smirnov <> | Subject | [PATCH 0/3] Add "no-bus" configuration for regmap API | Date | Fri, 21 Dec 2012 01:47:15 -0800 |
| |
This patch proposes extension to the API that was suggested by Mark in the following thread: http://article.gmane.org/gmane.linux.kernel/1383734
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: https://lkml.org/lkml/2012/11/23/367
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(-)
-- 1.7.9.5
| |