From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Takashi Iwai <tiwai@suse.de>,
"Koul, Vinod" <vinod.koul@intel.com>,
Mark Brown <broonie@kernel.org>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: [RFC 0/4] ASoC DSP topology
Date: Tue, 21 Apr 2015 09:58:27 +0300 [thread overview]
Message-ID: <5535F513.8030902@ti.com> (raw)
In-Reply-To: <1429217285.7100.18.camel@loki>
Liam,
On 04/16/2015 11:48 PM, Liam Girdwood wrote:
> It's been about 2 years since posting V1 of the ASoC dynamic firmware patches
> and a lot has changed since then ...
>
> This RFC series is being posted instead of a V2 patch series atm since we are
> still completing some testing on the codebase and developing a new userspace
> tool. Expect V2 once more testing is completed shortly.
>
> ASoC topology (formerly called dynamic firmware) allows audio DSP topology to
> be defined as part of the firmware package and not hard coded into the driver.
> This allows DSP vendors to ship multiple different firmwares or firmwares with
> programmable topologies for different devices (i.e. phones, tablets, TVs) using
> a single DSP driver. The DSP topology can be contained as part of the firmware
> file or exist as separate files. The topology core and file format is generic
> and not tied to any single vendor or device.
>
> The topology core consists of kernel and userspace components :-
>
> Kernel. The kernel core reads in the topology data and builds the driver
> capabilities and audio topology based on this data. This includes building
> the DAPM graph, setting PCM and DAI capabilities, registering kcontrols and
> registering DAPM widgets.
It is not entirely clear for me based on the first look, but who is
responsible to initiate the topology load? Is it the component or machine
driver? We have had issues with deferred probing when the component driver was
in charge of loading the firmware. I got around this by initiating the FW load
from the machine driver and via callbacks I notified the component driver to
take over from that point. This fixed the probe order and I can also handle
cases when the filesystem does not have the firmware so I can fall back to
'legacy' mode.
> The userspace tool allows the creation of binary DSP FW topology files based on
> a topology text files.
Is it possible to get access to the user space part so if I have time I can
try to convert the OMAP4/5 AESS/ABE code to use tplg?
Thanks,
Péter
>
> Changes since V1:-
>
> o Name changed to ASoC Topology
> o Structures from soc.h and soc-dapm.h no longer exposed as UAPIs
> o Moved to component model from codec/platform model.
> o Added reserved fields in each UAPI structure.
> o UAPI structures packed and endianess defined for each structure.
> o Added support for PCM, DAI and codec <-> codec link capabilities.
> o Added support for client drivers manifests.
> o Added support for private data for each dynamic object type.
> o Single list of dynamic objects rather than list of each object type.
>
> Liam
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
next prev parent reply other threads:[~2015-04-21 6:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-16 20:48 [RFC 0/4] ASoC DSP topology Liam Girdwood
2015-04-20 21:40 ` Mark Brown
2015-04-21 6:58 ` Peter Ujfalusi [this message]
2015-04-21 9:28 ` Mark Brown
2015-04-21 10:03 ` Liam Girdwood
2015-04-21 12:30 ` Peter Ujfalusi
2015-04-21 15:23 ` Liam Girdwood
2015-04-21 16:39 ` Mark Brown
2015-04-22 4:10 ` Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5535F513.8030902@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=tiwai@suse.de \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox