[RFC 0/5] another generic audio hdmi codec proposal

Arnaud Pouliquen arnaud.pouliquen at st.com
Mon Sep 21 06:19:51 PDT 2015


I 'm working on HDMI implementation for sti platform. 
As some discussions are on going for audio on HDMI. Here is the begin of my work...

This patch set is a tentative to implement a generic code for the HDMI audio.
Main concept are aligned with solution proposeded for TI platform. 
 -  ASoC codec driver registered by DRM driver
 -  ASOC driver is a generic driver.
 -  compatible with simple card
 
 Difference is that i propose a DRM generic interface based on bridge structure.
 Advantage is that all data exchanges are done through the DRM API.
 
 I think also that some helper functions could been used for N and CTS parameters calculation,
 as suggested by Russell King in a previous mail.
 
 I full aware that some features (like ELD and info frame) are partially or not implemented in my patches. 
 This patch set is more a skeleton than a full implementation...
 I just post it to suggest a possible DRM API.

Arnaud Pouliquen (5):
  video: hdmi: add help function for N and cts
  drm: add helper functionto add audio capabilities for bridge
  ASoC: codec:  hdmi drm codec driver
  drm: sti: connect audio driver
  DT: sti: add audio HDMI dai link in audio card

 arch/arm/boot/dts/stih410.dtsi       |   4 +-
 arch/arm/boot/dts/stihxxx-b2120.dtsi |  21 +++++
 arch/arm/configs/multi_v7_defconfig  |   1 +
 drivers/gpu/drm/drm_bridge.c         | 114 +++++++++++++++++++++++++++
 drivers/gpu/drm/sti/sti_hdmi.c       | 146 +++++++++++++++++++++++++++++++---
 drivers/gpu/drm/sti/sti_hdmi.h       |   3 +
 drivers/video/hdmi.c                 | 148 +++++++++++++++++++++++++++++++++++
 include/drm/drm_crtc.h               |  31 ++++++++
 include/linux/hdmi.h                 |  24 ++++++
 include/sound/hdmi_drm.h             |  16 ++++
 sound/soc/codecs/Kconfig             |   4 +
 sound/soc/codecs/Makefile            |   2 +
 sound/soc/codecs/hdmi_drm.c          | 125 +++++++++++++++++++++++++++++
 13 files changed, 625 insertions(+), 14 deletions(-)
 create mode 100644 include/sound/hdmi_drm.h
 create mode 100644 sound/soc/codecs/hdmi_drm.c

-- 
1.9.1



More information about the dri-devel mailing list