Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490565

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

From Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] ASoC: simple-card: add support for aux devices
Date 2016-09-24 08:10 +0200
Message-ID <skOjT-5Ot-1@gated-at.bofh.it> (permalink)
References <sksW5-Dp-9@gated-at.bofh.it> <skH8K-1e4-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>> 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.

Nikita

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] ASoC: simple-card: add support for aux devices Rob Herring <robh@kernel.org> - 2016-09-24 00:30 +0200
  Re: [PATCH v2] ASoC: simple-card: add support for aux devices Nikita Yushchenko <nikita.yoush@cogentembedded.com> - 2016-09-24 08:10 +0200
  Re: [PATCH v2] ASoC: simple-card: add support for aux devices Mark Brown <broonie@kernel.org> - 2016-09-25 08:10 +0200
  Re: [PATCH v2] ASoC: simple-card: add support for aux devices Mark Brown <broonie@kernel.org> - 2016-09-25 08:10 +0200

csiph-web