Re: [PATCH 0/4] OMAPDSS/ASoC: Repair broken HDMI audio in K3.2-rcX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI Mark,
On Thu, 2012-01-12 at 02:59 +0000, Mark Brown wrote:
> On Tue, Jan 10, 2012 at 08:44:41PM -0600, Ricardo Neri wrote:
> 
> > The approach that I am planning to follow is to move the ASOC HDMI OMAP4
> > codec to the sound directory and leave all the IP-specific functions
> > (e.g., to set registers) in the video directory. The audio code should
> > be generic in the sense that it does not change an IP register directly.
> > This is to follow a similar approach as that followed by DSS in which
> > all IP-specific code is separated from DSS code. Also, it makes more
> > sense to me to have the ASoC codec under sound/soc/codecs. 
> 
> Depending on how abstract that interface is it may be better to make it
> into something more cross platform than just an OMAP thing - if you're
> talking about not having any knowledge of the registers or anything then
> it seems like that should be possible.  It would preclude the use of
> something OMAP specific like DSS though.

Maybe what I am trying to do is something similar to what is done for
the TWL6040 drivers: the power part goes to drivers/mfd and and the
audio part goes to sound. In my case, the video part goes to DSS and the
audio part goes to sound plus taking advantage of the the register
abstraction and functionality that DSS is trying to provide. As you
mention, this ties me to OMAP atm. I am an audio person :) and I am not
sure all the functionality I require for audio is exported to more
generic layers to allow not using DSS. I could try go take a look.

Ricardo

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux