aboutsummaryrefslogtreecommitdiff
path: root/tas5825m-module/tas5825m.h
diff options
context:
space:
mode:
Diffstat (limited to 'tas5825m-module/tas5825m.h')
-rw-r--r--tas5825m-module/tas5825m.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/tas5825m-module/tas5825m.h b/tas5825m-module/tas5825m.h
new file mode 100644
index 0000000..11605d0
--- /dev/null
+++ b/tas5825m-module/tas5825m.h
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * tas5825.h - ALSA SoC Texas Instruments TAS5825M Audio Amplifier
+ *
+ * Copyright (C) 2020 Aurelien Jarno <aurelien@aurel32.net>
+ *
+ * Author: Aurelien Jarno <aurelien@aurel32.net>
+ */
+
+#ifndef __TAS5825M_H__
+#define __TAS5825M_H__
+
+#define TAS5825M_RATES (SNDRV_PCM_RATE_48000 | \
+ SNDRV_PCM_RATE_96000 | \
+ SNDRV_PCM_RATE_192000)
+#define TAS5825M_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
+ SNDRV_PCM_FMTBIT_S24_LE | \
+ SNDRV_PCM_FMTBIT_S32_LE)
+
+/* Register Address Map */
+#define TAS5825M_RESET_CTRL 0x00
+
+#endif /* __TAS5825M_H__ */
+