Re: [alsa-devel] [PATCH 4/4] ASoC: da7213: Improve 32KHz mode PLL locking

From: Mark Brown
Date: Fri Aug 05 2016 - 06:31:30 EST


On Fri, Aug 05, 2016 at 11:04:51AM +0200, Peter Meerwald-Stadler wrote:

> these registers cannot not found in the datasheet;
> maybe add descriptive #defines in da7213.h

> > + snd_soc_write(codec, 0xF0, 0x8B);
> > + snd_soc_write(codec, 0xF2, 0x03);
> > + snd_soc_write(codec, 0xF0, 0x00);

It is very common for chips to have undocumented write sequences that
make tweaks based on test registers that are deliberately not
documented. This looks like such a case, I'd imagine that register 0xf0
is a test key and 0xf2 contains a value being tweaked.

Attachment: signature.asc
Description: PGP signature