[alsa-devel] [PATCH 1/3] new ad1836 codec driver based on asoc

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Aug 13 12:00:43 CEST 2009

On Thu, Aug 13, 2009 at 05:52:42PM +0800, Barry Song wrote:

> Well. If all chips need this same operation, can it be abstracted to
> the soc core layer?

The details of the register cache operation are entirely in the domain
of the chip - it's not mandatory to have a register cache at all and
some devices have complex register layouts which cause problems with
doing this in a fully automated fashion.  There are also issues with
some devices having things like soft reset registers in the middle of
their register map.

That said, there is some work in this direction - see soc-cache.c.

More information about the Alsa-devel mailing list