Re: [PATCH v3] drm/omap: Report HDMI hotplug events to the ASoC HDMI codec
Tomi Valkeinen <[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, On 19/08/2026 20:19, Ivaylo Dimitrov wrote: > 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. > > Also fix the disconnect path by taking a runtime PM reference before > updating the CEC physical address. > > Signed-off-by: Ivaylo Dimitrov <[email protected]> > --- > 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(-) Thanks, picking up to drm-misc-next. Tomi