On Mon, Sep 05, 2011 at 08:46:32PM +0200, Lars-Peter Clausen wrote:
Some buses like SPI have no standard notation of read or write operations. The general scheme here is to set or clear specific bits in the register address to indicate whether the operation is a read or write. We already support having a read flag mask per bus, but as there is no standard the bits which need to be set or cleared differ between devices and vendors, thus we need a mechanism to specify them per device.
So, I tried to apply this to my topic/interface branch (which is where I'm keeping stuff for merge into other trees) but that won't fly due to the internal.h change. What I might do to resolve the merge issues is to make a commit with the new regmap.h changes alone. This won't help in terms of actually running things but it'll keep things buildable which is more achievable.
Anyway, thanks for doing this - there's a bunch of other devices that need this.