summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/max98396.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2022-06-24 13:47:11 +0300
committerMark Brown <broonie@kernel.org>2022-06-27 15:16:12 +0300
commitf42924b49bf7935d21e2f2e98fdc9aa8dd176699 (patch)
treed4c6c6dacf76d2d269c199643261c1a596de52c1 /sound/soc/codecs/max98396.h
parentc529fd620b842c926ccc8cea913886d802c30f16 (diff)
downloadlinux-f42924b49bf7935d21e2f2e98fdc9aa8dd176699.tar.xz
ASoC: max98396: Implement DSP speaker monitor
Allow the selection of the TDM slot that is used to send back speaker monitor data. The DT property adi,spkfb-slot-no can be used to configure this setting which defaults to 2. Signed-off-by: Daniel Mack <daniel@zonque.org> Link: https://lore.kernel.org/r/20220624104712.1934484-8-daniel@zonque.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max98396.h')
-rw-r--r--sound/soc/codecs/max98396.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98396.h b/sound/soc/codecs/max98396.h
index 8fa081f5d2d3..ff330ef61568 100644
--- a/sound/soc/codecs/max98396.h
+++ b/sound/soc/codecs/max98396.h
@@ -303,6 +303,7 @@ struct max98396_priv {
struct regulator *pvdd, *vbat;
unsigned int v_slot;
unsigned int i_slot;
+ unsigned int spkfb_slot;
unsigned int bypass_slot;
bool interleave_mode;
unsigned int ch_size;