All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] drm/vc4: hdmi: Enable Channel Mapping, IEC958, HBR Passthrough using hdmi-codec
@ 2021-05-07 14:03 ` Maxime Ripard
  0 siblings, 0 replies; 74+ messages in thread
From: Maxime Ripard @ 2021-05-07 14:03 UTC (permalink / raw)
  To: Mark Brown, Takashi Iwai, Liam Girdwood, Jaroslav Kysela,
	dri-devel, Daniel Vetter, David Airlie, Maarten Lankhorst,
	Thomas Zimmermann, Maxime Ripard
  Cc: Nicolas Saenz Julienne, Rob Herring, devicetree, alsa-devel,
	bcm-kernel-feedback-list, linux-arm-kernel, Maxime Ripard,
	linux-kernel, Dave Stevenson, Phil Elwell, Tim Gover, Dom Cobley,
	Daniel Vetter, linux-rpi-kernel, Eric Anholt

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.

One thing that felt a bit weird is that even though
https://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-alsa-driver.html#iec958-s-pdif
mentions that the iec958 mask control should be a mixer control and the
default control should be a PCM one, it feels a bit weird to have two different
control type for two controls so similar, and other drivers are pretty
inconsistent with this. Should we update the documentation?

Thanks!
Maxime

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 (6):
  snd: 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

 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        | 131 +++++++++-----
 sound/soc/codecs/hdmi-codec.c  | 219 +++++++++++++++++-----
 9 files changed, 456 insertions(+), 276 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 74+ messages in thread

end of thread, other threads:[~2021-05-25  9:35 UTC | newest]

Thread overview: 74+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07 14:03 [PATCH 00/11] drm/vc4: hdmi: Enable Channel Mapping, IEC958, HBR Passthrough using hdmi-codec Maxime Ripard
2021-05-07 14:03 ` Maxime Ripard
2021-05-07 14:03 ` Maxime Ripard
2021-05-07 14:03 ` Maxime Ripard
2021-05-07 14:03 ` [PATCH 01/11] snd: iec958: split status creation and fill Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-25  7:33   ` Takashi Iwai
2021-05-25  7:33     ` Takashi Iwai
2021-05-25  7:33     ` Takashi Iwai
2021-05-25  7:33     ` Takashi Iwai
2021-05-25  9:33     ` Maxime Ripard
2021-05-25  9:33       ` Maxime Ripard
2021-05-25  9:33       ` Maxime Ripard
2021-05-25  9:33       ` Maxime Ripard
2021-05-07 14:03 ` [PATCH 02/11] ASoC: hdmi-codec: Rework to support more controls Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03 ` [PATCH 03/11] ASoC: hdmi-codec: Add iec958 controls Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03 ` [PATCH 04/11] ASoC: hdmi-codec: Add a prepare hook Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03 ` [PATCH 05/11] drm/vc4: hdmi: Set HD_CTL_WHOLSMP and HD_CTL_CHALIGN_SET Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03 ` [PATCH 06/11] drm/vc4: hdmi: Set HDMI_MAI_FMT Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03 ` [PATCH 07/11] drm/vc4: hdmi: Set VC4_HDMI_MAI_CONFIG_FORMAT_REVERSE Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03 ` [PATCH 08/11] drm/vc4: hdmi: Remove firmware logic for MAI threshold setting Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03 ` [PATCH 09/11] drm/vc4: hdmi: Register HDMI codec Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 19:23   ` kernel test robot
2021-05-07 19:23     ` kernel test robot
2021-05-07 14:03 ` [PATCH 10/11] drm/vc4: hdmi: Remove redundant variables Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03 ` [PATCH 11/11] ARM: dts: bcm2711: Tune DMA parameters for HDMI audio Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-07 14:03   ` Maxime Ripard
2021-05-24 13:39 ` [PATCH 00/11] drm/vc4: hdmi: Enable Channel Mapping, IEC958, HBR Passthrough using hdmi-codec Maxime Ripard
2021-05-24 13:39   ` Maxime Ripard
2021-05-24 13:39   ` Maxime Ripard
2021-05-24 13:39   ` Maxime Ripard
2021-05-25  8:35   ` Takashi Iwai
2021-05-25  8:35     ` Takashi Iwai
2021-05-25  8:35     ` Takashi Iwai
2021-05-25  8:35     ` Takashi Iwai
2021-05-25  9:23     ` Maxime Ripard
2021-05-25  9:23       ` Maxime Ripard
2021-05-25  9:23       ` Maxime Ripard
2021-05-25  9:23       ` Maxime Ripard
2021-05-25  9:27       ` Takashi Iwai
2021-05-25  9:27         ` Takashi Iwai
2021-05-25  9:27         ` Takashi Iwai
2021-05-25  9:27         ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.