From: Bas Vermeulen <Bas.Vermeulen@novero.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: "Bas Vermeulen (CentricTSolve/Bochum)"
<ext-Bas.Vermeulen@novero.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: [ASoC] 88pm860x - Incorporate the marvell errata regarding Audio Power-up Delay.
Date: Mon, 19 Sep 2011 13:38:11 +0200 [thread overview]
Message-ID: <4E7729A3.4070102@novero.com> (raw)
In-Reply-To: <20110917133206.GB3798@sirena.org.uk>
[-- Attachment #1: Type: text/plain, Size: 492 bytes --]
On 09/17/2011 03:32 PM, Mark Brown wrote:
>> Note that in order to be able to use playback and capture independently
>> on the I2S interface (within reason, it is not possible to use a
>> different rate for instance), I had to add a SUPPLY control to the dapm
>> widgets that turns on the I2S clock when needed.
> Can you send a patch for this please?
This patch implements the audio power-up delay errata for the 88PM8607,
meaning the codec will actually be reset.
Regards,
Bas Vermeulen
[-- Attachment #2: 0002-ASoC-88pm860x-codec-reset-the-codec-correctly.patch --]
[-- Type: text/x-patch, Size: 1127 bytes --]
>From 55d78799fc7e492f582bc7feb4cb3251e8ef895d Mon Sep 17 00:00:00 2001
From: Bas Vermeulen <bas.vermeulen@novero.com>
Date: Mon, 19 Sep 2011 13:09:10 +0200
Subject: [PATCH 2/2] [ASoC] 88pm860x-codec - reset the codec correctly
Reset the codec according to the Audio power-up delay errata for the 88PM8607.
Signed-off-by: Bas Vermeulen <bas.vermeulen@novero.com>
---
sound/soc/codecs/88pm860x-codec.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/88pm860x-codec.c b/sound/soc/codecs/88pm860x-codec.c
index 0198dbb..df7b4a0 100644
--- a/sound/soc/codecs/88pm860x-codec.c
+++ b/sound/soc/codecs/88pm860x-codec.c
@@ -1179,6 +1179,9 @@ static int pm860x_set_bias_level(struct snd_soc_codec *codec,
case SND_SOC_BIAS_STANDBY:
if (codec->dapm.bias_level == SND_SOC_BIAS_OFF) {
/* Enable Audio PLL & Audio section */
+ data = AUDIO_PLL | AUDIO_SECTION_ON;
+ pm860x_reg_write(codec->control_data, REG_MISC2, data);
+ udelay(300);
data = AUDIO_PLL | AUDIO_SECTION_RESET
| AUDIO_SECTION_ON;
pm860x_reg_write(codec->control_data, REG_MISC2, data);
--
1.7.0.4
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2011-09-19 12:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-16 14:07 ASoC/DAPM: How to make the DAPM routing complete? Bas Vermeulen
2011-09-17 13:32 ` Mark Brown
2011-09-19 11:35 ` [ASoC] 88pm860x - Allow independent use of I2S capture and playback Bas Vermeulen
2011-09-20 11:34 ` Mark Brown
2011-09-21 14:55 ` Mark Brown
2011-09-19 11:38 ` Bas Vermeulen [this message]
2011-09-20 11:34 ` [ASoC] 88pm860x - Incorporate the marvell errata regarding Audio Power-up Delay Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E7729A3.4070102@novero.com \
--to=bas.vermeulen@novero.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=ext-Bas.Vermeulen@novero.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.