From: Timur Tabi <timur@freescale.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: alsa-devel@alsa-project.org,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 06/12] imx-ssi sound driver
Date: Sat, 28 Nov 2009 13:53:30 -0600 [thread overview]
Message-ID: <4B117FBA.601@freescale.com> (raw)
In-Reply-To: <20091123121055.GE30179@pengutronix.de>
Sascha Hauer wrote:
> Mainly because I wasn't aware of the fact that the fsl driver is the
> same:(
So "fsl-ssi.c" was not a clue? :-)
>
> I'm currently looking if and how the code can be merged. I don't know if
> it's worth it though since the common code doesn't seem to be very big.
That's probably because my driver only supports I2S and yours supports AC97.
Please, DMA is different. I wasn't really expecting you to be able to re-use
my driver, but I figured you could at least re-use the macros I've defined in
fsl-ssi.h
> There will have to be some changes in the fsl-ssi driver. For example I
> need the irq handler for my fiq handler which means that the fsl-ssi
> driver is not allowed to request the irq for it's statistic.
That shouldn't be a problem, since the statistics never show anything useful
anyway.
> The other
> thing is the hardware accesses as we do not have in_be*, out_be* and
> setbits/clrbits. Of course all these things are doable and shouldn't be
> a showstopper.
These should be defined in the arch/arm header files anyway.
--
Timur Tabi
Linux Kernel Developer @ Freescale
WARNING: multiple messages have this Message-ID (diff)
From: timur@freescale.com (Timur Tabi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 06/12] imx-ssi sound driver
Date: Sat, 28 Nov 2009 13:53:30 -0600 [thread overview]
Message-ID: <4B117FBA.601@freescale.com> (raw)
In-Reply-To: <20091123121055.GE30179@pengutronix.de>
Sascha Hauer wrote:
> Mainly because I wasn't aware of the fact that the fsl driver is the
> same:(
So "fsl-ssi.c" was not a clue? :-)
>
> I'm currently looking if and how the code can be merged. I don't know if
> it's worth it though since the common code doesn't seem to be very big.
That's probably because my driver only supports I2S and yours supports AC97.
Please, DMA is different. I wasn't really expecting you to be able to re-use
my driver, but I figured you could at least re-use the macros I've defined in
fsl-ssi.h
> There will have to be some changes in the fsl-ssi driver. For example I
> need the irq handler for my fiq handler which means that the fsl-ssi
> driver is not allowed to request the irq for it's statistic.
That shouldn't be a problem, since the statistics never show anything useful
anyway.
> The other
> thing is the hardware accesses as we do not have in_be*, out_be* and
> setbits/clrbits. Of course all these things are doable and shouldn't be
> a showstopper.
These should be defined in the arch/arm header files anyway.
--
Timur Tabi
Linux Kernel Developer @ Freescale
next prev parent reply other threads:[~2009-11-28 19:53 UTC|newest]
Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-19 15:48 i.MX audio support Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 01/12] mx3: Add SSI pins to iomux table Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 02/12] mxc: iomux v3: remove resource handling Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 03/12] add a mc13783 codec driver Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 04/12] i.MX31 clock: rename SSI clocks to driver name Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 05/12] mxc: mx1/mx2 DMA: add a possibility to create an endless DMA transfer Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 06/12] imx-ssi sound driver Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 07/12] add phycore sound support Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 08/12] sound/soc/imx: Makefile/Kconfig changes for new driver Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 09/12] pcm038: add sound support Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 10/12] pcm043: " Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 11/12] pca100: " Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 15:48 ` [PATCH 12/12] pcm037: Add " Sascha Hauer
2009-11-19 15:48 ` Sascha Hauer
2009-11-19 19:03 ` [PATCH 07/12] add phycore " Mark Brown
2009-11-19 19:03 ` [alsa-devel] " Mark Brown
2009-11-20 11:11 ` [PATCH 06/12] imx-ssi sound driver Mark Brown
2009-11-20 11:11 ` [alsa-devel] " Mark Brown
2009-11-22 2:12 ` Timur Tabi
2009-11-22 2:12 ` Timur Tabi
2009-11-23 12:00 ` Mark Brown
2009-11-23 12:00 ` Mark Brown
2009-11-23 12:13 ` Sascha Hauer
2009-11-23 12:13 ` Sascha Hauer
2009-11-28 22:00 ` Timur Tabi
2009-11-28 22:00 ` Timur Tabi
2009-11-23 12:10 ` Sascha Hauer
2009-11-23 12:10 ` Sascha Hauer
2009-11-28 19:53 ` Timur Tabi [this message]
2009-11-28 19:53 ` Timur Tabi
2009-11-19 19:30 ` [PATCH 03/12] add a mc13783 codec driver Mark Brown
2009-11-19 19:30 ` [alsa-devel] " Mark Brown
2009-11-25 7:46 ` Sascha Hauer
2009-11-25 7:46 ` [alsa-devel] " Sascha Hauer
2009-11-25 10:39 ` Mark Brown
2009-11-25 10:39 ` [alsa-devel] " Mark Brown
2009-11-25 11:08 ` Sascha Hauer
2009-11-25 11:08 ` [alsa-devel] " Sascha Hauer
2009-11-25 11:10 ` Mark Brown
2009-11-25 11:10 ` [alsa-devel] " Mark Brown
2009-11-25 11:30 ` Sascha Hauer
2009-11-25 11:30 ` [alsa-devel] " Sascha Hauer
2009-11-25 12:00 ` Mark Brown
2009-11-25 12:00 ` [alsa-devel] " Mark Brown
2009-11-19 16:28 ` i.MX audio support Mark Brown
2009-11-19 16:28 ` Mark Brown
2009-11-19 17:53 ` Sascha Hauer
2009-11-19 17:53 ` Sascha Hauer
2009-11-19 18:54 ` Mark Brown
2009-11-19 18:54 ` [alsa-devel] " Mark Brown
2009-11-20 7:51 ` javier Martin
2009-11-20 7:51 ` [alsa-devel] " javier Martin
2009-11-20 9:51 ` Sascha Hauer
2009-11-20 9:51 ` [alsa-devel] " Sascha Hauer
2009-11-20 10:32 ` javier Martin
2009-11-20 10:32 ` [alsa-devel] " javier Martin
2009-11-20 11:10 ` Sascha Hauer
2009-11-20 11:10 ` [alsa-devel] " Sascha Hauer
2009-11-19 16:32 ` Mark Brown
2009-11-19 16:32 ` Mark Brown
2009-11-19 17:47 ` Sascha Hauer
2009-11-19 17:47 ` [alsa-devel] " Sascha Hauer
2009-11-19 18:32 ` Mark Brown
2009-11-19 18:32 ` [alsa-devel] " Mark Brown
2009-11-20 11:17 ` Mark Brown
2009-11-20 11:17 ` Mark Brown
2009-11-20 12:27 ` Sascha Hauer
2009-11-20 12:27 ` Sascha Hauer
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=4B117FBA.601@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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.