Skip to content

codecs/rt5640: Cleanup + HW volume control support

Hans de Goede alsa-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 3 repliesIn review
  2. v18 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7codecs/rt5640: Cleanup: unify Stereo / Mono ADC handlingucm2/codecs/rt5640/DigitalMics.conf ucm2/codecs/rt5640/EnableSeq.conf ucm2/codecs/rt5640/HeadsetMic.conf +2 more+13 -310 replies
2/7codecs/rt5640: Cleanup: Initially disable all inputs and outputsucm2/codecs/rt5640/EnableSeq.conf ucm2/codecs/rt5640/HeadPhones.conf ucm2/codecs/rt5640/IN1-InternalMic.conf +3 more+21 -70 replies
3/7codecs/rt5640: Cleanup: Move 'SPK MIX' setup to main EnableSequeneucm2/codecs/rt5640/EnableSeq.conf ucm2/codecs/rt5640/MonoSpeaker.conf ucm2/codecs/rt5640/Speaker.conf+4 -60 replies
4/7codecs/rt5640: Drop bogus 'DIG MIXL DAC L2 Switch' settingucm2/codecs/rt5640/EnableSeq.conf+0 -10 replies
5/7codecs/rt5640: Unify capture volume for AIF1 and AIF2 recording pathsucm2/codecs/rt5640/EnableSeq.conf+8 -40 replies
6/7codecs/rt5640: Add hardware volume-control supportucm2/codecs/rt5640/HeadPhones.conf ucm2/codecs/rt5640/HeadsetMic.conf ucm2/codecs/rt5640/IN1-InternalMic.conf +3 more+12 -00 replies
7/7codecs/rt5640: Specify Playback/CaptureMasterElem for HW volume-controlucm2/bytcr-rt5640/HiFi.conf ucm2/codecs/rt5640/DigitalMics.conf ucm2/codecs/rt5640/HeadPhones.conf +5 more+109 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH alsa-ucm-conf v2 0/7] codecs/rt5640: Cleanup + HW volume control support

Hi All,

Here is v2 of my patch series consisting of some codecs/rt5640 cleanups and addition of HW volume control support to the rt5640 .conf snippets.

This new version has been updated to deal with the
"[PATCH 3/5] ASoC: rt5640: Add emulated 'DAC1 Playback Switch' control" kernel-patch being dropped.

Note patch 7 depends on a new "aif:%d" part being added to the components string, the kernel patches for this are pending upstream in the "[PATCH resend 0/2] AsoC: rt5640/rt5651: Volume control fixes" patch-series.

As such patch 7 should probably not be merged until the kernel patches have landed, because theoretically the new component string part could change as part of the review of the kernel patches.

Patches 1-6 are ready to be merged now.

Regards,

Hans

Hans de Goede (7):
codecs/rt5640: Cleanup: unify Stereo / Mono ADC handling codecs/rt5640: Cleanup: Initially disable all inputs and outputs codecs/rt5640: Cleanup: Move 'SPK MIX' setup to main EnableSequene codecs/rt5640: Drop bogus 'DIG MIXL DAC L2 Switch' setting codecs/rt5640: Unify capture volume for AIF1 and AIF2 recording paths codecs/rt5640: Add hardware volume-control support codecs/rt5640: Specify Playback/CaptureMasterElem for HW
volume-control

 ucm2/bytcr-rt5640/HiFi.conf             | 21 +++++++++++
 ucm2/codecs/rt5640/DigitalMics.conf     | 18 ++++++++-
 ucm2/codecs/rt5640/EnableSeq.conf       | 50 ++++++++++++++++++++-----
 ucm2/codecs/rt5640/HeadPhones.conf      | 15 +++++++-
 ucm2/codecs/rt5640/HeadsetMic.conf      | 24 ++++++++----
 ucm2/codecs/rt5640/IN1-InternalMic.conf | 27 +++++++------
 ucm2/codecs/rt5640/IN3-InternalMic.conf | 27 +++++++------
 ucm2/codecs/rt5640/MonoSpeaker.conf     | 17 +++++++--
 ucm2/codecs/rt5640/Speaker.conf         | 17 +++++++--
 9 files changed, 167 insertions(+), 49 deletions(-)
Signature · 1 line
2.30.1