Skip to content

drm/bridge: dw-hdmi: improve i2s support

Jerome Brunet dri-devel linux-amlogic lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 4 repliesIn review
  2. v18 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/bridge: dw-hdmi-i2s: support more i2s formatdrivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c drivers/gpu/drm/bridge/synopsys/dw-hdmi.h+27 -50 replies
2/8drm/bridge: dw-hdmi: move audio channel setup out of ahbdrivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c drivers/gpu/drm/bridge/synopsys/dw-hdmi.c include/drm/bridge/dw_hdmi.h+38 -160 replies
3/8drm/bridge: dw-hdmi: set channel count in the infoframesdrivers/gpu/drm/bridge/synopsys/dw-hdmi.c+4 -00 replies
4/8drm/bridge: dw-hdmi-i2s: enable lpcm multi channelsdrivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c+2 -10 replies
5/8drm/bridge: dw-hdmi-i2s: set the channel allocationdrivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c+1 -00 replies
6/8drm/bridge: dw-hdmi-i2s: reset audio fifo before applying new paramsdrivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c drivers/gpu/drm/bridge/synopsys/dw-hdmi.h+5 -20 replies
7/8drm/bridge: dw-hdmi-i2s: enable only the required i2s lanesdrivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c drivers/gpu/drm/bridge/synopsys/dw-hdmi.h+19 -20 replies
8/8drm/bridge: dw-hdmi-i2s: add .get_eld supportdrivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c drivers/gpu/drm/bridge/synopsys/dw-hdmi.c+13 -00 replies
8/8drm/bridge: dw-hdmi-i2s: add .get_eld supportdrivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c drivers/gpu/drm/bridge/synopsys/dw-hdmi.c+13 -02 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJonas KarlmanNeil Armstrong
SeriesR-b
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] drm/bridge: dw-hdmi: improve i2s support

The purpose of this patchset is to improve the support of the i2s interface of the synopsys hdmi controller.

Once applied, the interface should support all the usual i2s bus formats, 8 channels playback and properly setup the channel number and allocation in the infoframes.

Also, the dw-hdmi i2s interface will now provide the eld to the generic hdmi-codec so it can expose the related controls to user space.

This work was inspired by Jonas Karlman's work, available here [0].

This was tested the Amlogic meson-g12a-sei510 platform. For this specific platform, which uses codec2codec links, there is a runtime dependency for patch 8 on this ASoC series [1].

Changes since v1 [2]:
* Fix copy size in .get_eld()

[0]: https://github.com/Kwiboo/linux-rockchip/commits/rockchip-5.2-for-libreelec-v5.2.3
[1]: https://lkml.kernel.org/r/[email protected]
[2]: https://lkml.kernel.org/r/[email protected]

Jerome Brunet (8):
drm/bridge: dw-hdmi-i2s: support more i2s format drm/bridge: dw-hdmi: move audio channel setup out of ahb drm/bridge: dw-hdmi: set channel count in the infoframes drm/bridge: dw-hdmi-i2s: enable lpcm multi channels drm/bridge: dw-hdmi-i2s: set the channel allocation drm/bridge: dw-hdmi-i2s: reset audio fifo before applying new params drm/bridge: dw-hdmi-i2s: enable only the required i2s lanes drm/bridge: dw-hdmi-i2s: add .get_eld support

 .../drm/bridge/synopsys/dw-hdmi-ahb-audio.c   | 20 ++-----
 .../gpu/drm/bridge/synopsys/dw-hdmi-audio.h   |  1 +
 .../drm/bridge/synopsys/dw-hdmi-i2s-audio.c   | 60 +++++++++++++++++--
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c     | 37 ++++++++++++
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.h     | 13 +++-
 include/drm/bridge/dw_hdmi.h                  |  2 +
 6 files changed, 108 insertions(+), 25 deletions(-)
Signature · 1 line
2.21.0