[PATCH v2 00/12] drm/vc4: hdmi: Enable Channel Mapping, IEC958, HBR Passthrough using hdmi-codec

Maxime Ripard maxime at cerno.tech
Tue May 25 06:23:42 PDT 2021


Hi,

hdmi-codec allows to have a lot of HDMI-audio related infrastructure in place,
it's missing a few controls to be able to provide HBR passthrough. This series
adds more infrastructure for the drivers, and leverages it in the vc4 HDMI
controller driver.

Thanks!
Maxime

Changes from v1:
  - Added an extra patch to clarify the iec958 controls iface policy
  - Added kerneldoc for the new iec958 PCM functions
  - s/EXPORT_SYMBOL/EXPORT_SYMBOL_GPL
  - Used the ALSA prefix where relevant
  - Rebased on drm-misc-next-2021-05-17

Dom Cobley (5):
  drm/vc4: hdmi: Set HD_CTL_WHOLSMP and HD_CTL_CHALIGN_SET
  drm/vc4: hdmi: Set HDMI_MAI_FMT
  drm/vc4: hdmi: Set VC4_HDMI_MAI_CONFIG_FORMAT_REVERSE
  drm/vc4: hdmi: Remove firmware logic for MAI threshold setting
  ARM: dts: bcm2711: Tune DMA parameters for HDMI audio

Maxime Ripard (7):
  ALSA: doc: Clarify IEC958 controls iface
  ALSA: iec958: Split status creation and fill
  ASoC: hdmi-codec: Rework to support more controls
  ASoC: hdmi-codec: Add iec958 controls
  ASoC: hdmi-codec: Add a prepare hook
  drm/vc4: hdmi: Register HDMI codec
  drm/vc4: hdmi: Remove redundant variables

 .../kernel-api/writing-an-alsa-driver.rst     |  13 +-
 arch/arm/boot/dts/bcm2711.dtsi                |   4 +-
 drivers/gpu/drm/vc4/Kconfig                   |   1 +
 drivers/gpu/drm/vc4/vc4_hdmi.c                | 322 ++++++++----------
 drivers/gpu/drm/vc4/vc4_hdmi.h                |   5 +-
 drivers/gpu/drm/vc4/vc4_regs.h                |  30 ++
 include/sound/hdmi-codec.h                    |  12 +-
 include/sound/pcm_iec958.h                    |   8 +
 sound/core/pcm_iec958.c                       | 176 +++++++---
 sound/soc/codecs/hdmi-codec.c                 | 219 +++++++++---
 10 files changed, 508 insertions(+), 282 deletions(-)

-- 
2.31.1




More information about the linux-arm-kernel mailing list