All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] davinci-mcasp: fix tdm_slots and CBM/CFS
@ 2011-04-21 18:19 Ben Gardiner
       [not found] ` <cover.1303408522.git.bengardiner-ScDXFp4xN3PN+rMO2ozGnw@public.gmane.org>
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Ben Gardiner @ 2011-04-21 18:19 UTC (permalink / raw)
  To: Liam Girdwood, alsa-devel
  Cc: Mark Brown, Jaroslav Kysela, Takashi Iwai, Sekhar Nori,
	davinci-linux-open-source, James Nuss, linux-kernel

This patch series is comprised of three bugfixes and one cleanup that 
were performed during prototyping of McASP operation in codec clock-
master frame-slave mode.

First we noticed that the check of the number of tdm slots requested
by platform data was always returning true -- unrelated to CMB/CFS
mode.

Then a cleanup: the PDIR values set are currently based on magic 
numbers and there are  available bitfield definitions. Not strictly
needed but it makes the changes introduced in the last patch simpler
to read.

It was found that the hardware parameters assigned when 
codec clock-master frame-slave is requested were incorrect. This
change is required for correct CBM/CFS operation.

Finally, the direction of the pins is corrected to reflect the
implications of codec clock-master frame-slave -- i.e. mcasp clock-
input frame-output. This change is also required for correct operation.

The combination was tested with a logic analyzer and the hrtimer pwm
device from Bill Gatliff's PWM framework [1] on a da850evm with
hardware modifications to access the McASP lines.

[1] http://article.gmane.org/gmane.linux.kernel.embedded/3486/

Ben Gardiner (4):
  davinci-mcasp: correct tdm_slots limit
  davinci-mcasp: use bitfield definitions for PDIR
  davinci-mcasp: fix _CBM_CFS hw_params
  davinci-mcasp: fix _CBM_CFS pin directions

 sound/soc/davinci/davinci-mcasp.c |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

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

end of thread, other threads:[~2011-04-26 13:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21 18:19 [PATCH 0/4] davinci-mcasp: fix tdm_slots and CBM/CFS Ben Gardiner
     [not found] ` <cover.1303408522.git.bengardiner-ScDXFp4xN3PN+rMO2ozGnw@public.gmane.org>
2011-04-21 18:19   ` [PATCH 1/4] davinci-mcasp: correct tdm_slots limit Ben Gardiner
2011-04-21 18:19     ` Ben Gardiner
2011-04-26 10:46     ` Mark Brown
2011-04-26 10:46       ` Mark Brown
2011-04-26 13:20       ` Ben Gardiner
2011-04-26 13:20         ` Ben Gardiner
2011-04-21 18:19 ` [PATCH 2/4] davinci-mcasp: use bitfield definitions for PDIR Ben Gardiner
2011-04-21 18:19 ` [PATCH 3/4] davinci-mcasp: fix _CBM_CFS hw_params Ben Gardiner
2011-04-21 18:19   ` Ben Gardiner
2011-04-21 18:19 ` [PATCH 4/4] davinci-mcasp: fix _CBM_CFS pin directions Ben Gardiner
2011-04-21 18:19   ` Ben Gardiner
2011-04-26  8:16 ` [PATCH 0/4] davinci-mcasp: fix tdm_slots and CBM/CFS Liam Girdwood
2011-04-26  8:16   ` Liam Girdwood

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.