[alsa-devel] [PATCH v4 0/2] sti: add audio interface to the hdmi driver

Arnaud Pouliquen arnaud.pouliquen at st.com
Thu Apr 21 17:29:12 CEST 2016


This patchset implements audio interface in HDMI drm driver. Implementation is based on 
ASoC generic hdmi codec driver( https://patchwork.kernel.org/patch/8713141/). 
It also proposes helper functions to compute N and CTS parameters
according to HDMI 1.4b specification. 

V4:
     fixes for "video: hdmi: add helper functions for N and CTS"
        - typo error and additional comments
        - cts_1_ratio computation
        - warning reported by kbuild test robot
        - add rounded value for 297/1.001 MHz

V3: 
     - video: hdmi: add helper function for N and CTS
     	  Also used on Mediatek platform (https://patchwork.kernel.org/patch/8887341)
	  delta vs V2:
          - typo fixes
          - if/else code optimisation
     - drm: sti: Add ASoC generic hdmi codec support.
	  - typo fixes
          - add audio registers in debugfs information
                
V2: RFC
https://patchwork.kernel.org/patch/8091531/("video: hdmi: add helper function for N and CTS")
https://patchwork.kernel.org/patch/8091561/("ASoC: hdmi-codec: Add hdmi-codec for external HDMI-encoders")
     - patch: video: hdmi: add helper function for N and CTS
         Fixes based on Russel King remarks
         - Duplicate function to have a separte treatment for coherent and
           non-coherent clocks
         - Add ratio field for alternate CTS value
         - Clock frequency in Hz for TMDS and audio clocks
         - Add information concerning clocks and CTS calculation. 

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")
	https://patchwork.kernel.org/patch/8062611/ ("video: hdmi: add helper function for N and CTS")
Arnaud Pouliquen (2):
  video: hdmi: add helper functions for N and CTS
  drm: sti: Add ASoC generic hdmi codec support.

 drivers/gpu/drm/sti/Kconfig    |   1 +
 drivers/gpu/drm/sti/sti_hdmi.c | 248 ++++++++++++++++++++++++++++++++++++++---
 drivers/gpu/drm/sti/sti_hdmi.h |  13 +++
 drivers/video/hdmi.c           | 208 ++++++++++++++++++++++++++++++++++
 include/linux/hdmi.h           |  24 ++++
 5 files changed, 477 insertions(+), 17 deletions(-)

-- 
1.9.1



More information about the Alsa-devel mailing list