[RFC 0/1] ALSA SoC support for OMAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I wanted to do this early release of OMAP ASoC work here before going into
alsa-devel. Patch includes common PCM DMA module, single McBSP link I2S DAI
driver and machine driver for Nokia N810. Patch tries to cover OMAPs from 1510
onward but e.g. McBSP ports 3-5 found in 2430 and 34xx are not supported
yet.

I have tested this only in N810 using codec both as a I2S master (as now) and
slave (exact 44.1 and 48 kHz rates are not possible in N810) configuration.

Known issues:
- McBSP doesn't synchronize properly to channel sync (LR/FSX) when codec is
  master. Seems happen only in playback.
- If RFIG bit in RCR2 is not set, then McBSP ends up to endless RX irq loop?

TODO:
- Pin multiplexing for standard I2S signals, McBSP: DR, DX, CLKX and FSX, and
  for external CLKS clock input
- Can we configure more than one McBSP port for I2S? omap-mcbsp module should
  support multiple I2S DAIs almost already
- Other link formats than I2S?
- Change omap_mcbsp_start and omap_mcbsp_stop API to allow individual RX/TX
  control. Frame sync and/or sample rate generator restart is required
  if there is already capture stream active and we'll start simultaneous
  playback. Yet again channel sync can be wrong in this case. Have to dig more
  on this.

Comments are welcome. I would like to get this as good as possible for
submission to alsa-devel. Meaning that at least OMAP1510-2420 are supported
and then gradual updates to later OMAPs when we are more sync with the
mainline. E.g. pin multiplexing for McBSP ports 3-5 etc.

-- 
Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux