Re: [PATCH 4/8] regmap: Add the LZO cache support
From: Mark Brown
Date: Wed Sep 07 2011 - 15:19:09 EST
On Mon, Sep 05, 2011 at 09:40:45PM +0000, Matthieu CASTET wrote:
> Dimitris Papastamos <dp <at> opensource.wolfsonmicro.com> writes:
Don't drop CCs from mails if you want people to actually read them.
> > This patch adds support for LZO compression when storing the register
> > cache.
> > For a typical device whose register map would normally occupy 25kB or 50kB
> > by using the LZO compression technique, one can get down to ~5-7kB.
> Do you have example of such case ?
> Caching 25kB or 50kB looks crazy.
Audio CODECs for smartphones can easily have well over a thousand
registers (excluding things like DSP memories) connected over
rel;atively slow buses like I2C or SPI with lots of read/modify/write
cycles (so cutting out the physical read is a real win) and we want to
power them off when not in use.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/