Re: [PATCH] drm/omap: Report HDMI hotplug events to the ASoC HDMI codec

"H. Nikolaus Schaller" <[email protected]>
Newsgroups org.kernel.vger.linux-omap,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound
Message-ID <[email protected]>
Hi Ivaylo,

> Am 05.08.2026 um 17:20 schrieb Ivaylo Dimitrov <[email protected]>:
> 
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.