[RFC v2 0/6] ASoC: Add mediatek HDMI codec support

Philipp Zabel p.zabel at pengutronix.de
Mon Jan 4 11:09:05 PST 2016


Hi,

this time we add an interface for Jyri's generic hdmi-codec driver [1] to
the mediatek hdmi bridge driver. In place of a separate machine driver,
the existing mt8173-rt5650-rt5676 driver is extended to link to the
hdmi-codec instance provided by the hdmi bridge driver.

The alsa jack support, previously implemented by the custom mediatek hdmi
codec and machine drivers, is bolted on top of hdmi-codec using Russell's
HDMI notifier prototype. It's all still a bit rough, but I could use some
feedback at this point. Have we achieved consensus to go forward with the
hdmi-codec approach? Is it ok to use an alsa jack for HDMI HPD status
reporting?

The mediatek drm patches apply on top of
https://patchwork.kernel.org/patch/7949021/ ("drm/mediatek: Add HDMI support")
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")

best regards
Philipp

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

Philipp Zabel (5):
  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

 .../bindings/sound/mt8173-rt5650-rt5676.txt        |   5 +-
 drivers/gpu/drm/mediatek/Kconfig                   |   1 +
 drivers/gpu/drm/mediatek/mtk_cec.c                 |   5 +
 drivers/gpu/drm/mediatek/mtk_drm_hdmi_drv.c        | 192 +++++++++++++++++++++
 drivers/gpu/drm/mediatek/mtk_hdmi.c                |  26 +++
 drivers/gpu/drm/mediatek/mtk_hdmi.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                      |  72 +++++++-
 sound/soc/mediatek/mt8173-rt5650-rt5676.c          |  66 ++++++-
 12 files changed, 470 insertions(+), 9 deletions(-)
 create mode 100644 drivers/video/hdmi-not.c
 create mode 100644 include/linux/hdmi-not.h

-- 
2.6.2




More information about the Linux-mediatek mailing list