All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] add IEC958 channel status control helper
@ 2016-03-01  8:19 Arnaud Pouliquen
  2016-03-01  8:19 ` [PATCH v3 1/4] ALSA: pcm: " Arnaud Pouliquen
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Arnaud Pouliquen @ 2016-03-01  8:19 UTC (permalink / raw)
  To: alsa-devel
  Cc: Jean-Francois Moine, Lars-Peter Clausen, Russell King - ARM Linux,
	David Airlie, arnaud.pouliquen, Liam Girdwood, Jyri Sarha,
	Takashi Iwai, Mark Brown, Philipp Zabel, Moise Gergaud

- Define helpers function  to handle 'IEC958 Playback Default' control
- add "pcm_new" ops  for DAI initialisations that need pcm runtime context. 
	This patchset is needed to be able to associate control to the 
        PCM device. The iec control is linked to the DAI but also to the PCM device.
        Furthermore, some platforms like sti support both HDMI and SPDIF
        outputs in parallel. Logical way to differentiate them is to link them
        to pcm device index. 
V3:
This patchset is extracted from following RFC
http://permalink.gmane.org/gmane.linux.alsa.devel/149876 (sti: add audio interface to the hdmi driver)

Notice that "ASoC: hdmi-codec: add IEC control" patch depends on integration of the hdmi-codec driver

     Patches update:
     - ALSA: pcm: add IEC958 channel status control helper
          - make mutex usage mandatory.
          - Set control index to pcm device id ( needed to be supported by iecset)
     - ASoC: core: add code to complete dai init after pcm creation
          -  fix dai param of pcm_new  ops for cpu dai.
     - ASoC: sti: use iec channel status control helper
     		new patch: implementation of the helper for sti cpu-dai 

V2:
     - patch: ALSA: pcm: add IEC958 channel status control helper
          - Return 1 instead of 0 in snd_pcm_iec958_put
          - Add .access field in control structure
          - I have kept condition on mutex for flexibility 
            (but could be cleaned to force user to use a mutex)

V1:
This RFC is the implementation of audio HDMI on sti platform based on 
generic hdmi-codec driver:
	https://patchwork.kernel.org/patch/7215271/ ("ASoC: hdmi-codec: Add hdmi-codec for external HDMI-encoders")


Arnaud Pouliquen (4):
  ALSA: pcm: add IEC958 channel status control helper
  ASoC: core: add code to complete dai init after pcm creation
  ASoC: sti: use iec channel status control helper
  ASoC: hdmi-codec: add IEC control.

 include/sound/hdmi-codec.h      |   1 +
 include/sound/pcm_iec958.h      |  15 ++++++
 include/sound/soc-dai.h         |   7 +++
 sound/core/pcm_iec958.c         | 107 ++++++++++++++++++++++++++++++++++++++++
 sound/soc/codecs/hdmi-codec.c   |  59 ++++++++++++++++------
 sound/soc/soc-core.c            |  14 ++++++
 sound/soc/sti/Kconfig           |   1 +
 sound/soc/sti/uniperif_player.c |  79 ++++++++++++-----------------
 8 files changed, 219 insertions(+), 62 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2016-03-02 10:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01  8:19 [PATCH v3 0/4] add IEC958 channel status control helper Arnaud Pouliquen
2016-03-01  8:19 ` [PATCH v3 1/4] ALSA: pcm: " Arnaud Pouliquen
2016-03-01  9:12   ` Takashi Iwai
2016-03-01 10:46     ` Arnaud Pouliquen
2016-03-01 10:57       ` Takashi Iwai
2016-03-01 13:34         ` Arnaud Pouliquen
2016-03-01  8:19 ` [PATCH v3 2/4] ASoC: core: add code to complete dai init after pcm creation Arnaud Pouliquen
2016-03-02  4:03   ` Mark Brown
2016-03-02  9:32     ` Arnaud Pouliquen
2016-03-02 10:34       ` Mark Brown
2016-03-01  8:19 ` [PATCH v3 3/4] ASoC: sti: use iec channel status control helper Arnaud Pouliquen
2016-03-01  8:19 ` [PATCH v3 4/4] ASoC: hdmi-codec: add IEC control Arnaud Pouliquen

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.