summaryrefslogtreecommitdiff
path: root/include/sound/tas2781-tlv.h
diff options
context:
space:
mode:
authorShenghao Ding <13916275206@139.com>2023-06-18 15:28:16 +0300
committerMark Brown <broonie@kernel.org>2023-06-19 14:59:29 +0300
commit678f38eba1f2fe33ff700e85390ac98393e609ef (patch)
tree8bd4dc793b26f739bc4155e1d87ca1c628c98ccb /include/sound/tas2781-tlv.h
parent8fba13f02c85b90deeba65a398f55d4b43a79595 (diff)
downloadlinux-678f38eba1f2fe33ff700e85390ac98393e609ef.tar.xz
ASoC: tas2781: Add Header file for tas2781 driver
Create Header file for tas2781 driver. Signed-off-by: Shenghao Ding <13916275206@139.com> Link: https://lore.kernel.org/r/20230618122819.23143-1-13916275206@139.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/tas2781-tlv.h')
-rw-r--r--include/sound/tas2781-tlv.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sound/tas2781-tlv.h b/include/sound/tas2781-tlv.h
new file mode 100644
index 000000000000..4038dd421150
--- /dev/null
+++ b/include/sound/tas2781-tlv.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+//
+// ALSA SoC Texas Instruments TAS2781 Audio Smart Amplifier
+//
+// Copyright (C) 2022 - 2023 Texas Instruments Incorporated
+// https://www.ti.com
+//
+// The TAS2781 driver implements a flexible and configurable
+// algo coefficient setting for one, two, or even multiple
+// TAS2781 chips.
+//
+// Author: Shenghao Ding <shenghao-ding@ti.com>
+//
+
+#ifndef __TAS2781_TLV_H__
+#define __TAS2781_TLV_H__
+
+static const DECLARE_TLV_DB_SCALE(dvc_tlv, -10000, 100, 0);
+static const DECLARE_TLV_DB_SCALE(amp_vol_tlv, 1100, 50, 0);
+
+#endif