Re: [PATCH alsa-ucm-conf 2/2] sof-soundwire: Add basic support for a 4x cs35l56 configuration

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

 



On Tue, Dec 05, 2023 at 09:25:27AM -0600, Pierre-Louis Bossart wrote:
> On 12/5/23 08:24, Charles Keepax wrote:
> > +	EnableSequence [
> > +		cset "name='AMP1 Speaker Switch' 1"
> > +		cset "name='AMP2 Speaker Switch' 1"
> > +		cset "name='AMP3 Speaker Switch' 1"
> > +		cset "name='AMP4 Speaker Switch' 1"
> > +	]
> > +
> > +	DisableSequence [
> > +		cset "name='AMP4 Speaker Switch' 0"
> > +		cset "name='AMP3 Speaker Switch' 0"
> > +		cset "name='AMP2 Speaker Switch' 0"
> > +		cset "name='AMP1 Speaker Switch' 0"
> > +	]
> 
> If we only need an on/off switch, I wonder if this can be made
> conditional, i.e. enable/disable a control if it exists. That would
> scale to various numbers of amplifiers without a need to add a 2-amp, 6
> or 8-amp configuration.

I think that is possible, would you lean towards modifying
HiFi.conf to only include a single file for cs35l56, or would you
lean more towards having each cs35l56-x.conf file include a
single base file?

Thanks,
Charles



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

  Powered by Linux