[PATCH v3 0/3] ASoC: wm8782: Allow higher audio rates

From: John Watts
Date: Sun Sep 17 2023 - 13:38:45 EST


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