[lkml]   [2012]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] [RFC] regmap: Add no-"bus" configuration possibility
On 11/03/2012 05:18 PM, Andrey Smirnov wrote:
> 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
> This patch adds two callbacks to the 'regmap' configuration which user
> is expected to set with their implementation of read and write
> functionality for the device.
> I am not very well versed with the code of the remap framework so I
> apologize if my proposal has some glaring mistakes and I would
> welcome any suggestion or criticism on how to either improve the code
> or implement the proposal in a better way.
> This commit has only purpose of illustrating the proposed extension of
> the 'regmap' API. It has never been compiled or tested.

Mark, did you by any chance had a time to look at this RFC?

 \ /
  Last update: 2012-11-14 02:01    [W:3.015 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site