* PGP Signed by an unknown keyFine, it will much simple in this case.
On Wed, Feb 08, 2012 at 05:45:43PM +0530, Laxman Dewangan wrote:
I did not wanted to make the list of register in core driver. WantedYes, it should be in the core driver.
to leave the decision to the sub-devices driver where they need to
enable cache based on their requirements.
Do you think that the register list (although it is used in the
regulator driver) should be in the core file? If this is allow then
I can make the static table in core driver.
Yes, change regmap core driver i.e. regmap.c
This function added because there is no bulk_write function in coreThis is the core driver? If you mean the regmap core then yes.
driver which supports the non-volatile in the list. Even if number
of bytes read is 1.
Should we move the above logic to core driver?
* @map: Register map to write to- If any of the register is non-volatile in bulk write then splitYes, though bulk_write() is tricky as it's *really* unclear what it
the transfer into the byte-wise/short-wise/long-wise
(format.val_bytes) based on register width?
- If all register is volatile the uses the regmap_raw_write()
Does it sounds reasonable? If yes then I can move this code to
regmap.c as regmap_bulk_write() i.e. new function.
should take as an argument - should it be raw register size (in which
case it's just raw_write()) or should it be ints (in which case it needs
to repack the data too)? I suspect ints but I'm really not convinced
there's much use case for this.
* Unknown Key
* 0x6E30FDDD