mbox series

[0/2] ALSA: hda: cs35l56: Handle speaker id GPIOs

Message ID 20230918095129.440-1-rf@opensource.cirrus.com (mailing list archive)
Headers show
Series ALSA: hda: cs35l56: Handle speaker id GPIOs | expand

Message

Richard Fitzgerald Sept. 18, 2023, 9:51 a.m. UTC
Some manufacturers use multiple sources of speakers. Motherboard
GPIOs are set to indicate which type of speaker is fitted so that
the correct tunings can be loaded. Patch #1 adds support for this
and patch #2 adds a KUnit test for the new code.

Richard Fitzgerald (2):
  ALSA: hda: cs35l56: Add support for speaker id
  ALSA: hda: cirrus_scodec: Add KUnit test

 MAINTAINERS                        |   1 +
 sound/pci/hda/Kconfig              |  17 ++
 sound/pci/hda/Makefile             |   4 +
 sound/pci/hda/cirrus_scodec.c      |  73 ++++++
 sound/pci/hda/cirrus_scodec.h      |  13 +
 sound/pci/hda/cirrus_scodec_test.c | 370 +++++++++++++++++++++++++++++
 sound/pci/hda/cs35l56_hda.c        |  24 +-
 7 files changed, 501 insertions(+), 1 deletion(-)
 create mode 100644 sound/pci/hda/cirrus_scodec.c
 create mode 100644 sound/pci/hda/cirrus_scodec.h
 create mode 100644 sound/pci/hda/cirrus_scodec_test.c

Comments

Takashi Iwai Sept. 18, 2023, 3:50 p.m. UTC | #1
On Mon, 18 Sep 2023 11:51:27 +0200,
Richard Fitzgerald wrote:
> 
> Some manufacturers use multiple sources of speakers. Motherboard
> GPIOs are set to indicate which type of speaker is fitted so that
> the correct tunings can be loaded. Patch #1 adds support for this
> and patch #2 adds a KUnit test for the new code.
> 
> Richard Fitzgerald (2):
>   ALSA: hda: cs35l56: Add support for speaker id
>   ALSA: hda: cirrus_scodec: Add KUnit test

Applied both patches to for-next branch now.


thanks,

Takashi