summaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2022-11-09 12:13:17 +0300
committerMark Brown <broonie@kernel.org>2022-11-10 23:42:24 +0300
commitcf6946d95005add8437f874e0952ec4f28fe5c02 (patch)
treefe38d7ad922fc354d140783c0fc209dea16b24ba /sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h
parent1b435e405d63155d2391c27054cf98237d11d0a4 (diff)
downloadlinux-cf6946d95005add8437f874e0952ec4f28fe5c02.tar.xz
ASoC: Intel: sof_sdw_rt1316: add BQ params for the Dell models
The Dell SKU 0B00/0B01/0AFE/0AFF model needs the BQ params for the tweeter/woofer. Signed-off-by: Shuming Fan <shumingf@realtek.com> Reviewed-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com Link: https://lore.kernel.org/r/20221109091317.17240-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h')
-rw-r--r--sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h138
1 files changed, 138 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h b/sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h
index bb90a5922fd2..82230fbb5b05 100644
--- a/sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h
+++ b/sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h
@@ -9,6 +9,7 @@
#define SND_SOC_SOF_SDW_AMP_COEFF_H
#define RT1308_MAX_BQ_REG 480
+#define RT1316_MAX_BQ_REG 580
static const u8 dell_0a5d_bq_params[] = {
0xb0, 0xc5, 0x00, /* address: 0xc5b0; data: 0x00 */
@@ -159,4 +160,141 @@ static const u8 dell_0a5d_bq_params[] = {
0x50, 0xc5, 0x01,
};
+static const u8 dell_0b00_bq_params[] = {
+ 0x03, 0xc2, 0x00,
+ 0x04, 0xc2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