Re: Multiple codecs on the same DAI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 6 Dec 2017, Mark Brown wrote:

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

So essentially one would register this device as an auxiliary device, 
which would define a DAPM widget which in turn would be part of a DAPM 
route in the encompassing machine driver?

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux