davinci-mcasp: fix tdm_slots and CBM/CFS
Status from this message: Applied all of these. Please always try to ensure that your commit logs
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | davinci-mcasp: correct tdm_slots limitsound/ | +2 | 2 replies | |
| 2/4 | davinci-mcasp: use bitfield definitions for PDIRsound/ | +6 | 0 replies | |
| 3/4 | davinci-mcasp: fix _CBM_CFS hw_paramssound/ | +2 | 0 replies | |
| 4/4 | davinci-mcasp: fix _CBM_CFS pin directionssound/ | +3 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | James Nuss | Liam Girdwood |
|---|---|---|
| Series | A-b | |
| 1/4 | R-b | |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] davinci-mcasp: fix tdm_slots and CBM/CFS
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(-)