linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 v3] mpc5200 ac97 gpio reset
@ 2010-06-15 16:05 Eric Millbrandt
  2010-06-15 16:05 ` [PATCH 1/2 v3] powerpc/5200: add mpc5200_psc_ac97_gpio_reset Eric Millbrandt
  2010-06-22 23:00 ` [PATCH 0/2 v3] mpc5200 ac97 gpio reset Mark Brown
  0 siblings, 2 replies; 11+ messages in thread
From: Eric Millbrandt @ 2010-06-15 16:05 UTC (permalink / raw)
  To: Grant Likely; +Cc: Mark Brown, linuxppc-dev

These patches reimplement the reset fuction in the ac97 to use gpio pins
instead of using the mpc5200 ac97 reset functionality in the psc.  This
avoids a problem in which attached ac97 devices go into "test" mode appear
unresponsive.

These patches were tested on a pcm030 baseboard and on custom hardware with
a wm9715 audio codec/touchscreen controller.

Eric Millbrandt

---

changes since v1
- Refactored to manipulate port_config and gpio pins internally instead of
  exporting an API.
- Amended commit message with comments from Mark Brown
- Refactored to move the port_config manipulation to platform code.
- Remove the gpio pins from the device-tree

changes since v2
- Factored out gpiolib calls, write to the gpio registers directly
- Remove redundant checks around call to mpc5200_psc_ac97_gpio_reset()

Eric Millbrandt (2):
    powerpc/5200: add mpc5200_psc_ac97_gpio_reset
    sound/soc: mpc5200_psc_ac97: Use gpio pins for cold reset

 arch/powerpc/include/asm/mpc52xx.h           |    1 +
 arch/powerpc/include/asm/mpc52xx_psc.h       |    1 +
 arch/powerpc/platforms/52xx/mpc52xx_common.c |  113 ++++++++++++++++++++++=
++++
 sound/soc/fsl/mpc5200_psc_ac97.c             |   22 ++++-
 4 files changed, 133 insertions(+), 4 deletions(-)

-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-


This e-mail and the information, including any attachments, it contains are=
 intended to be a confidential communication only to the person or entity t=
o whom it is addressed and may contain information that is privileged. If t=
he reader of this message is not the intended recipient, you are hereby not=
ified that any dissemination, distribution or copying of this communication=
 is strictly prohibited. If you have received this communication in error, =
please immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-08-06 18:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-15 16:05 [PATCH 0/2 v3] mpc5200 ac97 gpio reset Eric Millbrandt
2010-06-15 16:05 ` [PATCH 1/2 v3] powerpc/5200: add mpc5200_psc_ac97_gpio_reset Eric Millbrandt
2010-06-15 16:05   ` [PATCH 2/2 v4] sound/soc: mpc5200_psc_ac97: Use gpio pins for cold reset Eric Millbrandt
2010-06-15 21:53   ` [PATCH 1/2 v4] powerpc/5200: add mpc5200_psc_ac97_gpio_reset Eric Millbrandt
2010-06-22 23:00 ` [PATCH 0/2 v3] mpc5200 ac97 gpio reset Mark Brown
2010-06-25 23:04   ` Grant Likely
2010-06-27 22:01     ` Mark Brown
2010-08-01  4:42       ` Grant Likely
2010-08-03  5:52         ` Mark Brown
2010-08-05 12:59           ` Eric Millbrandt
2010-08-06 18:44             ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).