[lkml]   [2012]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/3] Add "no-bus" configuration for regmap API
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(-)


 \ /
  Last update: 2012-12-21 11:21    [W:0.139 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site