[alsa-devel] [PATCH v3] ASoC: add xtensa xtfpga I2S interface and platform

Max Filippov jcmvbkbc at gmail.com
Mon Dec 22 09:39:40 CET 2014


On Sun, Dec 7, 2014 at 4:01 AM, Max Filippov <jcmvbkbc at gmail.com> wrote:
> XTFPGA boards provides an audio subsystem that consists of TI CDCE706
> clock synthesizer, I2S transmitter and TLV320AIC23 audio codec.
>
> I2S transmitter has MMIO-based interface that resembles that of the
> OpenCores I2S transmitter. I2S transmitter is always a master on I2S
> bus. There's no specialized audio DMA, sample data are transferred to
> I2S transmitter FIFO by CPU through memory-mapped queue interface.

Ping?

> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> ---
> Changes v2->v3:
> - drop .owner = THIS_MODULE from the struct platform_driver initialization;
> - rebase to 3.18-rc7.
>
> Changes v1->v2:
> - fix module name in the sound/soc/xtensa/Makefile;
> - split PCM data transfer code and I2S interface setup code;
> - move clock enabling/disabling to runtime PM code;
> - document I2S interface RATIO field;
> - rewrite I2S interface LEVEL field calculation to avoid overflows;
> - drop select statements from Kconfig;
> - document RCU usage for tx_substream;
> - clean up code running in RCU read-side critical section;
> - use threaded IRQ handler instead of IRQ + tasklet;
> - remove empty PCM callback handlers;
> - add const to static structures where applicable;
> - use platform_set_drvdata instead of dev_set_drvdata;
> - drop redundant error reporting code;
> - use platform_get_irq instead of platform_get_resource;
> - clean up xtfpga_i2s_remove;
> - add comments.
>
>  .../devicetree/bindings/sound/cdns,xtfpga-i2s.txt  |  18 +
>  MAINTAINERS                                        |   1 +
>  sound/soc/Kconfig                                  |   1 +
>  sound/soc/Makefile                                 |   1 +
>  sound/soc/xtensa/Kconfig                           |   7 +
>  sound/soc/xtensa/Makefile                          |   3 +
>  sound/soc/xtensa/xtfpga-i2s.c                      | 675 +++++++++++++++++++++
>  7 files changed, 706 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt
>  create mode 100644 sound/soc/xtensa/Kconfig
>  create mode 100644 sound/soc/xtensa/Makefile
>  create mode 100644 sound/soc/xtensa/xtfpga-i2s.c

-- 
Thanks.
-- Max


More information about the Alsa-devel mailing list