Re: [PATCH] drm/omap: Report HDMI hotplug events to the ASoC HDMI codec
From: H. Nikolaus Schaller
Date: Wed Aug 05 2026 - 15:55:02 EST
Hi Ivaylo,
> Am 05.08.2026 um 17:20 schrieb Ivaylo Dimitrov <ivo.g.dimitrov.75@xxxxxxxxx>:
>
> The OMAP HDMI audio driver currently has no way of reporting HDMI cable
> 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.
Some quick test:
I have tested on PandaES and could see 'amixer -c 1 events' and check the on/off
status though 'amixer -c 1 cget numid=1' on the HDMI port (no sound for DVI port
of course).
BR,
Nikolaus