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

From: Mark Brown
Date: Fri May 04 2012 - 06:33:59 EST


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.

Attachment: signature.asc
Description: Digital signature