From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lrg@slimlogic.co.uk>,
Timur Tabi <timur@freescale.com>,
Javier Martin <javier.martin@vista-silicon.com>
Subject: Re: [PATCH 4/4] ASoC: Flag the i.MX SSI driver as using symmetric rates
Date: Mon, 11 Jan 2010 12:30:23 +0000 [thread overview]
Message-ID: <20100111123022.GA27161@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <20100111121419.GV6923@pengutronix.de>
On Mon, Jan 11, 2010 at 01:14:19PM +0100, Sascha Hauer wrote:
> On Mon, Jan 11, 2010 at 11:36:31AM +0000, Mark Brown wrote:
> > At least some of the driver was unconditionally setting both TX and RX
> > configuration simultaneously, though looking again hw_params() is OK.
> You probably mean imx_ssi_set_dai_fmt(), imx_ssi_set_dai_tdm_slot()
> and imx_ssi_set_dai_sysclk(). We do not have the playback/record
> information available in these functions. Should we pass a struct
> snd_pcm_substream * to the functions?
Hrm, I think it was tdm_slot() - you get separate RX and TX masks so it
should be able to work asymmetrically.
> > I'll drop the patch. Like I say, I've never actually seen the driver
> > working - even when configured as the master it doesn't seem to do any
> > DMA (well, FIQs).
> Unfortunately I do not have a mx31ads available, so I can't provide a
> driver for this board. I never used master mode, but if I understand the
> datasheet correctly the SSI unit has two clock inputs, one for the
> register accesses which gets enabled by clk_enable and one for the baud
> rate which doesn't get touched by the driver atm. Have you checked that
> the baud clock is configured correctly?
Oh, then the master mode support should just be removed from the driver
until it actually does all the required work. That'd have saved me some
time...
> If you have by chance a mx27ads or a mx35 3stack board I could see that
> I make the driver work on one of these boards.
I have neither of those boards.
next prev parent reply other threads:[~2010-01-11 12:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-08 16:19 [PATCH 1/4] ASoC: Add a new imx-ssi sound driver Mark Brown
2010-01-08 16:19 ` [PATCH 2/4] ASoC: Fix i.MX audio build for i.MX3x Mark Brown
2010-01-08 16:19 ` [PATCH 3/4] ASoC: Convert new i.MX SSI driver to use static DAI array Mark Brown
2010-01-08 16:19 ` [PATCH 4/4] ASoC: Flag the i.MX SSI driver as using symmetric rates Mark Brown
2010-01-11 11:20 ` Sascha Hauer
2010-01-11 11:36 ` Mark Brown
2010-01-11 11:39 ` javier Martin
2010-01-11 11:51 ` Mark Brown
2010-01-11 15:51 ` Timur Tabi
2010-01-11 16:25 ` Mark Brown
2010-01-11 17:38 ` Sascha Hauer
2010-01-11 12:14 ` Sascha Hauer
2010-01-11 12:30 ` Mark Brown [this message]
2010-01-11 7:33 ` [PATCH 1/4] ASoC: Add a new imx-ssi sound driver javier Martin
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=20100111123022.GA27161@rakim.wolfsonmicro.main \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=javier.martin@vista-silicon.com \
--cc=lrg@slimlogic.co.uk \
--cc=s.hauer@pengutronix.de \
--cc=timur@freescale.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.