All of lore.kernel.org
 help / color / mirror / Atom feed
* Audio glitch with SGTL5000
@ 2015-01-20 22:12 Nikolay Dimitrov
  2015-01-20 22:23 ` Fabio Estevam
  0 siblings, 1 reply; 34+ messages in thread
From: Nikolay Dimitrov @ 2015-01-20 22:12 UTC (permalink / raw)
  To: meta-freescale

Hi guys,

I'm observing a specific issue with SGTL5000 - after I stop the audio
playback, after several seconds there's a single strong audio glitch
(thump, pulse). In my case the audio codec is directly connected to the
product speaker amps (without any attenuators) and the experience can
be hardly described as pleasant...

I traced this behavior to the Linux kernel DAPM (Dynamic Audio Power
Management), which turns off all the analog and digital circuitry after
there's no audio stream for several seconds.

It looks like DAPM is not designed to be switched off, so I had to do
some (brutal) surgery to quick-solve the issue. I still have the
following gut feelings:
1. If this is an widespread issue, others should have seen it already.
2. If not, than maybe I have issue with my device tree and/or kernel
config.

Some info about my setup - imx6d, kernel 3.10.17-1.0.0ga, yocto daisy,
direct ALSA playback. Here's an extract of my DT audio settings:

sound {
	compatible = "fsl,imx-audio-sgtl5000";
	model = "imx6-myboard-sgtl5000";
	ssi-controller = <&ssi1>;
	audio-codec = <&codec>;
	audio-routing =
		"MIC_IN", "Mic Jack",
		"Mic Jack", "Mic Bias",
		"Headphone Jack", "HP_OUT";
	mux-int-port = <1>;
	mux-ext-port = <3>;
};

&ssi1 {
	fsl,mode = "i2s-slave";
	status = "okay";
};

Please share if you have observed similar behavior on your boards.
Thanks in advance!

Kind regards,
Nikolay


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

end of thread, other threads:[~2015-07-02 22:22 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-20 22:12 Audio glitch with SGTL5000 Nikolay Dimitrov
2015-01-20 22:23 ` Fabio Estevam
2015-01-21  0:34   ` Nikolay Dimitrov
2015-01-21  0:38     ` Nikolay Dimitrov
2015-01-21  0:51       ` Fabio Estevam
2015-01-21  0:50     ` Fabio Estevam
2015-01-21  2:30       ` Nikolay Dimitrov
2015-01-21  2:56         ` Fabio Estevam
2015-01-21  2:59           ` Fabio Estevam
2015-01-21 23:55             ` Nikolay Dimitrov
2015-01-22  0:00               ` Fabio Estevam
2015-01-22  4:59                 ` Nikolay Dimitrov
2015-01-22 13:24                 ` Gary Thomas
2015-01-22 18:32                   ` Nikolay Dimitrov
2015-01-22 18:35                     ` Gary Thomas
2015-01-22 19:05                       ` Eric Nelson
2015-01-22 19:20                         ` Nikolay Dimitrov
2015-01-22 19:33                           ` Fabio Estevam
2015-01-22 19:49                             ` Nikolay Dimitrov
2015-01-22 19:52                               ` Fabio Estevam
2015-02-28 18:53                                 ` Eric Nelson
2015-02-28 20:29                                   ` Otavio Salvador
2015-03-01 15:08                                   ` Gary Thomas
2015-06-24 18:12                                     ` Nikolay Dimitrov
2015-07-02 21:37                                       ` Otavio Salvador
2015-07-02 22:21                                         ` Nikolay Dimitrov
2015-03-01 21:29                                   ` Nikolay Dimitrov
2015-03-01 22:40                                     ` Eric Nelson
2015-01-22 19:21                         ` Gary Thomas
2015-01-22 19:46                           ` Gary Thomas
2015-01-22 19:49                             ` Fabio Estevam
2015-01-22 20:16                               ` Gary Thomas
2015-01-22 20:28                                 ` Nikolay Dimitrov
2015-01-22 20:38                                   ` Gary Thomas

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.