public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: tlv320dac33: FIFO mode updates
@ 2010-07-28 12:26 Peter Ujfalusi
  2010-07-28 12:26 ` [PATCH v2 1/2] ASoC: tlv320dac33: Revisit the FIFO Mode1 handling Peter Ujfalusi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Peter Ujfalusi @ 2010-07-28 12:26 UTC (permalink / raw)
  To: alsa-devel; +Cc: broonie, lrg

Hello,

Changes since v1:
- mode1_i2c_latecy renamed to mode1_latency

Intro mail from the first series:

The main feature of this series is the automatic FIFO configuration of the FIFO,
when one of the FIFO mode is selected.
The first patch simplifies the handling of the Mode1 in manual mode, and also
removes the hardwired latency definition from the code, so it can be adjusted
based on the underlying platform.

The second patch adds option to select the automatic FIFO configuration.
When this mode is selected the driver will configure the FIFO to match the
stream's period size with the burst length (in terms of samples bursted out from
the host).
In Mode1 this is trivial, since I can configure the nSample to match with the
period size. However the Mode7 is a bit more complicated. The formula
(UTHR_FROM_PERIOD_SIZE) calculates the UTHR configuration for the given number
of samples.

The patches are generated against:
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git:topic/asoc

---
Peter Ujfalusi (2):
  ASoC: tlv320dac33: Revisit the FIFO Mode1 handling
  ASoC: tlv320dac33: Add support for automatic FIFO configuration

 include/sound/tlv320dac33-plat.h |    2 +
 sound/soc/codecs/tlv320dac33.c   |  125 ++++++++++++++++++++++++--------------
 2 files changed, 82 insertions(+), 45 deletions(-)

--
1.7.2

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

end of thread, other threads:[~2010-07-29  9:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28 12:26 [PATCH v2 0/2] ASoC: tlv320dac33: FIFO mode updates Peter Ujfalusi
2010-07-28 12:26 ` [PATCH v2 1/2] ASoC: tlv320dac33: Revisit the FIFO Mode1 handling Peter Ujfalusi
2010-07-28 12:26 ` [PATCH v2 2/2] ASoC: tlv320dac33: Add support for automatic FIFO configuration Peter Ujfalusi
2010-07-28 17:34 ` [PATCH v2 0/2] ASoC: tlv320dac33: FIFO mode updates Mark Brown
2010-07-29  9:22   ` Liam Girdwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox