[PATCH alsa-ucm-conf 0/8] codecs/rt5640: Cleanup + HW volume control support

Hans de Goede hdegoede at redhat.com
Fri Feb 26 16:40:17 CET 2021


Hi All,

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

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

Patches 7 and 8 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.

Regards,

Hans


Hans de Goede (8):
  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: Use the new "aif:%d" part of the components string
  codecs/rt5640: Specify Playback/CaptureMasterElem for HW
    volume-control

 ucm2/bytcr-rt5640/HiFi.conf                   | 46 +++++++++++++++++
 ucm2/codecs/rt5640/DigitalMics.conf           | 18 ++++++-
 ucm2/codecs/rt5640/EnableSeq-AIF-unknown.conf |  7 +++
 ucm2/codecs/rt5640/EnableSeq-AIF1.conf        |  7 +++
 ucm2/codecs/rt5640/EnableSeq-AIF2.conf        |  7 +++
 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 +++++--
 12 files changed, 211 insertions(+), 51 deletions(-)
 create mode 100644 ucm2/codecs/rt5640/EnableSeq-AIF-unknown.conf
 create mode 100644 ucm2/codecs/rt5640/EnableSeq-AIF1.conf
 create mode 100644 ucm2/codecs/rt5640/EnableSeq-AIF2.conf

-- 
2.30.1



More information about the Alsa-devel mailing list