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

From: John Watts
Date: Mon Sep 18 2023 - 11:22:02 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.

v3 -> v4:
- Default value is specified in device tree documentation

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 | 7 +++
sound/soc/codecs/wm8782.c | 63 +++++++++++++++----
2 files changed, 57 insertions(+), 13 deletions(-)

--
2.42.0