summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tas2764.h
diff options
context:
space:
mode:
authorMartin Povišer <povik+lin@cutebit.org>2022-08-25 16:02:41 +0200
committerMark Brown <broonie@kernel.org>2022-08-25 18:00:00 +0100
commitaca86ec9a02a4d6099dbe23d1078faa005d58422 (patch)
tree7c38b17e2b2cf04642f509b97859255b2e1e9ae4 /sound/soc/codecs/tas2764.h
parentdae191fb957f82fbf570d13c060110eb278813ec (diff)
ASoC: tas2764: Export highpass filter setting
Expose a control for the setting of 'DC blocker' highpass filter in the playback path of TAS2764. Signed-off-by: Martin Povišer <povik+lin@cutebit.org> Link: https://lore.kernel.org/r/20220825140241.53963-6-povik+lin@cutebit.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas2764.h')
-rw-r--r--sound/soc/codecs/tas2764.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/tas2764.h b/sound/soc/codecs/tas2764.h
index 960b337ed0fc..168af772a898 100644
--- a/sound/soc/codecs/tas2764.h
+++ b/sound/soc/codecs/tas2764.h
@@ -33,6 +33,10 @@
#define TAS2764_VSENSE_POWER_EN 3
#define TAS2764_ISENSE_POWER_EN 4
+/* DC Blocker Control */
+#define TAS2764_DC_BLK0 TAS2764_REG(0x0, 0x04)
+#define TAS2764_DC_BLK0_HPF_FREQ_PB_SHIFT 0
+
/* Digital Volume Control */
#define TAS2764_DVC TAS2764_REG(0X0, 0x1a)
#define TAS2764_DVC_MAX 0xc9