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: > 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 > > 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? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/