Re: Linux 3.4-rc2 register mapping and paging on I2C device.

Mark Brown
2012-05-04T10:34:03Z

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

On Fri, May 04, 2012 at 11:35:58AM +0200, dd diasemi wrote:

> Below you can find my proposition of API for regmap paging support. It
> is sufficient for my driver needs.
> If you are OK with this proposition or you find any issues with it, let me know.

Please submit an actual patch, this needs to be supported by things like
the cache infrastructure as well. One thing that's not obvious with
just this is how things like register defaults and iterating all the
known registers will work.

> +config REGMAP_PAGING
> + bool

No, this needs to work with both paged and non-paged devices.