1 Nov
2012
1 Nov
'12
3:35 p.m.
On Wed, Oct 31, 2012 at 03:40:17PM +0100, Mike Looijmans wrote:
is a very nice power saving feature. I just cache all the register settings up until that point (which required a bit of coding because of the "paging" of the I2C address space).
Probably easiest to just convert over to regmap, it handles paging fine.
It was the best I could think off at the time, and it made me wonder why those reset lines aren't modelled this way more often.
This breaks down if any of the drivers actually uses the reset pin to reset the chip - if the reset might not actually happen but the driver wants it to happen then things are going to go wrong.