public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ASoC: nau8822: add MCLK support
@ 2024-06-13  8:46 Andrejs Cainikovs
  2024-06-13  8:46 ` [PATCH v2 1/3] ASoC: nau8822: move nau8822_set_dai_sysclk() Andrejs Cainikovs
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Andrejs Cainikovs @ 2024-06-13  8:46 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai
  Cc: linux-sound, linux-kernel, Andrejs Cainikovs

From: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>

This change adds local MCLK handling, which would cover a case when a
reference audio clock is present in a system, but is not allowed to be
changed, see [1].

[1]: https://lore.kernel.org/all/ZfBdxrzX3EnPuGOn@ediswmail9.ad.cirrus.com/

v1:
  - https://lore.kernel.org/all/20240409121719.337709-1-andrejs.cainikovs@gmail.com/

v2:
  - Fixes the issue of unbalanced clock enable and disable which resulted
    in a negative clock reference count. This triggered "already disabled"
    warning when the system was suspended.

Andrejs Cainikovs (3):
  ASoC: nau8822: move nau8822_set_dai_sysclk()
  ASoC: nau8822: set NAU8822_REFIMP_80K only once
  ASoC: nau8822: add MCLK support

 sound/soc/codecs/nau8822.c | 76 +++++++++++++++++++++++++++++---------
 sound/soc/codecs/nau8822.h |  1 +
 2 files changed, 60 insertions(+), 17 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-06-23 17:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-13  8:46 [PATCH v2 0/3] ASoC: nau8822: add MCLK support Andrejs Cainikovs
2024-06-13  8:46 ` [PATCH v2 1/3] ASoC: nau8822: move nau8822_set_dai_sysclk() Andrejs Cainikovs
2024-06-13  8:46 ` [PATCH v2 2/3] ASoC: nau8822: set NAU8822_REFIMP_80K only once Andrejs Cainikovs
2024-06-13  8:46 ` [PATCH v2 3/3] ASoC: nau8822: add MCLK support Andrejs Cainikovs
2024-06-23 17:21 ` [PATCH v2 0/3] " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox