devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] ASoC: wm8782: Allow higher audio rates
@ 2023-09-17 17:37 John Watts
  2023-09-17 17:37 ` [PATCH v3 1/3] ASoC: wm8782: Constrain maximum audio rate at runtime John Watts
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: John Watts @ 2023-09-17 17:37 UTC (permalink / raw)
  To: alsa-devel
  Cc: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Jaroslav Kysela, Takashi Iwai, John Watts, patches,
	devicetree, linux-kernel

The wm8782 supports higher audio rates than just 48kHz. This is
configured by setting the FSAMPEN pin on the codec chip.

This patch series introduces the 'wlf,fsampen' device tree property
to indicate the pin status and control the maximum rate available
when using the codec.

v2 -> v3:
- Rate is now properly constrained using ALSA constraints

v1 -> v2:
- Switched from max-rate property to wlf,fsampen property
- Clarified property is optional, not required

John Watts (3):
  ASoC: wm8782: Constrain maximum audio rate at runtime
  ASoC: wm8782: Use wlf,fsampen device tree property
  ASoC: dt-bindings: wlf,wm8782: Add wlf,fsampen property

 .../devicetree/bindings/sound/wm8782.txt      |  5 ++
 sound/soc/codecs/wm8782.c                     | 63 +++++++++++++++----
 2 files changed, 55 insertions(+), 13 deletions(-)

-- 
2.42.0


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

end of thread, other threads:[~2023-09-18  8:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-17 17:37 [PATCH v3 0/3] ASoC: wm8782: Allow higher audio rates John Watts
2023-09-17 17:37 ` [PATCH v3 1/3] ASoC: wm8782: Constrain maximum audio rate at runtime John Watts
2023-09-18  8:31   ` Charles Keepax
2023-09-17 17:37 ` [PATCH v3 2/3] ASoC: wm8782: Use wlf,fsampen device tree property John Watts
2023-09-18  8:32   ` Charles Keepax
2023-09-17 17:37 ` [PATCH v3 3/3] ASoC: dt-bindings: wlf,wm8782: Add wlf,fsampen property John Watts
2023-09-17 17:46   ` John Watts
2023-09-18  8:35     ` Charles Keepax

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).