[RFC v4 0/8] ASoC: Add mediatek HDMI codec support

Philipp Zabel p.zabel at pengutronix.de
Thu Feb 18 06:58:38 PST 2016


Hi,

these patches add an interface for Jyri's generic hdmi-codec driver [1] to
the mediatek hdmi bridge driver. The accesses to the hcp->eld field are
now locked by a mutex, and I have added a patch to use the hdmi helper
function [2] for N/CTS calculation.

Changes since v3:
 - Add mutex to lock hcp->eld
 - Use helper function for N and CTS calculation

The mediatek drm patches apply on top of
https://patchwork.kernel.org/patch/8337071/ ("drm/mediatek: Add HDMI support"),
and need this patch:
[2] https://patchwork.kernel.org/patch/8091531/ ("video: hdmi: add helper function for N and CTS")
The asoc patches depend on these two patches:
https://patchwork.kernel.org/patch/7215121/ ("ALSA: pcm: add IEC958 channel status helper for hw_params")
[1] https://patchwork.kernel.org/patch/7215271/ ("ASoC: hdmi-codec: Add hdmi-codec for external HDMI-encoders")

regards
Philipp

Koro Chen (1):
  ASoC: mediatek: Add HDMI dai-links in the machine driver

Philipp Zabel (7):
  drm/mediatek: hdmi: Add audio interface to the hdmi-codec driver
  ASoC: mediatek: address dai link array entries by enum
  video: rmk's HDMI notification prototype
  drm/mediatek: hdmi: issue notifications
  ASoC: hdmi-codec: Use HDMI notifications to add jack support
  ASoC: hdmi-codec: Add ELD control
  drm/mediatek: hdmi: use helper function for N and CTS calculation

 .../bindings/sound/mt8173-rt5650-rt5676.txt        |   5 +-
 drivers/gpu/drm/mediatek/Kconfig                   |   1 +
 drivers/gpu/drm/mediatek/mtk_cec.c                 |  11 ++
 drivers/gpu/drm/mediatek/mtk_drm_hdmi_drv.c        | 148 +++++++++++++++++
 drivers/gpu/drm/mediatek/mtk_hdmi.c                |  89 +++++-----
 drivers/gpu/drm/mediatek/mtk_hdmi.h                |  10 +-
 drivers/gpu/drm/mediatek/mtk_hdmi_hw.c             | 179 ++++-----------------
 drivers/gpu/drm/mediatek/mtk_hdmi_hw.h             |   4 +-
 drivers/video/Makefile                             |   2 +-
 drivers/video/hdmi-not.c                           |  61 +++++++
 include/linux/hdmi-not.h                           |  39 +++++
 include/sound/hdmi-codec.h                         |   6 +
 sound/soc/codecs/hdmi-codec.c                      | 123 +++++++++++++-
 sound/soc/mediatek/mt8173-rt5650-rt5676.c          |  66 +++++++-
 14 files changed, 528 insertions(+), 216 deletions(-)
 create mode 100644 drivers/video/hdmi-not.c
 create mode 100644 include/linux/hdmi-not.h

-- 
2.7.0



More information about the Linux-mediatek mailing list