[alsa-devel] Multiple codecs on the same DAI

Mark Brown broonie at kernel.org
Wed Dec 6 16:45:52 CET 2017


On Wed, Dec 06, 2017 at 03:26:47PM +0100, Ricard Wanderlof wrote:
> On Wed, 6 Dec 2017, Mark Brown wrote:

> > That just sounds like a regulator?  I'd expect that just to be used as a
> > supply as normal.

> You mean as a DAPM widget?

Or via a device which uses it.

> >  What audio specific control would this device be provdiing?

> What it does provide is current sensing if the connected device draws too 
> much power, although it does not automatically shut off the connected 
> device if that is the case, so a small driver is required to shut down the 
> output in the case of overcurrent. There's also a requirement to be able 
> to read the overcurrent status. One approach is to implementet the whole 
> thing as an auxilliary device, with one ALSA control to control the power, 
> and a read only control to read the overcurrent status.

That does sound like an auxiliary device that's a regulator consumer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20171206/d715e41a/attachment.sig>


More information about the Alsa-devel mailing list