All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Jaroslav Kysela <perex@perex.cz>, Mark Brown <broonie@kernel.org>,
	Jack Yu <jack.yu@realtek.com>
Cc: "Oder Chiou" <oder_chiou@realtek.com>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"lars@metafoo.de" <lars@metafoo.de>,
	"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
	"Derek [方德義]" <derek.fang@realtek.com>,
	"Flove(HsinFu)" <flove@realtek.com>,
	"Shuming [范書銘]" <shumingf@realtek.com>,
	"bard.liao@intel.com" <bard.liao@intel.com>,
	"pierre-louis.bossart@intel.com" <pierre-louis.bossart@intel.com>
Subject: Re: [PATCH v2 2/3] ASoC: rt715: remove kcontrols which no longer be used
Date: Thu, 15 Apr 2021 16:35:14 -0500	[thread overview]
Message-ID: <5292be30-7e2d-c2f2-85ed-a1a609feb6c6@linux.intel.com> (raw)
In-Reply-To: <3102f11c-d2bc-c53e-ac68-60628b990515@linux.intel.com>



On 3/30/21 2:26 PM, Pierre-Louis Bossart wrote:
> 
> 
>>>> Using new kcontrols "Capture Switch" and "Capture Volume" instead,
>>>> remove kcontrols which no longer be used.
>>>
>>> Is this going to disrupt any UCM profiles?
>>
>> Yes (the rt715 prefix is from the SOF driver):
>>
>> # RT715 specific volume control settings
>>
>> BootSequence [
>>     cset "name='rt715 DMIC3 Boost' 2"
>>     cset "name='rt715 DMIC4 Boost' 2"
>>     cset "name='rt715 ADC 24 Mux' 3"
>>     cset "name='rt715 ADC 25 Mux' 4"
>>     cset "name='rt715 ADC 27 Capture Switch' 1"
>>     cset "name='rt715 ADC 07 Capture Switch' 1"
>>     cset "name='rt715 ADC 07 Capture Volume' 58"
>> ]
> 
> To be clearer, we wanted to change the UCM files to only try to 
> configure the 'old' controls when they are present. The 'new' controls 
> are aligned between RT715 and RT715-sdca.
> 
> There will be a minor inconvenience if an existing platform updates the 
> kernel without updating UCM files, but it's the only solution we found 
> in earlier discussions.
> 
> Distributions are typically faster with alsa-ucmconf updates than kernel 
> changes so that inconvenience is likely very limited (we support 4-5 
> Dell CML/TGL platforms w/ SoundWire)

Was there any sustained objection to this change? Mark and Jaroslav?

I would really like to fix the UCM files so that the mute and volume are 
handled at the codec driver level, and not at the SOF level as it's 
currently the case.

The existing solution really makes no sense, it was 'inspired' (in the 
copy-paste sense) by the PCH-DMIC handling for HDaudio platforms. In 
that case, it made sense to use SOF-level mute/volume because such 
controls don't exist in microphones.

With RT715 we need to use the controls in the codec driver, not the 
firmware.

  reply	other threads:[~2021-04-15 21:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29  6:54 [PATCH v2 2/3] ASoC: rt715: remove kcontrols which no longer be used Jack Yu
2021-03-30 17:09 ` Mark Brown
2021-03-30 17:23   ` Jaroslav Kysela
2021-03-30 19:26     ` Pierre-Louis Bossart
2021-04-15 21:35       ` Pierre-Louis Bossart [this message]
2021-04-16 13:07         ` Mark Brown
2021-04-16 15:36           ` Pierre-Louis Bossart
2021-04-16 13:40         ` Jaroslav Kysela
2021-04-16 15:58           ` Pierre-Louis Bossart
2021-04-16 18:34 ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5292be30-7e2d-c2f2-85ed-a1a609feb6c6@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=bard.liao@intel.com \
    --cc=broonie@kernel.org \
    --cc=derek.fang@realtek.com \
    --cc=flove@realtek.com \
    --cc=jack.yu@realtek.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=oder_chiou@realtek.com \
    --cc=perex@perex.cz \
    --cc=pierre-louis.bossart@intel.com \
    --cc=shumingf@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.