All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3]  Add Manual Mode Jack Detection for CS42L42 in HDA
@ 2022-05-04 16:12 ` Stefan Binding
  0 siblings, 0 replies; 13+ messages in thread
From: Stefan Binding @ 2022-05-04 16:12 UTC (permalink / raw)
  To: Mark Brown, Jaroslav Kysela, Takashi Iwai
  Cc: alsa-devel, linux-kernel, patches, Stefan Binding

CS42L42 supports automatic type detection, to determine headset type,
or headphones. However, automatic type detection does not always work
correctly. To improve detection accuracy, manual mode detection can be
run. This is already done in the ASoC version of the CS42L42 driver,
and this chain adds the same support into the HDA version.

In addition, to better align the ASoC and HDA drivers, the ASoC header
file has been moved into the general sound includes, which allows both
ASoC and HDA to have access to the header.
This improves the maintainability of the HDA driver, and makes it
easier to port fixes/features from CS42L42 ASoC to HDA.

Stefan Binding (3):
  ASoC: cs42l42: Move CS42L42 register descriptions to general include
  ALSA: hda/cs8409: Use general cs42l42 include in cs8409 hda driver
  ALSA: hda/cs8409: Support manual mode detection for CS42L42

 include/sound/cs42l42.h             | 810 +++++++++++++++++++++++++++
 sound/pci/hda/patch_cs8409-tables.c | 327 ++++++-----
 sound/pci/hda/patch_cs8409.c        | 275 ++++++---
 sound/pci/hda/patch_cs8409.h        |   9 +-
 sound/soc/codecs/cs42l42.h          | 826 +---------------------------
 5 files changed, 1167 insertions(+), 1080 deletions(-)
 create mode 100644 include/sound/cs42l42.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-05-09  8:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04 16:12 [PATCH v1 0/3] Add Manual Mode Jack Detection for CS42L42 in HDA Stefan Binding
2022-05-04 16:12 ` Stefan Binding
2022-05-04 16:12 ` [PATCH v1 1/3] ASoC: cs42l42: Move CS42L42 register descriptions to general include Stefan Binding
2022-05-04 16:12   ` Stefan Binding
2022-05-05 12:19   ` Mark Brown
2022-05-05 12:19     ` Mark Brown
2022-05-04 16:12 ` [PATCH v1 2/3] ALSA: hda/cs8409: Use general cs42l42 include in cs8409 hda driver Stefan Binding
2022-05-04 16:12   ` Stefan Binding
2022-05-04 16:12 ` [PATCH v1 3/3] ALSA: hda/cs8409: Support manual mode detection for CS42L42 Stefan Binding
2022-05-04 16:12   ` Stefan Binding
2022-05-05  3:59   ` Chris Chiu
2022-05-09  8:47 ` [PATCH v1 0/3] Add Manual Mode Jack Detection for CS42L42 in HDA Takashi Iwai
2022-05-09  8:47   ` Takashi Iwai

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.