[PATCH v2 0/12] Those patches is used for dw_hdmi audio support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We found Designware hdmi driver only support audio clock config, we can not play sound through it.
To add Designware HDMI Audio support, we make those patch set:
 1): modify n/cts config order, according to dw_hdmi document.
 2): add Audio Sample Channel Status config interfaces to dw_hdmi driver.
 3): add audio support for more display resolutions(eg. 800x600).
 4): add audio support for No-CEA display resolutions.
 5): fixed dw_hdmi irq bug, add irq control to suspend/resume interfaces.
 6): add suspend/resume callback for dw_hdmi rockchip driver.
 7): filter interlace mode in rockchip vop driver.
 8): add hdmi audio config interfaces to dw_hdmi driver.
 9): creat "dw_hdmi-audio" platform device in dw_hdmi driver.
10): add codec driver for hdmi audio, callback dw_hdmi audio config functions.
11): add sound driver for hdmi audio, creat hdmi audio sound card.
12): add dt-bings file and add hdmi_audio node to corresponding dt file.


Changes in v2:
- adjust n/cts setting order
- Add audio sample channel status setting
- Add irq control to suspend/resume interfaces
- Add suspend/resume support for dw_hdmi_rockchip driver
- filter interlace display mode for rockchip vop
- add more n/cts combinations for more display resolutions
- enable audio support for No-CEA display mode
- Add audio config interfaces to dw_hdmi driver
- Update the audio control interfaces
- Update dw_hdmi audio control interfaces, and adjust jack report process
- give "codec-name" & "codec-dai-name" an const name
- remove codec-name and codec-dai-name
- rename rockchip,rockchip-hdmi-audio.txt to rockchip,rockchip-dw-hdmi-audio.txt

Yakir Yang (12):
  drm: bridge/dw_hdmi: adjust n/cts setting order
  drm: bridge/dw_hdmi: add audio sample channel status setting
  drm: bridge/dw_hdmi: add irq control to suspend/resume
  drm: rockchip/dw_hdmi_rockchip: add resume/suspend support
  drm: rockchip/vop: filter interlace display mode
  drm: bridge/dw_hdmi: add audio support for more display resolutions
  drm: bridge/dw_hdmi: enable audio support for No-CEA display
    resolutions
  drm: bridge/dw_hdmi: add audio config interfaces
  drm: bridge/dw_hdmi: creat dw-hdmi-audio platform device
  ASoC: dw-hdmi-audio: add codec driver for dw hdmi audio
  ASoC: rockchip-hdmi-audio: add sound driver for hdmi audio
  dt-bindings: Add documentation for Rockchip dw-hdmi-audio

 .../sound/rockchip,rockchip-dw-hdmi-audio.txt      |  12 +
 drivers/gpu/drm/bridge/dw_hdmi.c                   | 276 ++++++++++++++++--
 drivers/gpu/drm/bridge/dw_hdmi.h                   |  32 +++
 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c        |  13 +
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c        |   3 +-
 include/drm/bridge/dw_hdmi.h                       |  45 +++
 sound/soc/codecs/Kconfig                           |   4 +
 sound/soc/codecs/Makefile                          |   2 +
 sound/soc/codecs/dw-hdmi-audio.c                   | 314 +++++++++++++++++++++
 sound/soc/codecs/dw-hdmi-audio.h                   |  17 ++
 sound/soc/rockchip/Kconfig                         |   9 +
 sound/soc/rockchip/Makefile                        |   2 +
 sound/soc/rockchip/rockchip_hdmi_audio.c           | 196 +++++++++++++
 13 files changed, 895 insertions(+), 30 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/rockchip,rockchip-dw-hdmi-audio.txt
 create mode 100644 sound/soc/codecs/dw-hdmi-audio.c
 create mode 100644 sound/soc/codecs/dw-hdmi-audio.h
 create mode 100644 sound/soc/rockchip/rockchip_hdmi_audio.c

-- 
2.1.2


_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux