aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/max98095.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/max98095.h')
-rw-r--r--sound/soc/codecs/max98095.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98095.h b/sound/soc/codecs/max98095.h
index 5b22bc8dbede..891584a0eb03 100644
--- a/sound/soc/codecs/max98095.h
+++ b/sound/soc/codecs/max98095.h
@@ -250,6 +250,8 @@
250/* M98095_088_CFG_LEVEL */ 250/* M98095_088_CFG_LEVEL */
251 #define M98095_VSEN (1<<6) 251 #define M98095_VSEN (1<<6)
252 #define M98095_ZDEN (1<<5) 252 #define M98095_ZDEN (1<<5)
253 #define M98095_BQ2EN (1<<3)
254 #define M98095_BQ1EN (1<<2)
253 #define M98095_EQ2EN (1<<1) 255 #define M98095_EQ2EN (1<<1)
254 #define M98095_EQ1EN (1<<0) 256 #define M98095_EQ1EN (1<<0)
255 257
@@ -281,4 +283,17 @@
281 #define M98095_PWRSV8K (1<<1) 283 #define M98095_PWRSV8K (1<<1)
282 #define M98095_PWRSV (1<<0) 284 #define M98095_PWRSV (1<<0)
283 285
286#define M98095_COEFS_PER_BAND 5
287
288#define M98095_BYTE1(w) ((w >> 8) & 0xff)
289#define M98095_BYTE0(w) (w & 0xff)
290
291/* Equalizer filter coefficients */
292#define M98095_110_DAI1_EQ_BASE 0x10
293#define M98095_142_DAI2_EQ_BASE 0x42
294
295/* Biquad filter coefficients */
296#define M98095_174_DAI1_BQ_BASE 0x74
297#define M98095_17E_DAI2_BQ_BASE 0x7E
298
284#endif 299#endif