Re: [PATCH v2] ASoC: simple-card: add support for aux devices

From: Nikita Yushchenko
Date: Sat Sep 24 2016 - 02:04:15 EST

>> Changes from v1:
>> - moved example usage from commit message to Documentation/, as
>> suggested by Kuninori Morimoto,
>> - fixed typo in example usage.
> Ah, one more property to the "simple" card. At what point in adding
> properties is it not simple?

AFAIU, idea is to have a pure-device-tree-controlled audio device (i.e.
without dedicated machine driver).

Perhaps it should be just renamed at some point.

>> +- simple-audio-card,aux-devs : List of phandles pointing to auxiliary devices, such
>> + as amplifiers, to be added to the sound card.
> I think the property should be specific as to the type of device. What
> if you have 2 amps? Maybe simple-card can't have 2 outputs. What if you
> have a chain of devices and need to know the order of them?

snd_soc_card has unordered list of aux devices. Things you mention are
controlled are configured via routing.