linux-hardened/arch/powerpc/platforms/52xx
Eric Millbrandt cfa6a88c83 powerpc/5200: add mpc5200_psc_ac97_gpio_reset
Work around a silicon bug in the ac97 reset functionality of the
mpc5200(b).  The implementation of the ac97 "cold" reset is flawed.
If the sync and output lines are high when reset is asserted the
attached ac97 device may go into test mode.  Avoid this by
reconfiguring the psc to gpio mode and generating the reset manually.

From MPC5200B User's Manual:
"Some AC97 devices goes to a test mode, if the Sync line is high
during the Res line is low (reset phase). To avoid this behavior the
Sync line must be also forced to zero during the reset phase. To do
that, the pin muxing should switch to GPIO mode and the GPIO control
register should be used to control the output lines."

Signed-off-by: Eric Millbrandt <emillbrandt@dekaresearch.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2010-08-06 20:49:18 -06:00
..
efika.c kbuild: move utsrelease.h to include/generated 2009-12-12 13:08:15 +01:00
Kconfig powerpc/5200: add LocalPlus bus FIFO device driver 2009-11-04 16:42:47 -07:00
lite5200.c of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
lite5200_pm.c powerpc: Clean up obsolete code relating to decrementer and timebase 2010-07-09 11:26:16 +10:00
lite5200_sleep.S [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
Makefile powerpc/5200: add LocalPlus bus FIFO device driver 2009-11-04 16:42:47 -07:00
media5200.c genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
mpc52xx_common.c powerpc/5200: add mpc5200_psc_ac97_gpio_reset 2010-08-06 20:49:18 -06:00
mpc52xx_gpio.c powerpc: remove references to of_device and to_of_device 2010-07-24 09:58:21 -06:00
mpc52xx_gpt.c powerpc: remove references to of_device and to_of_device 2010-07-24 09:58:21 -06:00
mpc52xx_lpbfifo.c powerpc: remove references to of_device and to_of_device 2010-07-24 09:58:21 -06:00
mpc52xx_pci.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
mpc52xx_pic.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
mpc52xx_pm.c powerpc: Clean up obsolete code relating to decrementer and timebase 2010-07-09 11:26:16 +10:00
mpc52xx_sleep.S [POWERPC] mpc52xx suspend to deep-sleep 2007-05-07 20:31:15 +10:00
mpc5200_simple.c mpc5200: support for the MAN mpc5200 based board mucmc52 2009-10-15 09:33:24 -06:00