From: Craig McQueen <craig.mcqueen@beamcommunications.com>
To: Michael Trimarchi <michael@amarulasolutions.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Pop and offsets at start of audio playback/record for SGTL5000 on i.MX28
Date: Mon, 17 Nov 2014 11:35:07 +1100 [thread overview]
Message-ID: <546942BB.8070804@beamcommunications.com> (raw)
In-Reply-To: <CAOf5uw=weZczcJNegd6P9Q7tnE3grbiLzYUHJo6xEOijYfeDRQ@mail.gmail.com>
On 14/11/14 13:04, Michael Trimarchi wrote:
>
> Hi
>
> Il 14/nov/2014 09:58 "Craig McQueen"
> <craig.mcqueen@beamcommunications.com
> <mailto:craig.mcqueen@beamcommunications.com>> ha scritto:
> >
> > On 14/11/14 12:45, Michael Trimarchi wrote:
> >>
> >> Hi
> >>
> >> Il 14/nov/2014 09:44 "Craig McQueen"
> <craig.mcqueen@beamcommunications.com
> <mailto:craig.mcqueen@beamcommunications.com>> ha scritto:
> >> >
> >> > I'm testing the 3.14.19 kernel for i.MX28 EVK, which has an
> SGTL5000 CODEC. I've also tested on the 3.18-rc4 kernel and confirmed
> this issue still occurs.
> >> >
> >>
> >> Are you using it in master or slave mode?
> >
> >
>
> Try to change the pin mux of data line in order to be hz in idle mode
> and add a small pull down resistor. Can you check if the dataline is
> up when clocks go off?
>
Is it the I2S_DIN pin you're referring to?
This is the Freescale i.MX28 EVK we're talking about, so it's best to
have a software fix that works on the stock EVK hardware. I'm checking
the schematics and I don't see a pull-down. The following is in the
imx28.dtsi device tree source:
saif0_pins_b: saif0@1 {
reg = <1>;
fsl,pinmux-ids = <
MX28_PAD_SAIF0_LRCLK__SAIF0_LRCLK
MX28_PAD_SAIF0_BITCLK__SAIF0_BITCLK
MX28_PAD_SAIF0_SDATA0__SAIF0_SDATA0
>;
fsl,drive-strength = <MXS_DRIVE_12mA>;
fsl,voltage = <MXS_VOLTAGE_HIGH>;
fsl,pull-up = <MXS_PULL_ENABLE>;
};
However on the i.MX28 I don't think the SAIF0_SDATA0 pin actually has a
pull-up (only a few pins do).
Anyway, I will look into that soon.
--
Craig McQueen
next prev parent reply other threads:[~2014-11-17 0:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 1:43 Pop and offsets at start of audio playback/record for SGTL5000 on i.MX28 Craig McQueen
2014-11-14 1:45 ` Michael Trimarchi
2014-11-14 1:58 ` Craig McQueen
2014-11-14 2:04 ` Michael Trimarchi
2014-11-17 0:35 ` Craig McQueen [this message]
2014-11-17 0:41 ` Michael Trimarchi
2014-11-14 3:59 ` Fabio Estevam
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=546942BB.8070804@beamcommunications.com \
--to=craig.mcqueen@beamcommunications.com \
--cc=alsa-devel@alsa-project.org \
--cc=michael@amarulasolutions.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.