mbox series

[v2,0/7] Add features, fixes and laptops for CS35L41 HDA

Message ID 20240411110813.330483-1-sbinding@opensource.cirrus.com (mailing list archive)
Headers show
Series Add features, fixes and laptops for CS35L41 HDA | expand

Message

Stefan Binding April 11, 2024, 11:08 a.m. UTC
This chain adds a number of improvements for CS35L41, including a new
firmware loading feature, as well as some additional cleanup.

Patch 1 adds support for a new firmware tuning file which is used to set
special tuning parameters used by the firmware. The HP Omen laptop added
in patches 2 and 3 use such a feature.

Patch 4 changes the DSP1RX5/6 Source used by the firmware to depend on
the boost type. A similar change in the ASoC driver will be needed later.

Patches 5 and 6 are cleanup patches, with the first of those re-using
cs-amp-lib for calibration which as added for CS35L56 drivers, ensuring
that all laptops are using the correct calibration values.

Patch 7 fixes a small error in the CS35L41 Property table for the
Lenovo Legion slim 7 16ARHA7.

Changes since v1:
- Fixed print statements based on warnings from kernel test robot

Richard Fitzgerald (1):
  ALSA: hda: cs35l41: Remove redundant argument to
    cs35l41_request_firmware_file()

Stefan Binding (6):
  ALSA: hda: cs35l41: Set the max PCM Gain using tuning setting
  ALSA: hda: cs35l41: Support HP Omen models without _DSD
  ALSA: hda/realtek: Add quirks for HP Omen models using CS35L41
  ALSA: hda: cs35l41: Update DSP1RX5/6 Sources for DSP config
  ALSA: hda: cs35l41: Use shared cs-amp-lib to apply calibration
  ALSA: hda: cs35l41: Remove Speaker ID for Lenovo Legion slim 7 16ARHA7

 include/sound/cs35l41.h              |   5 +
 sound/pci/hda/Kconfig                |   2 +
 sound/pci/hda/cs35l41_hda.c          | 347 +++++++++++++++++++--------
 sound/pci/hda/cs35l41_hda.h          |   6 +
 sound/pci/hda/cs35l41_hda_property.c |   8 +-
 sound/pci/hda/patch_realtek.c        |   4 +
 6 files changed, 265 insertions(+), 107 deletions(-)

Comments

Takashi Iwai April 18, 2024, 6:43 a.m. UTC | #1
On Thu, 11 Apr 2024 13:08:06 +0200,
Stefan Binding wrote:
> 
> This chain adds a number of improvements for CS35L41, including a new
> firmware loading feature, as well as some additional cleanup.
> 
> Patch 1 adds support for a new firmware tuning file which is used to set
> special tuning parameters used by the firmware. The HP Omen laptop added
> in patches 2 and 3 use such a feature.
> 
> Patch 4 changes the DSP1RX5/6 Source used by the firmware to depend on
> the boost type. A similar change in the ASoC driver will be needed later.
> 
> Patches 5 and 6 are cleanup patches, with the first of those re-using
> cs-amp-lib for calibration which as added for CS35L56 drivers, ensuring
> that all laptops are using the correct calibration values.
> 
> Patch 7 fixes a small error in the CS35L41 Property table for the
> Lenovo Legion slim 7 16ARHA7.
> 
> Changes since v1:
> - Fixed print statements based on warnings from kernel test robot
> 
> Richard Fitzgerald (1):
>   ALSA: hda: cs35l41: Remove redundant argument to
>     cs35l41_request_firmware_file()
> 
> Stefan Binding (6):
>   ALSA: hda: cs35l41: Set the max PCM Gain using tuning setting
>   ALSA: hda: cs35l41: Support HP Omen models without _DSD
>   ALSA: hda/realtek: Add quirks for HP Omen models using CS35L41
>   ALSA: hda: cs35l41: Update DSP1RX5/6 Sources for DSP config
>   ALSA: hda: cs35l41: Use shared cs-amp-lib to apply calibration
>   ALSA: hda: cs35l41: Remove Speaker ID for Lenovo Legion slim 7 16ARHA7

Now applied to for-next branch.  Thanks.


Takashi