Thread (20 messages) 20 messages, 2 authors, 2014-08-14

Re: [PATCH v3 00/14] Rework OMAP4+ HDMI audio support

From: Mark Brown <broonie@kernel.org>
Date: 2014-08-13 17:26:32
Also in: alsa-devel, linux-omap

On Wed, Aug 13, 2014 at 03:51:54PM +0300, Jyri Sarha wrote:
I guess then the least bad alternative would be cutting the cpu-dai driver
away from drivers/video/fbdev/omap2/dss/hdmi_audio.c and placing it under
sound/soc/omap and registering it from hdmi_audio.c the same way as
hdmi-audio-codec and asoc-simple-card is now registered.
There would be two devices for a single ip, but at least the ASoC side
driver would receive its resources directly from the HDMI video driver with
necessary tools to synchronize the access.
Just a MFD really.
This approach would work for other HDMI audio situation too, where there
would usually (for tda998x and SiI9022 at least) be a need to register an
i2s codec driver associated with the HDMI encoder. It would probably be
possible to make a single codec driver to work with multiple HDMI encoders
if the API between the codec and endcoder drivers is designed that in mind.
How does this sound?
This sounds like a way forward, I definitely think it's a good idea to
standardise the interfaces as much as we can.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help