[Sound-open-firmware] [PATCH 3/3] topology: test: Add loopback topology

Liam Girdwood liam.r.girdwood at linux.intel.com
Mon Jun 4 11:28:39 CEST 2018


On Mon, 2018-06-04 at 17:04 +0800, Pan, Xiuli wrote:
> > >    create mode 100644 topology/test/test-loopback.m4
> > 
> > I want to see loopback added as a kcontrol switch type. Maybe the best way
> > is to
> > create a ssp.m4 that uses the existing DAI macros and also includes a
> > kcontrol
> > OR you could create a new DAI_KCONTROL macro ?
> 
> I was trying about kcontrol the whole last week.
> I had a RFC thread named
> [PTACH RFC 0/5] Add switch widget for loopback
> Is this look good to you?
> 
> If the topology side looks OK, then I need to figure out how to bind the 
> widget and get some kernel patch for the switch control alongside the 
> volume kcontrol.
> And I need continue to work with Ranjani to refine our controller IO 
> handler.

Binding can be done in topology driver, just keep a list of all DAIs or AIF
widgets and check this list when adding a kcontrol for binding.  The kcontrol
can also use a bespoke ops binding ID if needed too.

Liam



More information about the Sound-open-firmware mailing list