Re: [PATCH v3] drm/omap: Report HDMI hotplug events to the ASoC HDMI codec
From: Tomi Valkeinen
Date: Fri Aug 21 2026 - 06:10:18 EST
Hi,
On 19/08/2026 20:19, Ivaylo Dimitrov wrote:
The OMAP HDMI audio driver currently has no way of reporting HDMI cableThanks, picking up to drm-misc-next.
hotplug events to ASoC. As a result, user space cannot detect HDMI audio
availability through the standard jack mechanism and audio policy managers
cannot automatically route audio to or from the HDMI output.
Add an optional HPD callback to `omap_hdmi_audio_pdata` and invoke it from
the DRM HDMI bridge whenever the connector status changes. The HDMI audio
driver registers an ASoC jack and reports `SND_JACK_AVOUT` state changes in
response to these notifications.
Also fix the disconnect path by taking a runtime PM reference before
updating the CEC physical address.
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@xxxxxxxxx>
---
drivers/gpu/drm/omapdrm/dss/hdmi.h | 6 +++
drivers/gpu/drm/omapdrm/dss/hdmi4.c | 29 ++++++++++---
drivers/gpu/drm/omapdrm/dss/hdmi5.c | 37 +++++++++++++---
drivers/gpu/drm/omapdrm/dss/hdmi_common.c | 14 ++++++
include/sound/omap-hdmi-audio.h | 1 +
sound/soc/ti/omap-hdmi.c | 53 +++++++++++++++++++++--
6 files changed, 125 insertions(+), 15 deletions(-)
Tomi