From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [RFC v2 6/6] ASoC: hdmi-codec: Use HDMI notifications to add jack support Date: Fri, 08 Jan 2016 11:52:40 +0100 Message-ID: References: <1451934551-21333-1-git-send-email-p.zabel@pengutronix.de> <1451935145-24861-1-git-send-email-p.zabel@pengutronix.de> <568E9BE1.6050209@ti.com> <1452242629.3347.12.camel@pengutronix.de> <568F87F7.3010409@ti.com> <20160108104623.GF19062@n2100.arm.linux.org.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160108104623.GF19062@n2100.arm.linux.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Russell King - ARM Linux Cc: Jean-Francois Moine , alsa-devel@alsa-project.org, Lars-Peter Clausen , Philipp Zabel , Arnaud Pouliquen , Koro Chen , Jyri Sarha , Liam Girdwood , Mark Brown , linux-mediatek@lists.infradead.org, Daniel Kurtz , kernel@pengutronix.de, Matthias Brugger , Cawa Cheng List-Id: linux-mediatek@lists.infradead.org On Fri, 08 Jan 2016 11:46:23 +0100, Russell King - ARM Linux wrote: > > Given that, I'd like to throw in here another detail: iirc, i915's > HDMI exports the ELD to userspace via a control called "ELD" - see > eld_bytes_ctl in sound/pci/hda/patch_hdmi.c. This allows userspace > to monitor, and read the ELD including which compressed audio formats > are supported. I'm not currently aware of anything that makes use of > this, but as there is this precedent for exporting this information, > maybe it should become a standard way, so that video playback > applications can then select an appropriate audio stream depending on > the current properties of the connected device? Right, the ELD ctl elements were introduced exactly for such a purpose. Though, I'm not sure currently which user-space app is actually referring to this information, too. But certainly it's a good thing to have for other drivers. Takashi