* I2S simple driver
@ 2008-07-30 23:17 Alessio Sangalli
2008-07-31 9:52 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Alessio Sangalli @ 2008-07-30 23:17 UTC (permalink / raw)
To: alsa-devel
Hi, we are writing a small driver to control a I2S interface on our
ARM-based system...
Right now we are going to implement a "easier" interface that allows to
set some parameters, and then simply write to the device that will
automatically control the DAC and then to the speakers.
Now, this is of course not ALSA compliant. How can we estimate the
effort to make this simple driver ALSA compatible so that every ALSA
application can use this device for playback? We do not have any volume
control and the range of sound "modes" is extremely limited.
bye
as
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: I2S simple driver
2008-07-30 23:17 I2S simple driver Alessio Sangalli
@ 2008-07-31 9:52 ` Mark Brown
2008-07-31 18:36 ` Alessio Sangalli
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2008-07-31 9:52 UTC (permalink / raw)
To: Alessio Sangalli; +Cc: alsa-devel
On Wed, Jul 30, 2008 at 04:17:50PM -0700, Alessio Sangalli wrote:
> Hi, we are writing a small driver to control a I2S interface on our
> ARM-based system...
Which processor are you using?
> Right now we are going to implement a "easier" interface that allows to
> set some parameters, and then simply write to the device that will
> automatically control the DAC and then to the speakers.
> Now, this is of course not ALSA compliant. How can we estimate the
> effort to make this simple driver ALSA compatible so that every ALSA
> application can use this device for playback? We do not have any volume
> control and the range of sound "modes" is extremely limited.
You might want to have a look at the ASoC subsystem under sound/soc - it
provides a framework which should allow you to bring something up fairly
quickly. The core of this framework handles the ALSA interfacing that
isn't specific to a given piece of hardware with separate drivers being
provided for each hardware component which only need implement the
specifics for the device.
As well as the code there's some documentation in the kernel sources
under Documentation/sound/alsa/soc.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: I2S simple driver
2008-07-31 9:52 ` Mark Brown
@ 2008-07-31 18:36 ` Alessio Sangalli
0 siblings, 0 replies; 3+ messages in thread
From: Alessio Sangalli @ 2008-07-31 18:36 UTC (permalink / raw)
To: alsa-devel
Mark Brown wrote:
> On Wed, Jul 30, 2008 at 04:17:50PM -0700, Alessio Sangalli wrote:
>> Hi, we are writing a small driver to control a I2S interface on our
>> ARM-based system...
>
> Which processor are you using?
ARM926EJ
> You might want to have a look at the ASoC subsystem under sound/soc - it
Thanks, we will have a look
bye!
as
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-31 18:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-30 23:17 I2S simple driver Alessio Sangalli
2008-07-31 9:52 ` Mark Brown
2008-07-31 18:36 ` Alessio Sangalli
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.