[alsa-devel] PXA27x and AC97 reset bug

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Feb 7 12:36:39 CET 2008

On Thu, Feb 07, 2008 at 12:00:51AM +0100, Robert Jarzmik wrote:

> The basic question is : why can't the PXA27x reset the AC97 bus in front of an
> wm9713 ?

> And more precisely, I'd like to know :
>  - are there any references to this bug (Intel note, mailing list ref, ...)

I'm not aware of any public documentation for this.

>  - is it a hardware bug on PXA27x side ?

With the PXA27x AC97 controller it appears that doing a warm reset also
asserts the cold reset line so ends up performing a cold reset instead.

>  - is it a hardware bug on wm9713 side ?


>  - is there a known generic workaround (assuming GPIO113 is connected to wm9713
> reset line is not generic for me) ?

Since our previous discussion I've realised that the use of GPIO113 is
in fact a generic workaround - GPIO113 is the multi-function pin which
provides the AC97 cold reset.  What the workaround does is to control
that manually rather than allowing the AC97 controller in the chip to do
the job, avoiding the spurious cold reset.  Sorry about that.

>  - is there a known platform where this bug does not happen ?

It's not a bug in the WM9713 - the issue is more apparent with the
WM9713 than with most other devices since the WM9713 starts in a very
low power state link off and requires the warm reset to bring up the
AC97 link while most devices keep it running all the time.

I guess we need to go back to your original problem and take a look at
how the register cache and chip are getting out of sync.

More information about the Alsa-devel mailing list