devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: stm32: add SPDIFRX driver
@ 2017-06-16 13:57 olivier moysan
  2017-06-16 13:57 ` [PATCH 1/2] dt-bindings: Document the STM32 SPDIFRX interface olivier moysan
  2017-06-16 13:57 ` [PATCH 2/2] ASoC: stm32: Add SPDIFRX support olivier moysan
  0 siblings, 2 replies; 7+ messages in thread
From: olivier moysan @ 2017-06-16 13:57 UTC (permalink / raw)
  To: lgirdwood, broonie, perex, tiwai, mcoquelin.stm32,
	alexandre.torgue, alsa-devel, robh, mark.rutland, devicetree,
	linux-arm-kernel, kernel, linux-kernel, olivier.moysan
  Cc: arnaud.pouliquen, benjamin.gaignard

This patch-set handles the SPDIFRX on STM32 platforms.

The SPDIFRX peripheral, is designed to receive an S/PDIF flow compliant with
IEC-60958 and IEC-61937 standards.

SPDIFRX uses two DMA channels:
- one DMA channel for S/PDIF data stream.
- one DMA channel for control flow (channel status and user data bits).

DMA is used for control flow instead of interrupts to get better performances,
as channel status and user data are retrieved byte per byte.

Note: This patch-set depends on "change SAI configuration flag" patch,
which introduces a change on Kconfig file.

olivier moysan (2):
  dt-bindings: Document the STM32 SPDIFRX interface
  ASoC: stm32: Add SPDIFRX support

 .../devicetree/bindings/sound/st,stm32-spdifrx.txt |  56 ++
 sound/soc/stm/Kconfig                              |  10 +
 sound/soc/stm/Makefile                             |   4 +
 sound/soc/stm/stm32_spdifrx.c                      | 998 +++++++++++++++++++++
 sound/soc/stm/stm32_spdifrx.h                      | 224 +++++
 5 files changed, 1292 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/st,stm32-spdifrx.txt
 create mode 100644 sound/soc/stm/stm32_spdifrx.c
 create mode 100644 sound/soc/stm/stm32_spdifrx.h

-- 
1.9.1

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

end of thread, other threads:[~2017-06-27 15:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-16 13:57 [PATCH 0/2] ASoC: stm32: add SPDIFRX driver olivier moysan
2017-06-16 13:57 ` [PATCH 1/2] dt-bindings: Document the STM32 SPDIFRX interface olivier moysan
2017-06-21 11:16   ` Applied "ASoC: stm32: Add DT bindings for SPDIFRX interface" to the asoc tree Mark Brown
     [not found]   ` <1497621452-615-2-git-send-email-olivier.moysan-qxv4g6HH51o@public.gmane.org>
2017-06-23 18:55     ` [PATCH 1/2] dt-bindings: Document the STM32 SPDIFRX interface Rob Herring
2017-06-27 15:23       ` Olivier MOYSAN
2017-06-16 13:57 ` [PATCH 2/2] ASoC: stm32: Add SPDIFRX support olivier moysan
2017-06-19 16:46   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).