All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Christoph Fritz <chf.fritz@googlemail.com>,
	Sascha Hauer <kernel@pengutronix.de>,
	Shawn Guo <shawn.guo@linaro.org>,
	Fabio Estevam <festevam@gmail.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: Lockups reading from i.MX51 SSI registers
Date: Sat, 18 Aug 2012 09:42:16 +0200	[thread overview]
Message-ID: <20120818074216.GG2232@pengutronix.de> (raw)
In-Reply-To: <20120817222738.GH18871@opensource.wolfsonmicro.com>

On Fri, Aug 17, 2012 at 11:27:38PM +0100, Mark Brown wrote:
> On Fri, Aug 17, 2012 at 04:08:47PM -0300, Fabio Estevam wrote:
> 
> > Also, for the playback to work you need to install the SDMA firmware.
> 
> This is deadlocking during boot, I'm getting nowhere near trying
> playback.
You're on i.MX35, right. I had to add

	clk_register_clkdev(clk[ssi1_gate], NULL, "imx-ssi.0");

to arch/arm/mach-imx/clk-imx35.c to be able to access the codec.
(Obviously this is a hack, and to do it better, you'd need to change

	clk_register_clkdev(clk[ssi1_div_post], "per", "imx-ssi.0");

to use ssi1_gate and fix the ssi-driver to be aware that there are two
clocks to handle.)

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

WARNING: multiple messages have this Message-ID (diff)
From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [alsa-devel] Lockups reading from i.MX51 SSI registers
Date: Sat, 18 Aug 2012 09:42:16 +0200	[thread overview]
Message-ID: <20120818074216.GG2232@pengutronix.de> (raw)
In-Reply-To: <20120817222738.GH18871@opensource.wolfsonmicro.com>

On Fri, Aug 17, 2012 at 11:27:38PM +0100, Mark Brown wrote:
> On Fri, Aug 17, 2012 at 04:08:47PM -0300, Fabio Estevam wrote:
> 
> > Also, for the playback to work you need to install the SDMA firmware.
> 
> This is deadlocking during boot, I'm getting nowhere near trying
> playback.
You're on i.MX35, right. I had to add

	clk_register_clkdev(clk[ssi1_gate], NULL, "imx-ssi.0");

to arch/arm/mach-imx/clk-imx35.c to be able to access the codec.
(Obviously this is a hack, and to do it better, you'd need to change

	clk_register_clkdev(clk[ssi1_div_post], "per", "imx-ssi.0");

to use ssi1_gate and fix the ssi-driver to be aware that there are two
clocks to handle.)

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

  parent reply	other threads:[~2012-08-18  7:12 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-10 19:50 Lockups reading from i.MX51 SSI registers Mark Brown
2012-08-10 19:50 ` Mark Brown
2012-08-10 19:56 ` Sascha Hauer
2012-08-10 19:56   ` Sascha Hauer
2012-08-10 20:14   ` Uwe Kleine-König
2012-08-10 20:14     ` Uwe Kleine-König
2012-08-10 21:06     ` Sascha Hauer
2012-08-10 21:06       ` Sascha Hauer
2012-08-17 19:08       ` Fabio Estevam
2012-08-17 19:08         ` [alsa-devel] " Fabio Estevam
2012-08-17 22:27         ` Mark Brown
2012-08-17 22:27           ` [alsa-devel] " Mark Brown
2012-08-17 23:35           ` Fabio Estevam
2012-08-17 23:35             ` [alsa-devel] " Fabio Estevam
2012-08-18  6:31             ` Christoph Fritz
2012-08-18  6:31               ` [alsa-devel] " Christoph Fritz
2012-08-20 13:18             ` Mark Brown
2012-08-20 13:18               ` [alsa-devel] " Mark Brown
2012-08-20 13:24               ` Fabio Estevam
2012-08-20 13:24                 ` [alsa-devel] " Fabio Estevam
2012-08-18  7:42           ` Uwe Kleine-König [this message]
2012-08-18  7:42             ` Uwe Kleine-König
2012-08-18 14:53             ` Fabio Estevam
2012-08-18 14:53               ` [alsa-devel] " 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=20120818074216.GG2232@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=chf.fritz@googlemail.com \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawn.guo@linaro.org \
    /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.