[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1356083238-6932-1-git-send-email-andrew.smirnov@gmail.com>
Date: Fri, 21 Dec 2012 01:47:15 -0800
From: Andrey Smirnov <andrew.smirnov@...il.com>
To: andrey.smirnov@...vergeddevices.net
Cc: broonie@...nsource.wolfsonmicro.com, linux-kernel@...r.kernel.org
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:
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists